10.6.3.1.1 Function nvm_get_config_defaults()

Initializes an NVM controller configuration structure to defaults.

void nvm_get_config_defaults( struct nvm_config *const config)

Initializes a given NVM controller configuration structure to a set of known default values. This function should be called on all new instances of these configuration structures before being modified by the user application.

The default configuration is as follows:
  • Power reduction mode enabled after sleep mode until first NVM access

  • Automatic page write mode disabled

  • Number of FLASH wait states left unchanged

Table 10-4. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values