|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Generic memory attributes that should be common to all architectures. More...
Macros | |
| #define | DT_MEM_ATTR_GET(x) |
| Extract generic memory attribute bits from a full zephyr,memory-attr value. | |
| #define | DT_MEM_CACHEABLE BIT(0) |
| Memory is cacheable. | |
| #define | DT_MEM_NON_VOLATILE BIT(1) |
| Memory is non-volatile. | |
| #define | DT_MEM_OOO BIT(2) |
| Memory supports out-of-order access. | |
| #define | DT_MEM_DMA BIT(3) |
| Memory is usable for DMA. | |
| #define | DT_MEM_UNKNOWN BIT(15) |
| Generic memory attributes are unknown. | |
Generic memory attributes that should be common to all architectures.
| #define DT_MEM_ATTR_GET | ( | x | ) |
#include <memory-attr.h>
Extract generic memory attribute bits from a full zephyr,memory-attr value.
| x | Value to extract generic memory attribute bits from. |
| #define DT_MEM_CACHEABLE BIT(0) |
#include <memory-attr.h>
Memory is cacheable.
| #define DT_MEM_DMA BIT(3) |
#include <memory-attr.h>
Memory is usable for DMA.
| #define DT_MEM_NON_VOLATILE BIT(1) |
#include <memory-attr.h>
Memory is non-volatile.
| #define DT_MEM_OOO BIT(2) |
#include <memory-attr.h>
Memory supports out-of-order access.
| #define DT_MEM_UNKNOWN BIT(15) |
#include <memory-attr.h>
Generic memory attributes are unknown.