Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
#include <zephyr/dt-bindings/dt-util.h>
Go to the source code of this file.
Macros | |
Basic memory permission flags. | |
#define | NRF_PERM_R BIT(0) |
Readable. | |
#define | NRF_PERM_W BIT(1) |
Writable. | |
#define | NRF_PERM_X BIT(2) |
Executable. | |
#define | NRF_PERM_S BIT(3) |
Secure-only. | |
#define | NRF_PERM_NSC BIT(4) |
Non-secure-callable. | |
Memory permission flag combinations. | |
| |
#define | NRF_PERM_RW (NRF_PERM_R | NRF_PERM_W) |
#define | NRF_PERM_RX (NRF_PERM_R | NRF_PERM_X) |
#define | NRF_PERM_RS (NRF_PERM_R | NRF_PERM_S) |
#define | NRF_PERM_WX (NRF_PERM_W | NRF_PERM_X) |
#define | NRF_PERM_WS (NRF_PERM_W | NRF_PERM_S) |
#define | NRF_PERM_XS (NRF_PERM_X | NRF_PERM_S) |
#define | NRF_PERM_RWX (NRF_PERM_R | NRF_PERM_W | NRF_PERM_X) |
#define | NRF_PERM_RWS (NRF_PERM_R | NRF_PERM_W | NRF_PERM_S) |
#define | NRF_PERM_RXS (NRF_PERM_R | NRF_PERM_X | NRF_PERM_S) |
#define | NRF_PERM_WXS (NRF_PERM_W | NRF_PERM_X | NRF_PERM_S) |
#define | NRF_PERM_RWXS (NRF_PERM_R | NRF_PERM_W | NRF_PERM_X | NRF_PERM_S) |
#define NRF_PERM_NSC BIT(4) |
Non-secure-callable.
#define NRF_PERM_R BIT(0) |
Readable.
#define NRF_PERM_RS (NRF_PERM_R | NRF_PERM_S) |
#define NRF_PERM_RW (NRF_PERM_R | NRF_PERM_W) |
#define NRF_PERM_RWS (NRF_PERM_R | NRF_PERM_W | NRF_PERM_S) |
#define NRF_PERM_RWX (NRF_PERM_R | NRF_PERM_W | NRF_PERM_X) |
#define NRF_PERM_RWXS (NRF_PERM_R | NRF_PERM_W | NRF_PERM_X | NRF_PERM_S) |
#define NRF_PERM_RX (NRF_PERM_R | NRF_PERM_X) |
#define NRF_PERM_RXS (NRF_PERM_R | NRF_PERM_X | NRF_PERM_S) |
#define NRF_PERM_S BIT(3) |
Secure-only.
#define NRF_PERM_W BIT(1) |
Writable.
#define NRF_PERM_WS (NRF_PERM_W | NRF_PERM_S) |
#define NRF_PERM_WX (NRF_PERM_W | NRF_PERM_X) |
#define NRF_PERM_WXS (NRF_PERM_W | NRF_PERM_X | NRF_PERM_S) |
#define NRF_PERM_X BIT(2) |
Executable.
#define NRF_PERM_XS (NRF_PERM_X | NRF_PERM_S) |