STM32L486xx HAL User Manual
Functions
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

Disable the I/O analog switch voltage booster.

Return values:
None

Definition at line 671 of file stm32l4xx_hal.c.

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 567 of file stm32l4xx_hal.c.

References FB_MODE_BB.

void HAL_SYSCFG_DisableVREFBUF ( void  )

Disable the Internal Voltage Reference buffer (VREFBUF).

Return values:
None

Definition at line 650 of file stm32l4xx_hal.c.

Enable the I/O analog switch voltage booster.

Return values:
None

Definition at line 661 of file stm32l4xx_hal.c.

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 552 of file stm32l4xx_hal.c.

References FB_MODE_BB.

HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF ( void  )

Enable the Internal Voltage Reference buffer (VREFBUF).

Return values:
HAL_OK/HAL_TIMEOUT

Definition at line 624 of file stm32l4xx_hal.c.

References HAL_GetTick(), and VREFBUF_TIMEOUT_VALUE.

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 533 of file stm32l4xx_hal.c.

References SCSR_SRAM2ER_BB.

void HAL_SYSCFG_VREFBUF_HighImpedanceConfig ( uint32_t  Mode)

Configure the internal voltage reference buffer high impedance mode.

Parameters:
Modespecifies 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 600 of file stm32l4xx_hal.c.

References assert_param, and IS_SYSCFG_VREFBUF_HIGH_IMPEDANCE.

void HAL_SYSCFG_VREFBUF_TrimmingConfig ( uint32_t  TrimmingValue)

Tune the Internal Voltage Reference buffer (VREFBUF).

Return values:
None

Definition at line 612 of file stm32l4xx_hal.c.

References assert_param, and IS_SYSCFG_VREFBUF_TRIMMING.

void HAL_SYSCFG_VREFBUF_VoltageScalingConfig ( uint32_t  VoltageScaling)

Configure the internal voltage reference buffer voltage scale.

Parameters:
VoltageScalingspecifies 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_OUT2 around 2.5 V. This requires VDDA equal to or higher than 2.8 V.
Return values:
None

Definition at line 584 of file stm32l4xx_hal.c.

References assert_param, and IS_SYSCFG_VREFBUF_VOLTAGE_SCALE.