pio_handler.h
Go to the documentation of this file.
1 
33 /*
34  * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
35  */
36 
37 #ifndef PIO_HANDLER_H_INCLUDED
38 #define PIO_HANDLER_H_INCLUDED
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 void pio_handler_process(Pio *p_pio, uint32_t ul_id);
45 void pio_handler_set_priority(Pio *p_pio, IRQn_Type ul_irqn, uint32_t ul_priority);
46 uint32_t pio_handler_set(Pio *p_pio, uint32_t ul_id, uint32_t ul_mask,
47  uint32_t ul_attr, void (*p_handler) (uint32_t, uint32_t));
48 uint32_t pio_handler_set_pin(uint32_t ul_pin, uint32_t ul_flag,
49  void (*p_handler) (uint32_t, uint32_t));
50 
51 #if (SAM3S || SAM4S || SAM4E)
52 void pio_capture_handler_set(void (*p_handler)(Pio *));
53 #endif
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* PIO_HANDLER_H_INCLUDED */
void pio_handler_process(Pio *p_pio, uint32_t ul_id)
Process an interrupt request on the given PIO controller.
Definition: pio_handler.c:79
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...
Definition: pio_handler.c:132
Pio hardware registers.
enum IRQn IRQn_Type
void pio_handler_set_priority(Pio *p_pio, IRQn_Type ul_irqn, uint32_t ul_priority)
Initialize PIO interrupt management logic.
Definition: pio_handler.c:274


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:04