HAL Power Modes Data Structures Type Documentation
RetentionRegCfg_t
Location: power_modes.h:237
Data Fields
Type | Name | Description |
---|---|---|
uint8_t |
VDDM retention trimming value; use VDDM_RETENTION_TRIM_[MINIMUM | TYPICAL | MAXIMUM]. |
|
uint8_t |
VDDT baseband timer regulator retention; use VDDT_RETENTION_[ENABLE | DISABLE]. |
|
uint8_t |
VDDACS retention trimming value; use VDDACS_RETENTION_TRIM_[MINIMUM | TYPICAL | MAXIMUM]. |
|
uint8_t |
VDDC retention trimming value; use VDDC_RETENTION_TRIM_[MINIMUM | TYPICAL | MAXIMUM]. |
StandbyTrimCfg_t
Location: power_modes.h:256
Data Fields
Type | Name | Description |
---|---|---|
uint8_t |
VDDC standby trimming value; use 0x00 to 0x3F. |
|
uint8_t |
VDDM standby trimming value; use 0x00 to 0x3F. |
ClockCfg_t
Location: power_modes.h:267
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
System clock frequency value. |
|
uint32_t |
UART clock frequency derived from system clock. |
|
uint32_t |
Sensor clock frequency value. |
|
uint32_t |
User clock frequency. |
LowPowerModeCfg_t
Location: power_modes.h:308
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
Use any combination of WAKEUP_DELAY_[1 | 2 | 4 | ... | 128], WAKEUP_DCDC_OVERLOAD_[ENABLE | DISABLE], WAKEUP_GPIO*_[RISING | FALLING], WAKEUP_GPIO*_[ENABLE | DISABLE], WAKEUP_FIFO_[ENABLE | DISABLE], WAKEUP_RTC_OVERFLOW_[ENABLE | DISABLE]
|
|
uint32_t |
Use BOOT_CUSTOM, BOOT_FLASH_XTAL_DISABLE, BOOT_FLASH_XTAL_DEFAULT_TRIM, BOOT_FLASH_XTAL_CUSTOM_TRIM. |
|
bool |
Indicate if Bluetooth stack is present. |
|
uint8_t |
Use a value from 0 to 3. |
|
Use RUN_MODE, IDLE_MODE, STANDBY_MODE, SLEEP_MODE. |
||
Use NO_RETENTION, MEMORY_RETENTION, CORE_RETENTION. |
||
Clock configuration. |
||
Sleep retention regulator configuration. |
||
Standby trim configuration. |
||
Pointer to save configuration function. |
||
Pointer to reconfiguration function. |
||
Function pointer to resume address. |