79 extern void PIO_InitializeInterrupts(uint32_t dwPriority);
82 void (*handler)(
const Pin *,
void *arg),
void *arg);
85 void (*handler)(
const Pin *,
void *arg),
void *arg);
93 static inline void PIO_EnableIt(
const Pin *pPin)
96 pPin->pio->
PIO_IER = pPin->mask;
104 static inline void PIO_DisableIt(
const Pin *pPin)
106 pPin->pio->
PIO_IDR = pPin->mask;
114 static inline bool PIO_ItIsActive(
const Pin *pPin)
116 return ((pPin->pio->
PIO_IMR & pPin->mask) != 0);
119 extern void PIO_IT_InterruptHandler(
void);
121 extern void PioInterruptHandler(uint32_t
id,
Pio *pPio);
__O uint32_t PIO_IER
(Pio Offset: 0x0040) Interrupt Enable Register
Definition: component_pio.h:58
__I uint32_t PIO_IMR
(Pio Offset: 0x0048) Interrupt Mask Register
Definition: component_pio.h:60
__O uint32_t PIO_IDR
(Pio Offset: 0x0044) Interrupt Disable Register
Definition: component_pio.h:59
rtems_status_code PIO_RemoveIt(const Pin *pPin, void(*handler)(const Pin *, void *arg), void *arg)
Definition: pio_it.c:299
rtems_status_code
Classic API Status.
Definition: status.h:43
Pio hardware registers.
Definition: component_pio.h:41
void PIO_CaptureHandler(void)
The PIO_CaptureHandler must be called by the PIO Capture Interrupt Service Routine with the correspon...
Definition: pio_capture.c:113
__I uint32_t PIO_ISR
(Pio Offset: 0x004C) Interrupt Status Register
Definition: component_pio.h:61
void PIO_ConfigureIt(const Pin *pPin, void(*handler)(const Pin *, void *arg), void *arg)
Definition: pio_it.c:264