|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MEM_ATTR_ARM_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_MEM_ATTR_ARM_H_
21#define DT_MEM_ARM_MASK DT_MEM_ARCH_ATTR_MASK
22#define DT_MEM_ARM_GET(x) ((x) & DT_MEM_ARM_MASK)
23#define DT_MEM_ARM(x) ((x) << DT_MEM_ARCH_ATTR_SHIFT)
25#define ATTR_MPU_RAM BIT(0)
26#define ATTR_MPU_RAM_NOCACHE BIT(1)
27#define ATTR_MPU_FLASH BIT(2)
28#define ATTR_MPU_PPB BIT(3)
29#define ATTR_MPU_IO BIT(4)
30#define ATTR_MPU_EXTMEM BIT(5)
32#define DT_MEM_ARM_MPU_RAM DT_MEM_ARM(ATTR_MPU_RAM)
33#define DT_MEM_ARM_MPU_RAM_NOCACHE DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)
34#define DT_MEM_ARM_MPU_FLASH DT_MEM_ARM(ATTR_MPU_FLASH)
35#define DT_MEM_ARM_MPU_PPB DT_MEM_ARM(ATTR_MPU_PPB)
36#define DT_MEM_ARM_MPU_IO DT_MEM_ARM(ATTR_MPU_IO)
37#define DT_MEM_ARM_MPU_EXTMEM DT_MEM_ARM(ATTR_MPU_EXTMEM)
38#define DT_MEM_ARM_MPU_UNKNOWN DT_MEM_ARCH_ATTR_UNKNOWN