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

Go to the source code of this file.

Macros

#define DT_MEM_ATTR_MASK   GENMASK(15, 0)
 
#define DT_MEM_ATTR_GET(x)
 
#define DT_MEM_ATTR_SHIFT   (0)
 
#define DT_MEM_CACHEABLE   BIT(0) /* cacheable */
 
#define DT_MEM_NON_VOLATILE   BIT(1) /* non-volatile */
 
#define DT_MEM_OOO   BIT(2) /* out-of-order */
 
#define DT_MEM_DMA   BIT(3) /* DMA-able */
 
#define DT_MEM_UNKNOWN   BIT(15) /* must be last */
 
#define DT_MEM_SW_ATTR_MASK   GENMASK(19, 16)
 
#define DT_MEM_SW_ATTR_GET(x)
 
#define DT_MEM_SW_ATTR_SHIFT   (16)
 
#define DT_MEM_SW_ATTR_UNKNOWN   BIT(19)
 
#define DT_MEM_ARCH_ATTR_MASK   GENMASK(31, 20)
 
#define DT_MEM_ARCH_ATTR_GET(x)
 
#define DT_MEM_ARCH_ATTR_SHIFT   (20)
 
#define DT_MEM_ARCH_ATTR_UNKNOWN   BIT(31)
 

Macro Definition Documentation

◆ DT_MEM_ARCH_ATTR_GET

#define DT_MEM_ARCH_ATTR_GET ( x)
Value:
#define DT_MEM_ARCH_ATTR_MASK
Definition memory-attr.h:46

◆ DT_MEM_ARCH_ATTR_MASK

#define DT_MEM_ARCH_ATTR_MASK   GENMASK(31, 20)

◆ DT_MEM_ARCH_ATTR_SHIFT

#define DT_MEM_ARCH_ATTR_SHIFT   (20)

◆ DT_MEM_ARCH_ATTR_UNKNOWN

#define DT_MEM_ARCH_ATTR_UNKNOWN   BIT(31)

◆ DT_MEM_ATTR_GET

#define DT_MEM_ATTR_GET ( x)
Value:
#define DT_MEM_ATTR_MASK
Definition memory-attr.h:16

◆ DT_MEM_ATTR_MASK

#define DT_MEM_ATTR_MASK   GENMASK(15, 0)

◆ DT_MEM_ATTR_SHIFT

#define DT_MEM_ATTR_SHIFT   (0)

◆ DT_MEM_CACHEABLE

#define DT_MEM_CACHEABLE   BIT(0) /* cacheable */

◆ DT_MEM_DMA

#define DT_MEM_DMA   BIT(3) /* DMA-able */

◆ DT_MEM_NON_VOLATILE

#define DT_MEM_NON_VOLATILE   BIT(1) /* non-volatile */

◆ DT_MEM_OOO

#define DT_MEM_OOO   BIT(2) /* out-of-order */

◆ DT_MEM_SW_ATTR_GET

#define DT_MEM_SW_ATTR_GET ( x)
Value:
#define DT_MEM_SW_ATTR_MASK
Definition memory-attr.h:33

◆ DT_MEM_SW_ATTR_MASK

#define DT_MEM_SW_ATTR_MASK   GENMASK(19, 16)

◆ DT_MEM_SW_ATTR_SHIFT

#define DT_MEM_SW_ATTR_SHIFT   (16)

◆ DT_MEM_SW_ATTR_UNKNOWN

#define DT_MEM_SW_ATTR_UNKNOWN   BIT(19)

◆ DT_MEM_UNKNOWN

#define DT_MEM_UNKNOWN   BIT(15) /* must be last */