79extern void PIO_InitializeInterrupts(uint32_t dwPriority);
82 void (*handler)(
const Pin *,
void *arg),
void *arg);
85 void (*handler)(
const Pin *,
void *arg),
void *arg);
93static inline void PIO_EnableIt(
const Pin *pPin)
96 pPin->pio->
PIO_IER = pPin->mask;
104static inline void PIO_DisableIt(
const Pin *pPin)
106 pPin->pio->
PIO_IDR = pPin->mask;
114static inline bool PIO_ItIsActive(
const Pin *pPin)
116 return ((pPin->pio->
PIO_IMR & pPin->mask) != 0);
119extern void PIO_IT_InterruptHandler(
void);
121extern void PioInterruptHandler(uint32_t
id,
Pio *pPio);
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
void PIO_ConfigureIt(const Pin *pPin, void(*handler)(const Pin *, void *arg), void *arg)
Definition: pio_it.c:264
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
rtems_status_code PIO_RemoveIt(const Pin *pPin, void(*handler)(const Pin *, void *arg), void *arg)
Definition: pio_it.c:299
This header file defines the RTEMS Classic API.
Pio hardware registers.
Definition: component_pio.h:41
__I uint32_t PIO_ISR
(Pio Offset: 0x004C) Interrupt Status Register
Definition: component_pio.h:61
__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