REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Memory Processing Unit macros from framework-arduinoteensy/cores/teensy4/startup.c. More...
#include "imxrt.h"

Go to the source code of this file.
Macros | |
#define | NOEXEC SCB_MPU_RASR_XN |
#define | READONLY SCB_MPU_RASR_AP(7) |
#define | READWRITE SCB_MPU_RASR_AP(3) |
#define | NOACCESS SCB_MPU_RASR_AP(0) |
#define | MEM_CACHE_WT SCB_MPU_RASR_TEX(0) | SCB_MPU_RASR_C |
#define | MEM_CACHE_WB SCB_MPU_RASR_TEX(0) | SCB_MPU_RASR_C | SCB_MPU_RASR_B |
#define | MEM_CACHE_WBWA SCB_MPU_RASR_TEX(1) | SCB_MPU_RASR_C | SCB_MPU_RASR_B |
#define | MEM_NOCACHE SCB_MPU_RASR_TEX(1) |
#define | DEV_NOCACHE SCB_MPU_RASR_TEX(2) |
#define | SIZE_32B (SCB_MPU_RASR_SIZE(4) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_64B (SCB_MPU_RASR_SIZE(5) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_128B (SCB_MPU_RASR_SIZE(6) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_256B (SCB_MPU_RASR_SIZE(7) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_512B (SCB_MPU_RASR_SIZE(8) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_1K (SCB_MPU_RASR_SIZE(9) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_2K (SCB_MPU_RASR_SIZE(10) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_4K (SCB_MPU_RASR_SIZE(11) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_8K (SCB_MPU_RASR_SIZE(12) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_16K (SCB_MPU_RASR_SIZE(13) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_32K (SCB_MPU_RASR_SIZE(14) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_64K (SCB_MPU_RASR_SIZE(15) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_128K (SCB_MPU_RASR_SIZE(16) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_256K (SCB_MPU_RASR_SIZE(17) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_512K (SCB_MPU_RASR_SIZE(18) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_1M (SCB_MPU_RASR_SIZE(19) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_2M (SCB_MPU_RASR_SIZE(20) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_4M (SCB_MPU_RASR_SIZE(21) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_8M (SCB_MPU_RASR_SIZE(22) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_16M (SCB_MPU_RASR_SIZE(23) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_32M (SCB_MPU_RASR_SIZE(24) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_64M (SCB_MPU_RASR_SIZE(25) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_128M (SCB_MPU_RASR_SIZE(26) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_256M (SCB_MPU_RASR_SIZE(27) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_512M (SCB_MPU_RASR_SIZE(28) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_1G (SCB_MPU_RASR_SIZE(29) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_2G (SCB_MPU_RASR_SIZE(30) | SCB_MPU_RASR_ENABLE) |
#define | SIZE_4G (SCB_MPU_RASR_SIZE(31) | SCB_MPU_RASR_ENABLE) |
#define | REGION(n) |
Detailed Description
Memory Processing Unit macros from framework-arduinoteensy/cores/teensy4/startup.c.
Definition in file teensy_startup.h.
Macro Definition Documentation
◆ DEV_NOCACHE
#define DEV_NOCACHE SCB_MPU_RASR_TEX(2) |
Definition at line 15 of file teensy_startup.h.
◆ MEM_CACHE_WB
#define MEM_CACHE_WB SCB_MPU_RASR_TEX(0) | SCB_MPU_RASR_C | SCB_MPU_RASR_B |
Definition at line 12 of file teensy_startup.h.
◆ MEM_CACHE_WBWA
#define MEM_CACHE_WBWA SCB_MPU_RASR_TEX(1) | SCB_MPU_RASR_C | SCB_MPU_RASR_B |
Definition at line 13 of file teensy_startup.h.
◆ MEM_CACHE_WT
#define MEM_CACHE_WT SCB_MPU_RASR_TEX(0) | SCB_MPU_RASR_C |
Definition at line 11 of file teensy_startup.h.
◆ MEM_NOCACHE
#define MEM_NOCACHE SCB_MPU_RASR_TEX(1) |
Definition at line 14 of file teensy_startup.h.
◆ NOACCESS
#define NOACCESS SCB_MPU_RASR_AP(0) |
Definition at line 10 of file teensy_startup.h.
◆ NOEXEC
#define NOEXEC SCB_MPU_RASR_XN |
Definition at line 7 of file teensy_startup.h.
◆ READONLY
#define READONLY SCB_MPU_RASR_AP(7) |
Definition at line 8 of file teensy_startup.h.
◆ READWRITE
#define READWRITE SCB_MPU_RASR_AP(3) |
Definition at line 9 of file teensy_startup.h.
◆ REGION
#define REGION | ( | n | ) |
Definition at line 44 of file teensy_startup.h.
◆ SIZE_128B
#define SIZE_128B (SCB_MPU_RASR_SIZE(6) | SCB_MPU_RASR_ENABLE) |
Definition at line 18 of file teensy_startup.h.
◆ SIZE_128K
#define SIZE_128K (SCB_MPU_RASR_SIZE(16) | SCB_MPU_RASR_ENABLE) |
Definition at line 28 of file teensy_startup.h.
◆ SIZE_128M
#define SIZE_128M (SCB_MPU_RASR_SIZE(26) | SCB_MPU_RASR_ENABLE) |
Definition at line 38 of file teensy_startup.h.
◆ SIZE_16K
#define SIZE_16K (SCB_MPU_RASR_SIZE(13) | SCB_MPU_RASR_ENABLE) |
Definition at line 25 of file teensy_startup.h.
◆ SIZE_16M
#define SIZE_16M (SCB_MPU_RASR_SIZE(23) | SCB_MPU_RASR_ENABLE) |
Definition at line 35 of file teensy_startup.h.
◆ SIZE_1G
#define SIZE_1G (SCB_MPU_RASR_SIZE(29) | SCB_MPU_RASR_ENABLE) |
Definition at line 41 of file teensy_startup.h.
◆ SIZE_1K
#define SIZE_1K (SCB_MPU_RASR_SIZE(9) | SCB_MPU_RASR_ENABLE) |
Definition at line 21 of file teensy_startup.h.
◆ SIZE_1M
#define SIZE_1M (SCB_MPU_RASR_SIZE(19) | SCB_MPU_RASR_ENABLE) |
Definition at line 31 of file teensy_startup.h.
◆ SIZE_256B
#define SIZE_256B (SCB_MPU_RASR_SIZE(7) | SCB_MPU_RASR_ENABLE) |
Definition at line 19 of file teensy_startup.h.
◆ SIZE_256K
#define SIZE_256K (SCB_MPU_RASR_SIZE(17) | SCB_MPU_RASR_ENABLE) |
Definition at line 29 of file teensy_startup.h.
◆ SIZE_256M
#define SIZE_256M (SCB_MPU_RASR_SIZE(27) | SCB_MPU_RASR_ENABLE) |
Definition at line 39 of file teensy_startup.h.
◆ SIZE_2G
#define SIZE_2G (SCB_MPU_RASR_SIZE(30) | SCB_MPU_RASR_ENABLE) |
Definition at line 42 of file teensy_startup.h.
◆ SIZE_2K
#define SIZE_2K (SCB_MPU_RASR_SIZE(10) | SCB_MPU_RASR_ENABLE) |
Definition at line 22 of file teensy_startup.h.
◆ SIZE_2M
#define SIZE_2M (SCB_MPU_RASR_SIZE(20) | SCB_MPU_RASR_ENABLE) |
Definition at line 32 of file teensy_startup.h.
◆ SIZE_32B
#define SIZE_32B (SCB_MPU_RASR_SIZE(4) | SCB_MPU_RASR_ENABLE) |
Definition at line 16 of file teensy_startup.h.
◆ SIZE_32K
#define SIZE_32K (SCB_MPU_RASR_SIZE(14) | SCB_MPU_RASR_ENABLE) |
Definition at line 26 of file teensy_startup.h.
◆ SIZE_32M
#define SIZE_32M (SCB_MPU_RASR_SIZE(24) | SCB_MPU_RASR_ENABLE) |
Definition at line 36 of file teensy_startup.h.
◆ SIZE_4G
#define SIZE_4G (SCB_MPU_RASR_SIZE(31) | SCB_MPU_RASR_ENABLE) |
Definition at line 43 of file teensy_startup.h.
◆ SIZE_4K
#define SIZE_4K (SCB_MPU_RASR_SIZE(11) | SCB_MPU_RASR_ENABLE) |
Definition at line 23 of file teensy_startup.h.
◆ SIZE_4M
#define SIZE_4M (SCB_MPU_RASR_SIZE(21) | SCB_MPU_RASR_ENABLE) |
Definition at line 33 of file teensy_startup.h.
◆ SIZE_512B
#define SIZE_512B (SCB_MPU_RASR_SIZE(8) | SCB_MPU_RASR_ENABLE) |
Definition at line 20 of file teensy_startup.h.
◆ SIZE_512K
#define SIZE_512K (SCB_MPU_RASR_SIZE(18) | SCB_MPU_RASR_ENABLE) |
Definition at line 30 of file teensy_startup.h.
◆ SIZE_512M
#define SIZE_512M (SCB_MPU_RASR_SIZE(28) | SCB_MPU_RASR_ENABLE) |
Definition at line 40 of file teensy_startup.h.
◆ SIZE_64B
#define SIZE_64B (SCB_MPU_RASR_SIZE(5) | SCB_MPU_RASR_ENABLE) |
Definition at line 17 of file teensy_startup.h.
◆ SIZE_64K
#define SIZE_64K (SCB_MPU_RASR_SIZE(15) | SCB_MPU_RASR_ENABLE) |
Definition at line 27 of file teensy_startup.h.
◆ SIZE_64M
#define SIZE_64M (SCB_MPU_RASR_SIZE(25) | SCB_MPU_RASR_ENABLE) |
Definition at line 37 of file teensy_startup.h.
◆ SIZE_8K
#define SIZE_8K (SCB_MPU_RASR_SIZE(12) | SCB_MPU_RASR_ENABLE) |
Definition at line 24 of file teensy_startup.h.
◆ SIZE_8M
#define SIZE_8M (SCB_MPU_RASR_SIZE(22) | SCB_MPU_RASR_ENABLE) |
Definition at line 34 of file teensy_startup.h.