|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MEM_ATTR_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_MEM_ATTR_H_
16#define DT_MEM_ATTR_MASK GENMASK(15, 0)
17#define DT_MEM_ATTR_GET(x) ((x) & DT_MEM_ATTR_MASK)
18#define DT_MEM_ATTR_SHIFT (0)
20#define DT_MEM_CACHEABLE BIT(0)
21#define DT_MEM_NON_VOLATILE BIT(1)
22#define DT_MEM_OOO BIT(2)
23#define DT_MEM_DMA BIT(3)
24#define DT_MEM_UNKNOWN BIT(15)
33#define DT_MEM_SW_ATTR_MASK GENMASK(19, 16)
34#define DT_MEM_SW_ATTR_GET(x) ((x) & DT_MEM_SW_ATTR_MASK)
35#define DT_MEM_SW_ATTR_SHIFT (16)
36#define DT_MEM_SW_ATTR_UNKNOWN BIT(19)
46#define DT_MEM_ARCH_ATTR_MASK GENMASK(31, 20)
47#define DT_MEM_ARCH_ATTR_GET(x) ((x) & DT_MEM_ARCH_ATTR_MASK)
48#define DT_MEM_ARCH_ATTR_SHIFT (20)
49#define DT_MEM_ARCH_ATTR_UNKNOWN BIT(31)