Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
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). | |
void | HAL_SYSCFG_EnableIOAnalogSwitchBooster (void) |
Enable the I/O analog switch voltage booster. | |
void | HAL_SYSCFG_DisableIOAnalogSwitchBooster (void) |
Disable the I/O analog switch voltage booster. |
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 (+) Enable/Disable the I/O analog switch voltage booster
Function Documentation
void HAL_SYSCFG_DisableIOAnalogSwitchBooster | ( | void | ) |
Disable the I/O analog switch voltage booster.
- Return values:
-
None
Definition at line 638 of file stm32l4xx_hal.c.
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 534 of file stm32l4xx_hal.c.
void HAL_SYSCFG_DisableVREFBUF | ( | void | ) |
Disable the Internal Voltage Reference buffer (VREFBUF).
- Return values:
-
None
Definition at line 617 of file stm32l4xx_hal.c.
void HAL_SYSCFG_EnableIOAnalogSwitchBooster | ( | void | ) |
Enable the I/O analog switch voltage booster.
- Return values:
-
None
Definition at line 628 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 519 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 591 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 500 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 567 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 579 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 551 of file stm32l4xx_hal.c.
Generated on Tue Jul 12 2022 17:38:53 by
