Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
memory-attr-arm.h File Reference

Go to the source code of this file.

Macros

#define DT_MEM_ARM_MASK   DT_MEM_ARCH_ATTR_MASK
 
#define DT_MEM_ARM_GET(x)   ((x) & DT_MEM_ARM_MASK)
 
#define DT_MEM_ARM(x)   ((x) << DT_MEM_ARCH_ATTR_SHIFT)
 
#define ATTR_MPU_RAM   BIT(0)
 
#define ATTR_MPU_RAM_NOCACHE   BIT(1)
 
#define ATTR_MPU_FLASH   BIT(2)
 
#define ATTR_MPU_PPB   BIT(3)
 
#define ATTR_MPU_IO   BIT(4)
 
#define ATTR_MPU_EXTMEM   BIT(5)
 
#define DT_MEM_ARM_MPU_RAM   DT_MEM_ARM(ATTR_MPU_RAM)
 
#define DT_MEM_ARM_MPU_RAM_NOCACHE   DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)
 
#define DT_MEM_ARM_MPU_FLASH   DT_MEM_ARM(ATTR_MPU_FLASH)
 
#define DT_MEM_ARM_MPU_PPB   DT_MEM_ARM(ATTR_MPU_PPB)
 
#define DT_MEM_ARM_MPU_IO   DT_MEM_ARM(ATTR_MPU_IO)
 
#define DT_MEM_ARM_MPU_EXTMEM   DT_MEM_ARM(ATTR_MPU_EXTMEM)
 
#define DT_MEM_ARM_MPU_UNKNOWN   DT_MEM_ARCH_ATTR_UNKNOWN
 

Macro Definition Documentation

◆ ATTR_MPU_EXTMEM

#define ATTR_MPU_EXTMEM   BIT(5)

◆ ATTR_MPU_FLASH

#define ATTR_MPU_FLASH   BIT(2)

◆ ATTR_MPU_IO

#define ATTR_MPU_IO   BIT(4)

◆ ATTR_MPU_PPB

#define ATTR_MPU_PPB   BIT(3)

◆ ATTR_MPU_RAM

#define ATTR_MPU_RAM   BIT(0)

◆ ATTR_MPU_RAM_NOCACHE

#define ATTR_MPU_RAM_NOCACHE   BIT(1)

◆ DT_MEM_ARM

#define DT_MEM_ARM (   x)    ((x) << DT_MEM_ARCH_ATTR_SHIFT)

◆ DT_MEM_ARM_GET

#define DT_MEM_ARM_GET (   x)    ((x) & DT_MEM_ARM_MASK)

◆ DT_MEM_ARM_MASK

#define DT_MEM_ARM_MASK   DT_MEM_ARCH_ATTR_MASK

◆ DT_MEM_ARM_MPU_EXTMEM

#define DT_MEM_ARM_MPU_EXTMEM   DT_MEM_ARM(ATTR_MPU_EXTMEM)

◆ DT_MEM_ARM_MPU_FLASH

#define DT_MEM_ARM_MPU_FLASH   DT_MEM_ARM(ATTR_MPU_FLASH)

◆ DT_MEM_ARM_MPU_IO

#define DT_MEM_ARM_MPU_IO   DT_MEM_ARM(ATTR_MPU_IO)

◆ DT_MEM_ARM_MPU_PPB

#define DT_MEM_ARM_MPU_PPB   DT_MEM_ARM(ATTR_MPU_PPB)

◆ DT_MEM_ARM_MPU_RAM

#define DT_MEM_ARM_MPU_RAM   DT_MEM_ARM(ATTR_MPU_RAM)

◆ DT_MEM_ARM_MPU_RAM_NOCACHE

#define DT_MEM_ARM_MPU_RAM_NOCACHE   DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)

◆ DT_MEM_ARM_MPU_UNKNOWN

#define DT_MEM_ARM_MPU_UNKNOWN   DT_MEM_ARCH_ATTR_UNKNOWN