![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| #define BM_IRQ_DIRECT_CONNECT | ( | _irqn, | |
| _prio, | |||
| _handler, | |||
| _flags ) |
#include <bm_irq.h>
Connect an IRQ to a handler with the specified priority.
Macro that uses the Zephyr IRQ_DIRECT_CONNECT macro but remaps the priority to match the NVIC range. The specified _prio value corresponds directly to the NVIC priority.
A build-time assertion verifies that _prio is within the valid range.
| _irqn | IRQ number. |
| _prio | NVIC interrupt priority. |
| _handler | Interrupt handler function. |
| _flags | Flags passed to IRQ_DIRECT_CONNECT. |