10.6.1.1 Struct nvm_config

Configuration structure for the NVM controller within the device.

Table 10-1. Members
TypeNameDescription
enum nvm_cache_readmodecache_readmode

Select the mode for how the cache will pre-fetch data from the flash

booldisable_cache

Setting this to true will disable the pre-fetch cache in front of the NVM controller

boolmanual_page_write

Manual write mode; if enabled, pages loaded into the NVM buffer will not be written until a separate write command is issued. If disabled, writing to the last byte in the NVM page buffer will trigger an automatic write.

Note: If a partial page is to be written, a manual write command must be executed in either mode.
enum nvm_sleep_power_modesleep_power_mode

Power reduction mode during device sleep

uint8_twait_states

Number of wait states to insert when reading from flash, to prevent invalid data from being read at high clock frequencies