Data Sheet

362
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
21.6.8 Cache
The NVM Controller cache reduces the device power consumption and improves system performance when wait states
are required. It is a direct-mapped cache that implements 8 lines of 64 bits (i.e., 64 bytes). NVM Controller cache can be
enabled by writing a zero in the CACHEDIS bit in the CTRLB register (CTRLB.CACHEDIS). Cache can be configured to
three different modes using the READMODE bit group in the CTRLB register. Refer to CTRLB register description for
more details. The INVALL command can be issued through the CTRLA register to invalidate all cache lines. Commands
affecting NVM content automatically invalidate cache lines.