| APM:Libraries
    | 
Go to the source code of this file.
| Classes | |
| struct | exti_channel | 
| Macros | |
| #define | NUM_IRQ (sizeof(exti_channels)/sizeof(exti_channel)) | 
| Typedefs | |
| typedef struct exti_channel | exti_channel | 
| Functions | |
| void | exti_init () | 
| static EXTITrigger_TypeDef | get_exti_mode (exti_trigger_mode mode) | 
| void | exti_attach_interrupt (afio_exti_num num, afio_exti_port port, Handler handler, exti_trigger_mode mode) | 
| Register a handler to run upon external interrupt.  More... | |
| void | exti_attach_interrupt_pri (afio_exti_num num, afio_exti_port port, Handler handler, exti_trigger_mode mode, uint8_t priority) | 
| void | exti_detach_interrupt (afio_exti_num num) | 
| Unregister an external interrupt handler.  More... | |
| void | exti_enable_interrupt (afio_exti_num num, bool e) | 
| static void | exti_serv (uint32_t extline, uint8_t num) | 
| void | EXTI0_IRQHandler (void) | 
| void | EXTI1_IRQHandler (void) | 
| void | EXTI2_IRQHandler (void) | 
| void | EXTI3_IRQHandler (void) | 
| void | EXTI4_IRQHandler (void) | 
| void | EXTI9_5_IRQHandler (void) | 
| void | EXTI15_10_IRQHandler (void) | 
| Variables | |
| static const exti_channel | exti_channels [] | 
| static Handler handlers [NUM_IRQ] | IN_CCM | 
| #define NUM_IRQ (sizeof(exti_channels)/sizeof(exti_channel)) | 
| typedef struct exti_channel exti_channel | 
| void EXTI0_IRQHandler | ( | void | ) | 
Definition at line 201 of file exti.c.
Referenced by exti_clear_pending_bit().
| void EXTI15_10_IRQHandler | ( | void | ) | 
Definition at line 235 of file exti.c.
Referenced by exti_clear_pending_bit().
| void EXTI1_IRQHandler | ( | void | ) | 
Definition at line 206 of file exti.c.
Referenced by exti_clear_pending_bit().
| void EXTI2_IRQHandler | ( | void | ) | 
Definition at line 211 of file exti.c.
Referenced by exti_clear_pending_bit().
| void EXTI3_IRQHandler | ( | void | ) | 
Definition at line 216 of file exti.c.
Referenced by exti_clear_pending_bit().
| void EXTI4_IRQHandler | ( | void | ) | 
Definition at line 221 of file exti.c.
Referenced by exti_clear_pending_bit().
| void EXTI9_5_IRQHandler | ( | void | ) | 
Definition at line 226 of file exti.c.
Referenced by exti_clear_pending_bit().
| void exti_attach_interrupt | ( | afio_exti_num | num, | 
| afio_exti_port | port, | ||
| Handler | handler, | ||
| exti_trigger_mode | mode | ||
| ) | 
Register a handler to run upon external interrupt.
This function assumes that the interrupt request corresponding to the given external interrupt is masked.
| num | External interrupt line number. | 
| port | Port to use as source input for external interrupt. | 
| handler | Function handler to execute when interrupt is triggered. | 
| mode | Type of transition to trigger on, one of: EXTI_RISING, EXTI_FALLING, EXTI_RISING_FALLING. | 
Definition at line 65 of file exti.c.
| void exti_attach_interrupt_pri | ( | afio_exti_num | num, | 
| afio_exti_port | port, | ||
| Handler | handler, | ||
| exti_trigger_mode | mode, | ||
| uint8_t | priority | ||
| ) | 
Definition at line 103 of file exti.c.
Referenced by F4Light::GPIO::_attach_interrupt().
| void exti_detach_interrupt | ( | afio_exti_num | num | ) | 
Unregister an external interrupt handler.
| num | Number of the external interrupt line to disable. | 
Definition at line 143 of file exti.c.
Referenced by F4Light::GPIO::detach_interrupt().
| void exti_enable_interrupt | ( | afio_exti_num | num, | 
| bool | e | ||
| ) | 
Definition at line 164 of file exti.c.
Referenced by F4Light::GPIO::enable_interrupt().
| void exti_init | ( | ) | 
Definition at line 46 of file exti.c.
Referenced by setupNVIC().
| 
 | static | 
Definition at line 178 of file exti.c.
Referenced by EXTI0_IRQHandler(), EXTI15_10_IRQHandler(), EXTI1_IRQHandler(), EXTI2_IRQHandler(), EXTI3_IRQHandler(), EXTI4_IRQHandler(), and EXTI9_5_IRQHandler().
| 
 | inlinestatic | 
Definition at line 51 of file exti.c.
Referenced by exti_attach_interrupt(), and exti_attach_interrupt_pri().
| 
 | static | 
 1.8.13
 1.8.13