![]() |
External interrupt glue code. More...
Macros | |
| #define | EXT_VERSION 0 |
Functions | |
| void | vexExtSet (ioportid_t port, uint16_t channel, uint32_t mode, extcallback_t cb) |
| Configure GPIO pin to be external interrupt source. More... | |
| void | vexExtIrqInit () |
| Initialise external interrupts. More... | |
External interrupt glue code.
| #define EXT_VERSION 0 |
| void vexExtSet | ( | ioportid_t | port, |
| uint16_t | channel, | ||
| uint32_t | mode, | ||
| extcallback_t | cb | ||
| ) |
Configure GPIO pin to be external interrupt source.
| [in] | port | The digital port to configure |
| [in] | channel | The ext irq channel to configure |
| [in] | mode | The ext irq mode |
| [in] | cb | A callback to be called when the irq fires |
| void vexExtIrqInit | ( | void | ) |
Initialise external interrupts.