Zephyr API 3.6.99
Loading...
Searching...
No Matches
Devicetree Interrupt Controller API

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 <zephyr/devicetree/interrupt_controller.h>

Value:
#define DT_DRV_INST(inst)
Node identifier for an instance of a DT_DRV_COMPAT compatible.
Definition devicetree.h:3623
#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 <zephyr/devicetree/interrupt_controller.h>

Value:
#define DT_IRQ_LEVEL(node_id)
Get the interrupt level for the node.
Definition devicetree.h:2409
#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:399

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