Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
eic_config_params Struct Reference

Parameters used to configure a Microchip EIC line for a GPIO pin. More...

#include <zephyr/drivers/interrupt_controller/intc_mchp_eic_g1.h>

Data Fields

enum mchp_eic_trigger trig_type
 Trigger type (edge/level) for the EIC line.
uint8_t pin_num
 GPIO pin number within the port.
uint8_t port_id
 GPIO port identifier.
bool debounce
 Enable/disable input debouncing for this line.
void * gpio_data
 Pointer to GPIO driver/user context passed back in the callback.
port_group_registers_t * port_addr
 Base address of the GPIO port registers.
mchp_eic_callback_t eic_line_callback
 Callback invoked from EIC ISR to notify the GPIO layer.

Detailed Description

Parameters used to configure a Microchip EIC line for a GPIO pin.

Field Documentation

◆ debounce

bool eic_config_params::debounce

Enable/disable input debouncing for this line.

◆ eic_line_callback

mchp_eic_callback_t eic_config_params::eic_line_callback

Callback invoked from EIC ISR to notify the GPIO layer.

◆ gpio_data

void* eic_config_params::gpio_data

Pointer to GPIO driver/user context passed back in the callback.

◆ pin_num

uint8_t eic_config_params::pin_num

GPIO pin number within the port.

◆ port_addr

port_group_registers_t* eic_config_params::port_addr

Base address of the GPIO port registers.

◆ port_id

uint8_t eic_config_params::port_id

GPIO port identifier.

◆ trig_type

enum mchp_eic_trigger eic_config_params::trig_type

Trigger type (edge/level) for the EIC line.


The documentation for this struct was generated from the following file: