Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Devicetree Interrupt Controller API

Topics

 Arm GIC interrupt controller
 Devicetree macros for the Arm Generic Interrupt Controller (GIC).
 Espressif ESP32 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32.
 Espressif ESP32-C2 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-C2.
 Espressif ESP32-C3 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-C3.
 Espressif ESP32-C5 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-C5.
 Espressif ESP32-C6 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-C6.
 Espressif ESP32-H2 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-H2.
 Espressif ESP32-P4 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-P4.
 Espressif ESP32-S2 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-S2.
 Espressif ESP32-S3 interrupt allocator
 Devicetree interrupt source numbers for the Espressif ESP32-S3.
 ITE IT51XXX interrupt controller
 Devicetree macros for the ITE IT51XXX interrupt controller (INTC).
 ITE IT51XXX wake-up controller
 Devicetree macros for the ITE IT51XXX Wake-Up Controller (WUC).
 ITE IT8XXX2 interrupt controller
 Devicetree macros for the ITE IT8XXX2 interrupt controller (INTC).
 ITE IT8XXX2 wake-up controller
 Devicetree macros for the ITE IT8XXX2 Wake-Up Controller (WUC).
 Infineon XMC4xxx interrupt controller
 Devicetree macros for the Infineon XMC4xxx interrupt controller.
 Intel I/O APIC interrupt controller
 Devicetree flags for the Intel I/O APIC interrupt controller.
 Microchip XEC ECIA interrupt controller
 Devicetree macros for the Microchip XEC ECIA interrupt aggregator.
 OpenISA RV32M1 INTMUX
 Devicetree macros for the OpenISA RV32M1 interrupt multiplexer (INTMUX).
 Realtek RTS5817 interrupt sources
 Devicetree interrupt source numbers for the Realtek RTS5817.
 TI VIM interrupt controller
 Devicetree flags for the Texas Instruments Vectored Interrupt Manager (VIM).

Macros

#define DT_INTC_GET_AGGREGATOR_LEVEL(node_id)
 Get the aggregator level of an interrupt controller.
#define DT_INST_INTC_GET_AGGREGATOR_LEVEL(inst)
 Get the aggregator level of a DT_DRV_COMPAT interrupt controller.

Detailed Description

Macro Definition Documentation

◆ DT_INST_INTC_GET_AGGREGATOR_LEVEL

#define DT_INST_INTC_GET_AGGREGATOR_LEVEL ( inst)

#include <interrupt_controller.h>

Value:
#define DT_DRV_INST(inst)
Node identifier for an instance of a DT_DRV_COMPAT compatible.
Definition devicetree.h:4333
#define DT_INTC_GET_AGGREGATOR_LEVEL(node_id)
Get the aggregator level of an interrupt controller.
Definition interrupt_controller.h:38

Get the aggregator level of a DT_DRV_COMPAT interrupt controller.

Note
Aggregator level is equivalent to IRQ_LEVEL + 1 (a 2nd level aggregator has Zephyr level 1 IRQ encoding)
Parameters
instinstance of an interrupt controller
Returns
Level of the interrupt controller

◆ DT_INTC_GET_AGGREGATOR_LEVEL

#define DT_INTC_GET_AGGREGATOR_LEVEL ( node_id)

#include <interrupt_controller.h>

Value:
#define DT_IRQ_LEVEL(node_id)
Get the interrupt level for the node.
Definition devicetree.h:2854
#define UTIL_INC(x)
UTIL_INC(x) for an integer literal x from 0 to 4095 expands to an integer literal whose value is x+1.
Definition util_macro.h:476

Get the aggregator level of an interrupt controller.

Note
Aggregator level is equivalent to IRQ_LEVEL + 1 (a 2nd level aggregator has Zephyr level 1 IRQ encoding)
Parameters
node_idnode identifier of an interrupt controller
Returns
Level of the interrupt controller