#include <stdbool.h>
#include <stdint.h>
#include <pbl_arch_irq.h>
|
| #define | PBL_IRQ_PRIO_KERNEL CONFIG_KERNEL_IRQ_PRIO_KERNEL |
| | NVIC priority of the kernel's own interrupts (tick, context switch).
|
| |
| #define | PBL_IRQ_PRIO_MAX_SYSCALL CONFIG_KERNEL_IRQ_PRIO_MAX_SYSCALL |
| | Most urgent NVIC priority from which kernel calls are allowed.
|
| |
| #define | PBL_IRQN(line) ((pbl_irq_t)PBL_SOC_IRQN_##line) |
| | Number of a SoC interrupt line from soc_irqs.h.
|
| |
| #define | PBL_IRQ_ZERO_LATENCY (1U << 0) |
| | Flag for an ISR that runs above PBL_IRQ_PRIO_MAX_SYSCALL.
|
| |
| #define | PBL_IRQ_CONNECT(line, prio, isr, arg, flags) ARCH_IRQ_CONNECT(PBL_SOC_IRQN_##line, line##_IRQn, prio, isr, arg, flags) |
| | Bind a SoC interrupt line to a handler at build time.
|
| |
| #define | PBL_IRQ_DIRECT(line, prio, flags) ARCH_IRQ_DIRECT(PBL_SOC_IRQN_##line, line##_IRQn, prio, flags) |
| | Bind a SoC interrupt line to the handler body that follows the macro.
|
| |
|
| typedef uint16_t | pbl_irq_t |
| | Line of the SoC interrupt controller.
|
| |