13.8.2 Cache Configuration
Symbol | Description | Symbol | Description | Symbol | Description |
---|---|---|---|---|---|
R | Readable bit | HC | Cleared by Hardware | (Grey cell) | Unimplemented |
W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
K | Write to clear | S | Software settable bit | — | — |
Name: | CFG |
Offset: | 0x04 |
Reset: | 0x00000020 |
Property: | R/W |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
Access | |||||||||
Reset |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
CSIZESW[2:0] | DCDIS | ICDIS | |||||||
Access | R/W | R/W | R/W | R/W | R/W | ||||
Reset | 0 | 1 | 0 | 0 | 0 |
Bits 6:4 – CSIZESW[2:0] Cache Size Configured by Software
Value | Name | Description |
---|---|---|
0x0 | CONF_CSIZE_1KB | The Cache Size is configured to 1 KB |
0x1 | CONF_CSIZE_2KB | The Cache Size is configured to 2 KB |
0x2 | CONF_CSIZE_4KB | The Cache Size is configured to 4 KB |
0x3-0x7 | - | Reserved |
Bit 2 – DCDIS Data Cache Disable
Writing a '0' to this bit enables data caching.
Writing a '1' to this bit disables data caching.
Value | Description |
---|---|
0 | Data caching is enabled. |
1 | Data caching is disabled. |
Bit 1 – ICDIS Instruction Cache Disable
Writing a '0' to this bit enables instruction caching.
Writing a '1' to this bit disables instruction caching.
Value | Description |
---|---|
0 | Instruction caching is enabled. |
1 | Instruction caching is disabled. |