![]() |
MAX32650 Peripheral Driver API
Peripheral Driver API for the MAX32650
|
Functions | |
| void | MXC_NVIC_SetVector (IRQn_Type irqn, void(*irq_callback)(void)) |
| void | NVIC_SetRAM (void) |
| uint32_t | MXC_NVIC_GetVector (IRQn_Type IRQn) |
functions handling the nvic table.
| uint32_t MXC_NVIC_GetVector | ( | IRQn_Type | IRQn | ) |
Get Interrupt Vector.
Reads an interrupt vector from interrupt vector table. The interrupt number can be positive to specify a device specific interrupt, or negative to specify a processor exception.
| [in] | IRQn | Interrupt number. |
| void MXC_NVIC_SetVector | ( | IRQn_Type | irqn, |
| void(*)(void) | irq_callback | ||
| ) |
Set an IRQ hander callback function. If the IRQ table is in flash, this will copy it to RAM and set NVIC to RAM based table.
| irqn | ARM external IRQ number |
| irq_callback | Function to be called at IRQ context |