12#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_EIRQ_NXP_S32_H_
13#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_EIRQ_NXP_S32_H_
eirq_nxp_s32_trigger
NXP SIUL2 EIRQ pin activation type.
Definition intc_eirq_nxp_s32.h:21
@ EIRQ_NXP_S32_RISING_EDGE
Interrupt triggered on rising edge.
Definition intc_eirq_nxp_s32.h:23
@ EIRQ_NXP_S32_FALLING_EDGE
Interrupt triggered on falling edge.
Definition intc_eirq_nxp_s32.h:25
@ EIRQ_NXP_S32_BOTH_EDGES
Interrupt triggered on either edge.
Definition intc_eirq_nxp_s32.h:27
int eirq_nxp_s32_set_callback(const struct device *dev, uint8_t irq, uint8_t pin, eirq_nxp_s32_callback_t cb, void *arg)
Set callback for an interrupt associated with a given pin.
void(* eirq_nxp_s32_callback_t)(uint8_t pin, void *arg)
Driver for External interrupt/event controller in NXP S32 MCUs.
Definition intc_eirq_nxp_s32.h:16
void eirq_nxp_s32_enable_interrupt(const struct device *dev, uint8_t irq, enum eirq_nxp_s32_trigger trigger)
Enable interrupt on a given trigger event.
void eirq_nxp_s32_unset_callback(const struct device *dev, uint8_t irq)
Unset interrupt callback.
void eirq_nxp_s32_disable_interrupt(const struct device *dev, uint8_t irq)
Disable interrupt.
uint32_t eirq_nxp_s32_get_pending(const struct device *dev)
Get pending interrupts.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:403