10.6.1.1 Struct nvm_config
Configuration structure for the NVM controller within the device.
Type | Name | Description |
---|---|---|
enum nvm_cache_readmode | cache_readmode |
Select the mode for how the cache will pre-fetch data from the flash |
bool | disable_cache |
Setting this to true will disable the pre-fetch cache in front of the NVM controller |
bool | manual_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_mode | sleep_power_mode |
Power reduction mode during device sleep |
uint8_t | wait_states |
Number of wait states to insert when reading from flash, to prevent invalid data from being read at high clock frequencies |