37 #ifndef PIO_HANDLER_H_INCLUDED 38 #define PIO_HANDLER_H_INCLUDED 47 uint32_t ul_attr,
void (*p_handler) (uint32_t, uint32_t));
49 void (*p_handler) (uint32_t, uint32_t));
51 #if (SAM3S || SAM4S || SAM4E) 52 void pio_capture_handler_set(
void (*p_handler)(
Pio *));
void pio_handler_process(Pio *p_pio, uint32_t ul_id)
Process an interrupt request on the given PIO controller.
uint32_t pio_handler_set_pin(uint32_t ul_pin, uint32_t ul_flag, void(*p_handler)(uint32_t, uint32_t))
uint32_t pio_handler_set(Pio *p_pio, uint32_t ul_id, uint32_t ul_mask, uint32_t ul_attr, void(*p_handler)(uint32_t, uint32_t))
Set an interrupt handler for the provided pins. The provided handler will be called with the triggeri...
void pio_handler_set_priority(Pio *p_pio, IRQn_Type ul_irqn, uint32_t ul_priority)
Initialize PIO interrupt management logic.