Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
imx_rdc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018, Diego Sueiro
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
9
10
#define A7_DOMAIN_ID 0
11
#define A9_DOMAIN_ID 0
12
#define M4_DOMAIN_ID 1
13
14
#define RDC_DOMAIN_PERM_NONE (0x0)
15
#define RDC_DOMAIN_PERM_W (0x1)
16
#define RDC_DOMAIN_PERM_R (0x2)
17
#define RDC_DOMAIN_PERM_RW (RDC_DOMAIN_PERM_W|RDC_DOMAIN_PERM_R)
18
19
#define RDC_DOMAIN_PERM(domain, perm) (perm << (domain * 2))
20
21
#define RDC_DT_VAL(nodelabel) DT_PROP(DT_NODELABEL(nodelabel), rdc)
22
23
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_ */
include
dt-bindings
rdc
imx_rdc.h
Generated on Sun Oct 9 2022 09:21:56 for Zephyr API Documentation by
1.9.4