L4 HAL Drivers
HAL SYSCFG configuration functions
[HAL Exported Functions]
HAL SYSCFG configuration functions. More...
Functions | |
void | HAL_SYSCFG_SRAM2Erase (void) |
Start a hardware SRAM2 erase operation. | |
void | HAL_SYSCFG_EnableMemorySwappingBank (void) |
Enable the Internal FLASH Bank Swapping. | |
void | HAL_SYSCFG_DisableMemorySwappingBank (void) |
Disable the Internal FLASH Bank Swapping. | |
void | HAL_SYSCFG_VREFBUF_VoltageScalingConfig (uint32_t VoltageScaling) |
Configure the internal voltage reference buffer voltage scale. | |
void | HAL_SYSCFG_VREFBUF_HighImpedanceConfig (uint32_t Mode) |
Configure the internal voltage reference buffer high impedance mode. | |
void | HAL_SYSCFG_VREFBUF_TrimmingConfig (uint32_t TrimmingValue) |
Tune the Internal Voltage Reference buffer (VREFBUF). | |
HAL_StatusTypeDef | HAL_SYSCFG_EnableVREFBUF (void) |
Enable the Internal Voltage Reference buffer (VREFBUF). | |
void | HAL_SYSCFG_DisableVREFBUF (void) |
Disable the Internal Voltage Reference buffer (VREFBUF). |
Detailed Description
HAL SYSCFG configuration functions.
=============================================================================== ##### HAL SYSCFG configuration functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Start a hardware SRAM2 erase operation (+) Enable/Disable the Internal FLASH Bank Swapping (+) Configure the Voltage reference buffer (+) Enable/Disable the Voltage reference buffer
Function Documentation
void HAL_SYSCFG_DisableMemorySwappingBank | ( | void | ) |
Disable the Internal FLASH Bank Swapping.
- Note:
- This function can be used only for STM32L4xx devices.
- The default state : Flash Bank1 mapped at 0x08000000 (and aliased @0x0000 0000) and Flash Bank2 mapped at 0x08100000 (and aliased at 0x00100000)
- Return values:
-
None
Definition at line 531 of file stm32l4xx_hal.c.
void HAL_SYSCFG_DisableVREFBUF | ( | void | ) |
Disable the Internal Voltage Reference buffer (VREFBUF).
- Return values:
-
None
Definition at line 613 of file stm32l4xx_hal.c.
void HAL_SYSCFG_EnableMemorySwappingBank | ( | void | ) |
Enable the Internal FLASH Bank Swapping.
- Note:
- This function can be used only for STM32L4xx devices.
- Flash Bank2 mapped at 0x08000000 (and aliased @0x00000000) and Flash Bank1 mapped at 0x08100000 (and aliased at 0x00100000)
- Return values:
-
None
Definition at line 516 of file stm32l4xx_hal.c.
HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF | ( | void | ) |
Enable the Internal Voltage Reference buffer (VREFBUF).
- Return values:
-
HAL_OK/HAL_TIMEOUT
Definition at line 587 of file stm32l4xx_hal.c.
void HAL_SYSCFG_SRAM2Erase | ( | void | ) |
Start a hardware SRAM2 erase operation.
- Note:
- As long as SRAM2 is not erased the SRAM2ER bit will be set. This bit is automatically reset at the end of the SRAM2 erase operation.
- Return values:
-
None
Definition at line 497 of file stm32l4xx_hal.c.
void HAL_SYSCFG_VREFBUF_HighImpedanceConfig | ( | uint32_t | Mode ) |
Configure the internal voltage reference buffer high impedance mode.
- Parameters:
-
Mode,: specifies the high impedance mode This parameter can be one of the following values: - SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE: VREF+ pin is internally connect to VREFINT output.
- SYSCFG_VREFBUF_HIGH_IMPEDANCE_ENABLE: VREF+ pin is high impedance.
- Return values:
-
None
Definition at line 563 of file stm32l4xx_hal.c.
void HAL_SYSCFG_VREFBUF_TrimmingConfig | ( | uint32_t | TrimmingValue ) |
Tune the Internal Voltage Reference buffer (VREFBUF).
- Return values:
-
None
Definition at line 575 of file stm32l4xx_hal.c.
void HAL_SYSCFG_VREFBUF_VoltageScalingConfig | ( | uint32_t | VoltageScaling ) |
Configure the internal voltage reference buffer voltage scale.
- Parameters:
-
VoltageScaling,: specifies the output voltage to achieve This parameter can be one of the following values: - SYSCFG_VREFBUF_VOLTAGE_SCALE0: VREF_OUT1 around 2.048 V. This requires VDDA equal to or higher than 2.4 V.
- SYSCFG_VREFBUF_VOLTAGE_SCALE1: VREF_OUT1 around 2.5 V. This requires VDDA equal to or higher than 2.8 V.
- Return values:
-
None
Definition at line 547 of file stm32l4xx_hal.c.
Generated on Tue Jul 12 2022 10:58:17 by 1.7.2