STM32L486xx HAL User Manual
Defines | Functions
SYSCFG
SYSTEM Exported Functions

Defines

#define LL_SYSCFG_EnableSRAM2PageWRP   LL_SYSCFG_EnableSRAM2PageWRP_0_31
 Enable SRAM2 page write protection for Pages in range 0 to 31.

Functions

__STATIC_INLINE void LL_SYSCFG_SetRemapMemory (uint32_t Memory)
 Set memory mapping at address 0x00000000.
__STATIC_INLINE uint32_t LL_SYSCFG_GetRemapMemory (void)
 Get memory mapping at address 0x00000000.
__STATIC_INLINE void LL_SYSCFG_SetFlashBankMode (uint32_t Bank)
 Select Flash bank mode (Bank flashed at 0x08000000)
__STATIC_INLINE uint32_t LL_SYSCFG_GetFlashBankMode (void)
 Get Flash bank mode (Bank flashed at 0x08000000)
__STATIC_INLINE void LL_SYSCFG_EnableFirewall (void)
 Firewall protection enabled.
__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledFirewall (void)
 Check if Firewall protection is enabled or not.
__STATIC_INLINE void LL_SYSCFG_EnableAnalogBooster (void)
 Enable I/O analog switch voltage booster.
__STATIC_INLINE void LL_SYSCFG_DisableAnalogBooster (void)
 Disable I/O analog switch voltage booster.
__STATIC_INLINE void LL_SYSCFG_EnableFastModePlus (uint32_t ConfigFastModePlus)
 Enable the I2C fast mode plus driving capability.
__STATIC_INLINE void LL_SYSCFG_DisableFastModePlus (uint32_t ConfigFastModePlus)
 Disable the I2C fast mode plus driving capability.
__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_IOC (void)
 Enable Floating Point Unit Invalid operation Interrupt.
__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_DZC (void)
 Enable Floating Point Unit Divide-by-zero Interrupt.
__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_UFC (void)
 Enable Floating Point Unit Underflow Interrupt.
__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_OFC (void)
 Enable Floating Point Unit Overflow Interrupt.
__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_IDC (void)
 Enable Floating Point Unit Input denormal Interrupt.
__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_IXC (void)
 Enable Floating Point Unit Inexact Interrupt.
__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_IOC (void)
 Disable Floating Point Unit Invalid operation Interrupt.
__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_DZC (void)
 Disable Floating Point Unit Divide-by-zero Interrupt.
__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_UFC (void)
 Disable Floating Point Unit Underflow Interrupt.
__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_OFC (void)
 Disable Floating Point Unit Overflow Interrupt.
__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_IDC (void)
 Disable Floating Point Unit Input denormal Interrupt.
__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_IXC (void)
 Disable Floating Point Unit Inexact Interrupt.
__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_IOC (void)
 Check if Floating Point Unit Invalid operation Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_DZC (void)
 Check if Floating Point Unit Divide-by-zero Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_UFC (void)
 Check if Floating Point Unit Underflow Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_OFC (void)
 Check if Floating Point Unit Overflow Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_IDC (void)
 Check if Floating Point Unit Input denormal Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_IXC (void)
 Check if Floating Point Unit Inexact Interrupt source is enabled or disabled.
__STATIC_INLINE void LL_SYSCFG_SetEXTISource (uint32_t Port, uint32_t Line)
 Configure source input for the EXTI external interrupt.
__STATIC_INLINE uint32_t LL_SYSCFG_GetEXTISource (uint32_t Line)
 Get the configured defined for specific EXTI Line.
__STATIC_INLINE void LL_SYSCFG_EnableSRAM2Erase (void)
 Enable SRAM2 Erase (starts a hardware SRAM2 erase operation.
__STATIC_INLINE uint32_t LL_SYSCFG_IsSRAM2EraseOngoing (void)
 Check if SRAM2 erase operation is on going.
__STATIC_INLINE void LL_SYSCFG_SetTIMBreakInputs (uint32_t Break)
 Set connections to TIM1/8/15/16/17 Break inputs.
__STATIC_INLINE uint32_t LL_SYSCFG_GetTIMBreakInputs (void)
 Get connections to TIM1/8/15/16/17 Break inputs.
__STATIC_INLINE uint32_t LL_SYSCFG_IsActiveFlag_SP (void)
 Check if SRAM2 parity error detected.
__STATIC_INLINE void LL_SYSCFG_ClearFlag_SP (void)
 Clear SRAM2 parity error flag.
__STATIC_INLINE void LL_SYSCFG_EnableSRAM2PageWRP_0_31 (uint32_t SRAM2WRP)
__STATIC_INLINE void LL_SYSCFG_LockSRAM2WRP (void)
 SRAM2 page write protection lock prior to erase.
__STATIC_INLINE void LL_SYSCFG_UnlockSRAM2WRP (void)
 SRAM2 page write protection unlock prior to erase.

Define Documentation


Function Documentation

__STATIC_INLINE void LL_SYSCFG_ClearFlag_SP ( void  )

Clear SRAM2 parity error flag.

Reference Manual to LL API cross reference:
SYSCFG_CFGR2 SPF LL_SYSCFG_ClearFlag_SP
Return values:
None

Definition at line 909 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableAnalogBooster ( void  )

Disable I/O analog switch voltage booster.

Note:
When voltage booster is enabled, I/O analog switches are supplied by a dedicated voltage booster, from VDD power domain. This is the recommended configuration with low VDDA voltage operation.
The I/O analog switch voltage booster is relevant for peripherals using I/O in analog input: ADC, COMP, OPAMP. However, COMP and OPAMP inputs have a high impedance and voltage booster do not impact performance significantly. Therefore, the voltage booster is mainly intended for usage with ADC.
Reference Manual to LL API cross reference:
SYSCFG_CFGR1 BOOSTEN LL_SYSCFG_DisableAnalogBooster
Return values:
None

Definition at line 522 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableFastModePlus ( uint32_t  ConfigFastModePlus)

Disable the I2C fast mode plus driving capability.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 I2C_PBx_FMP LL_SYSCFG_DisableFastModePlus
SYSCFG_CFGR1 I2Cx_FMP LL_SYSCFG_DisableFastModePlus
Parameters:
ConfigFastModePlusThis parameter can be a combination of the following values: (*) value not defined in all devices
Return values:
None

Definition at line 566 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_DZC ( void  )

Disable Floating Point Unit Divide-by-zero Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_1 LL_SYSCFG_DisableIT_FPU_DZC
Return values:
None

Definition at line 646 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_IDC ( void  )

Disable Floating Point Unit Input denormal Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_4 LL_SYSCFG_DisableIT_FPU_IDC
Return values:
None

Definition at line 676 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_IOC ( void  )

Disable Floating Point Unit Invalid operation Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_0 LL_SYSCFG_DisableIT_FPU_IOC
Return values:
None

Definition at line 636 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_IXC ( void  )

Disable Floating Point Unit Inexact Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_5 LL_SYSCFG_DisableIT_FPU_IXC
Return values:
None

Definition at line 686 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_OFC ( void  )

Disable Floating Point Unit Overflow Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_3 LL_SYSCFG_DisableIT_FPU_OFC
Return values:
None

Definition at line 666 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_DisableIT_FPU_UFC ( void  )

Disable Floating Point Unit Underflow Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_2 LL_SYSCFG_DisableIT_FPU_UFC
Return values:
None

Definition at line 656 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableAnalogBooster ( void  )

Enable I/O analog switch voltage booster.

Note:
When voltage booster is enabled, I/O analog switches are supplied by a dedicated voltage booster, from VDD power domain. This is the recommended configuration with low VDDA voltage operation.
The I/O analog switch voltage booster is relevant for peripherals using I/O in analog input: ADC, COMP, OPAMP. However, COMP and OPAMP inputs have a high impedance and voltage booster do not impact performance significantly. Therefore, the voltage booster is mainly intended for usage with ADC.
Reference Manual to LL API cross reference:
SYSCFG_CFGR1 BOOSTEN LL_SYSCFG_EnableAnalogBooster
Return values:
None

Definition at line 503 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableFastModePlus ( uint32_t  ConfigFastModePlus)

Enable the I2C fast mode plus driving capability.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 I2C_PBx_FMP LL_SYSCFG_EnableFastModePlus
SYSCFG_CFGR1 I2Cx_FMP LL_SYSCFG_EnableFastModePlus
Parameters:
ConfigFastModePlusThis parameter can be a combination of the following values: (*) value not defined in all devices
Return values:
None

Definition at line 544 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableFirewall ( void  )

Firewall protection enabled.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FWDIS LL_SYSCFG_EnableFirewall
Return values:
None

Definition at line 474 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_DZC ( void  )

Enable Floating Point Unit Divide-by-zero Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_1 LL_SYSCFG_EnableIT_FPU_DZC
Return values:
None

Definition at line 586 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_IDC ( void  )

Enable Floating Point Unit Input denormal Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_4 LL_SYSCFG_EnableIT_FPU_IDC
Return values:
None

Definition at line 616 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_IOC ( void  )

Enable Floating Point Unit Invalid operation Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_0 LL_SYSCFG_EnableIT_FPU_IOC
Return values:
None

Definition at line 576 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_IXC ( void  )

Enable Floating Point Unit Inexact Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_5 LL_SYSCFG_EnableIT_FPU_IXC
Return values:
None

Definition at line 626 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_OFC ( void  )

Enable Floating Point Unit Overflow Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_3 LL_SYSCFG_EnableIT_FPU_OFC
Return values:
None

Definition at line 606 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableIT_FPU_UFC ( void  )

Enable Floating Point Unit Underflow Interrupt.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_2 LL_SYSCFG_EnableIT_FPU_UFC
Return values:
None

Definition at line 596 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableSRAM2Erase ( void  )

Enable SRAM2 Erase (starts a hardware SRAM2 erase operation.

This bit is automatically cleared at the end of the SRAM2 erase operation.)

Note:
This bit is write-protected: setting this bit is possible only after the correct key sequence is written in the SYSCFG_SKR register as described in the Reference Manual.
Reference Manual to LL API cross reference:
SYSCFG_SCSR SRAM2ER LL_SYSCFG_EnableSRAM2Erase
Return values:
None

Definition at line 843 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_EnableSRAM2PageWRP_0_31 ( uint32_t  SRAM2WRP)

Definition at line 957 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_GetEXTISource ( uint32_t  Line)

Get the configured defined for specific EXTI Line.

Reference Manual to LL API cross reference:
SYSCFG_EXTICR1 EXTIx LL_SYSCFG_GetEXTISource
SYSCFG_EXTICR2 EXTIx LL_SYSCFG_GetEXTISource
SYSCFG_EXTICR3 EXTIx LL_SYSCFG_GetEXTISource
SYSCFG_EXTICR4 EXTIx LL_SYSCFG_GetEXTISource
Parameters:
LineThis parameter can be one of the following values:
Return values:
Returnedvalue can be one of the following values: (*) value not defined in all devices

Definition at line 829 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_GetFlashBankMode ( void  )

Get Flash bank mode (Bank flashed at 0x08000000)

Reference Manual to LL API cross reference:
SYSCFG_MEMRMP FB_MODE LL_SYSCFG_GetFlashBankMode
Return values:
Returnedvalue can be one of the following values:

Definition at line 463 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_GetRemapMemory ( void  )

Get memory mapping at address 0x00000000.

Reference Manual to LL API cross reference:
SYSCFG_MEMRMP MEM_MODE LL_SYSCFG_GetRemapMemory
Return values:
Returnedvalue can be one of the following values: (*) value not defined in all devices

Definition at line 437 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_GetTIMBreakInputs ( void  )

Get connections to TIM1/8/15/16/17 Break inputs.

Reference Manual to LL API cross reference:
SYSCFG_CFGR2 CLL LL_SYSCFG_GetTIMBreakInputs
SYSCFG_CFGR2 SPL LL_SYSCFG_GetTIMBreakInputs
SYSCFG_CFGR2 PVDL LL_SYSCFG_GetTIMBreakInputs
SYSCFG_CFGR2 ECCL LL_SYSCFG_GetTIMBreakInputs
Return values:
Returnedvalue can be can be a combination of the following values:

Definition at line 889 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsActiveFlag_SP ( void  )

Check if SRAM2 parity error detected.

Reference Manual to LL API cross reference:
SYSCFG_CFGR2 SPF LL_SYSCFG_IsActiveFlag_SP
Return values:
Stateof bit (1 or 0).

Definition at line 899 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledFirewall ( void  )

Check if Firewall protection is enabled or not.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FWDIS LL_SYSCFG_IsEnabledFirewall
Return values:
Stateof bit (1 or 0).

Definition at line 484 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_DZC ( void  )

Check if Floating Point Unit Divide-by-zero Interrupt source is enabled or disabled.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_1 LL_SYSCFG_IsEnabledIT_FPU_DZC
Return values:
Stateof bit (1 or 0).

Definition at line 706 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_IDC ( void  )

Check if Floating Point Unit Input denormal Interrupt source is enabled or disabled.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_4 LL_SYSCFG_IsEnabledIT_FPU_IDC
Return values:
Stateof bit (1 or 0).

Definition at line 736 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_IOC ( void  )

Check if Floating Point Unit Invalid operation Interrupt source is enabled or disabled.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_0 LL_SYSCFG_IsEnabledIT_FPU_IOC
Return values:
Stateof bit (1 or 0).

Definition at line 696 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_IXC ( void  )

Check if Floating Point Unit Inexact Interrupt source is enabled or disabled.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_5 LL_SYSCFG_IsEnabledIT_FPU_IXC
Return values:
Stateof bit (1 or 0).

Definition at line 746 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_OFC ( void  )

Check if Floating Point Unit Overflow Interrupt source is enabled or disabled.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_3 LL_SYSCFG_IsEnabledIT_FPU_OFC
Return values:
Stateof bit (1 or 0).

Definition at line 726 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledIT_FPU_UFC ( void  )

Check if Floating Point Unit Underflow Interrupt source is enabled or disabled.

Reference Manual to LL API cross reference:
SYSCFG_CFGR1 FPU_IE_2 LL_SYSCFG_IsEnabledIT_FPU_UFC
Return values:
Stateof bit (1 or 0).

Definition at line 716 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_SYSCFG_IsSRAM2EraseOngoing ( void  )

Check if SRAM2 erase operation is on going.

Reference Manual to LL API cross reference:
SYSCFG_SCSR SRAM2BSY LL_SYSCFG_IsSRAM2EraseOngoing
Return values:
Stateof bit (1 or 0).

Definition at line 854 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_LockSRAM2WRP ( void  )

SRAM2 page write protection lock prior to erase.

Reference Manual to LL API cross reference:
SYSCFG_SKR KEY LL_SYSCFG_LockSRAM2WRP
Return values:
None

Definition at line 1015 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_SetEXTISource ( uint32_t  Port,
uint32_t  Line 
)

Configure source input for the EXTI external interrupt.

Reference Manual to LL API cross reference:
SYSCFG_EXTICR1 EXTIx LL_SYSCFG_SetEXTISource
SYSCFG_EXTICR2 EXTIx LL_SYSCFG_SetEXTISource
SYSCFG_EXTICR3 EXTIx LL_SYSCFG_SetEXTISource
SYSCFG_EXTICR4 EXTIx LL_SYSCFG_SetEXTISource
Parameters:
PortThis parameter can be one of the following values: (*) value not defined in all devices
LineThis parameter can be one of the following values:
Return values:
None

Definition at line 788 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_SetFlashBankMode ( uint32_t  Bank)

Select Flash bank mode (Bank flashed at 0x08000000)

Reference Manual to LL API cross reference:
SYSCFG_MEMRMP FB_MODE LL_SYSCFG_SetFlashBankMode
Parameters:
BankThis parameter can be one of the following values:
Return values:
None

Definition at line 451 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_SetRemapMemory ( uint32_t  Memory)

Set memory mapping at address 0x00000000.

Reference Manual to LL API cross reference:
SYSCFG_MEMRMP MEM_MODE LL_SYSCFG_SetRemapMemory
Parameters:
MemoryThis parameter can be one of the following values: (*) value not defined in all devices
Return values:
None

Definition at line 420 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_SetTIMBreakInputs ( uint32_t  Break)

Set connections to TIM1/8/15/16/17 Break inputs.

Reference Manual to LL API cross reference:
SYSCFG_CFGR2 CLL LL_SYSCFG_SetTIMBreakInputs
SYSCFG_CFGR2 SPL LL_SYSCFG_SetTIMBreakInputs
SYSCFG_CFGR2 PVDL LL_SYSCFG_SetTIMBreakInputs
SYSCFG_CFGR2 ECCL LL_SYSCFG_SetTIMBreakInputs
Parameters:
BreakThis parameter can be a combination of the following values:
Return values:
None

Definition at line 872 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_SYSCFG_UnlockSRAM2WRP ( void  )

SRAM2 page write protection unlock prior to erase.

Reference Manual to LL API cross reference:
SYSCFG_SKR KEY LL_SYSCFG_UnlockSRAM2WRP
Return values:
None

Definition at line 1026 of file stm32l4xx_ll_system.h.