Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
interrupt_controller.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Meta
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12#ifndef ZEPHYR_INCLUDE_DEVICETREE_INTERRUPT_CONTROLLER_H_
13#define ZEPHYR_INCLUDE_DEVICETREE_INTERRUPT_CONTROLLER_H_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include <zephyr/devicetree.h>
21
38#define DT_INTC_GET_AGGREGATOR_LEVEL(node_id) UTIL_INC(DT_IRQ_LEVEL(node_id))
39
50#define DT_INST_INTC_GET_AGGREGATOR_LEVEL(inst) DT_INTC_GET_AGGREGATOR_LEVEL(DT_DRV_INST(inst))
51
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* ZEPHYR_INCLUDE_DEVICETREE_INTERRUPT_CONTROLLER_H_ */
Devicetree main header.
Macro utilities.