Zephyr API Documentation
4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wuc.h
Go to the documentation of this file.
1
5
6
/*
7
* Copyright 2026 NXP
8
*
9
* SPDX-License-Identifier: Apache-2.0
10
*/
11
12
#ifndef ZEPHYR_INCLUDE_DEVICETREE_WUC_H_
13
#define ZEPHYR_INCLUDE_DEVICETREE_WUC_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
25
51
#define DT_WUC_BY_IDX(node_id, idx) DT_PHANDLE_BY_IDX(node_id, wakeup_ctrls, idx)
52
60
#define DT_WUC(node_id) DT_WUC_BY_IDX(node_id, 0)
61
91
#define DT_WUC_CELL_BY_IDX(node_id, idx, cell) DT_PHA_BY_IDX(node_id, wakeup_ctrls, idx, cell)
92
100
#define DT_WUC_CELL(node_id, cell) DT_WUC_CELL_BY_IDX(node_id, 0, cell)
101
112
#define DT_INST_WUC_BY_IDX(inst, idx) DT_WUC_BY_IDX(DT_DRV_INST(inst), idx)
113
121
#define DT_INST_WUC(inst) DT_INST_WUC_BY_IDX(inst, 0)
122
132
#define DT_INST_WUC_CELL_BY_IDX(inst, idx, cell) DT_WUC_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell)
133
140
#define DT_INST_WUC_CELL(inst, cell) DT_INST_WUC_CELL_BY_IDX(inst, 0, cell)
141
173
#define DT_WUC_ID_BY_IDX(node_id, idx) DT_PHA_BY_IDX(node_id, wakeup_ctrls, idx, id)
174
181
#define DT_WUC_ID(node_id) DT_WUC_ID_BY_IDX(node_id, 0)
182
191
#define DT_INST_WUC_ID_BY_IDX(inst, idx) DT_WUC_ID_BY_IDX(DT_DRV_INST(inst), idx)
192
199
#define DT_INST_WUC_ID(inst) DT_INST_WUC_ID_BY_IDX(inst, 0)
200
204
205
#ifdef __cplusplus
206
}
207
#endif
208
209
#endif
/* ZEPHYR_INCLUDE_DEVICETREE_WUC_H_ */
zephyr
devicetree
wuc.h
Generated on
for Zephyr API Documentation by
1.15.0