RAFW Flexible Software Package Documentation  Release v2.0.1

 
Flash configuration settings

Detailed Description

Flash configuration settings.

Macros

#define dg_configFLASH_AUTODETECT
 Enable the Flash Auto-detection mode for QSPIC. More...
 
#define dg_configIMAGE_FLASH_OFFSET
 Offset of the image if not placed at the beginning of QSPI Flash.
 
#define dg_configFLASH_MAX_WRITE_SIZE
 Set the flash page size.
 
#define dg_configDISABLE_BACKGROUND_FLASH_OPS
 Disable background operations. More...
 
#define dg_configPOWER_1V8_ACTIVE
 When set to 1, the 1V8 rail is powered, when the system is in active state. When set to 2 the rail configuration will be defined by the application.
 
#define dg_configPOWER_1V8_SLEEP
 When set to 1, the 1V8 is powered during sleep. When set to 2 the rail configuration will be defined by the application.
 
#define dg_configPOWER_1V8P_ACTIVE
 When set to 1, the 1V8P rail is powered. More...
 
#define dg_configPOWER_1V8P_SLEEP
 When set to 1, the 1V8P is powered during sleep. When set to 2 the rail configuration will be defined by the application.
 
#define dg_configFLASH_POWER_OFF
 When set to 1, the Flash is powered off during sleep.
 
#define dg_configQSPIC2_DEV_AUTODETECT
 Enable the Auto-detection mode for QSPIC2 device. More...
 
#define dg_configQSPIC2_DEV_HEADER_FILE
 The QSPI 2 Driver header file to include. More...
 
#define dg_configQSPIC2_DEV_CONFIG
 The QSPI 2 Driver configuration structure. More...
 
#define dg_configFLASH_HEADER_FILE
 The Flash Driver header file to include. More...
 
#define dg_configFLASH_CONFIG
 The Flash Driver configuration structure. More...
 
#define dg_configFLASH_CONFIG_VERIFY
 Flash device configuration verification. More...
 

Macro Definition Documentation

◆ dg_configFLASH_AUTODETECT

#define dg_configFLASH_AUTODETECT

Enable the Flash Auto-detection mode for QSPIC.

Warning
THIS WILL GREATLY INCREASE THE CODE SIZE AND RETRAM USAGE!!! MAKE SURE YOUR PROJECT CAN SUPPORT THIS.

◆ dg_configDISABLE_BACKGROUND_FLASH_OPS

#define dg_configDISABLE_BACKGROUND_FLASH_OPS

Disable background operations.

When enabled, outstanding QSPI operations will take place during sleep time increasing the efficiency.

  • 1 : Disabled
  • 0 : Enabled

◆ dg_configPOWER_1V8P_ACTIVE

#define dg_configPOWER_1V8P_ACTIVE

When set to 1, the 1V8P rail is powered.

When set to 1, the 1V8P rail is powered, when the system is in active state. When set to 2 the rail configuration will be defined by the application

◆ dg_configQSPIC2_DEV_AUTODETECT

#define dg_configQSPIC2_DEV_AUTODETECT

Enable the Auto-detection mode for QSPIC2 device.

Warning
THIS WILL GREATLY INCREASE THE CODE SIZE AND RETRAM USAGE!!! MAKE SURE YOUR PROJECT CAN SUPPORT THIS.

◆ dg_configQSPIC2_DEV_HEADER_FILE

#define dg_configQSPIC2_DEV_HEADER_FILE

The QSPI 2 Driver header file to include.

The header file must be in the include path of the compiler

◆ dg_configQSPIC2_DEV_CONFIG

#define dg_configQSPIC2_DEV_CONFIG

The QSPI 2 Driver configuration structure.

The configuration structure must be in the include path of the compiler

◆ dg_configFLASH_HEADER_FILE

#define dg_configFLASH_HEADER_FILE

The Flash Driver header file to include.

The header file must be in the include path of the compiler

◆ dg_configFLASH_CONFIG

#define dg_configFLASH_CONFIG

The Flash Driver configuration structure.

The configuration structure must be in the include path of the compiler

◆ dg_configFLASH_CONFIG_VERIFY

#define dg_configFLASH_CONFIG_VERIFY

Flash device configuration verification.

When set to 1, the Flash device id configuration is checked against the JEDEC ID read from the controller.

Applicable only when flash auto detection is not enabled.