12#ifndef ZEPHYR_INCLUDE_DRIVERS_INTERRUPT_CONTROLLER_INTC_NXP_GINT_H_
13#define ZEPHYR_INCLUDE_DRIVERS_INTERRUPT_CONTROLLER_INTC_NXP_GINT_H_
bool nxp_gint_is_pending(const struct device *dev)
Check if GINT interrupt is pending.
nxp_gint_trigger_type
GINT trigger types.
Definition intc_nxp_gint.h:25
@ NXP_GINT_TRIG_EDGE
Edge triggered.
Definition intc_nxp_gint.h:27
@ NXP_GINT_TRIG_LEVEL
Level triggered.
Definition intc_nxp_gint.h:29
int nxp_gint_enable_pin(const struct device *dev, uint8_t port, uint8_t pin, nxp_gint_polarity_type polarity)
Enable a pin for GINT.
int nxp_gint_clear_pending(const struct device *dev)
Clear GINT interrupt pending status.
int nxp_gint_configure_group(const struct device *dev, const struct nxp_gint_group_config *config)
Configure GINT settings.
int nxp_gint_disable_pin(const struct device *dev, uint8_t port, uint8_t pin)
Disable a pin for GINT.
int nxp_gint_register_callback(const struct device *dev, nxp_gint_callback_t callback, void *user_data)
Register GINT callback.
void(* nxp_gint_callback_t)(const struct device *dev, void *user_data)
GINT callback function type.
Definition intc_nxp_gint.h:68
nxp_gint_combination_type
GINT combination logic.
Definition intc_nxp_gint.h:35
@ NXP_GINT_COMB_OR
OR logic - any enabled pin triggers interrupt.
Definition intc_nxp_gint.h:37
@ NXP_GINT_COMB_AND
AND logic - all enabled pins must trigger interrupt.
Definition intc_nxp_gint.h:39
nxp_gint_polarity_type
GINT pin polarity.
Definition intc_nxp_gint.h:45
@ NXP_GINT_POL_HIGH
Active HIGH.
Definition intc_nxp_gint.h:49
@ NXP_GINT_POL_LOW
Active LOW.
Definition intc_nxp_gint.h:47
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:513
const void * config
Address of device instance config information.
Definition device.h:517
GINT group configuration.
Definition intc_nxp_gint.h:55
nxp_gint_trigger_type trigger
Trigger type (edge or level).
Definition intc_nxp_gint.h:57
nxp_gint_combination_type combination
Combination logic (OR or AND).
Definition intc_nxp_gint.h:59