LL SYSCFG Functions

LL SYSCFG Functions

group SYSCFG_LL_Exported_Functions

Functions

void LL_SYSCFG_SetAnalogIOSwitchSupply ( uint32_t analog_switch )

Set I/O analog switch supply.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 ANASWVDD LL_SYSCFG_SetAnalogIOSwitchSupply

SYSCFG_CFGR1 BOOSTEN LL_SYSCFG_SetAnalogIOSwitchSupply

Parameters :

analog_switch – This parameter can be one or a combination of the following values:

  • LL_SYSCFG_VDDA_SUPPLY

  • LL_SYSCFG_BOOSTER_SUPPLY

  • LL_SYSCFG_VDD_2V4_SUPPLY

uint32_t LL_SYSCFG_GetAnalogIOSwitchSupply ( void )

Get I/O analog switch supply.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 ANASWVDD LL_SYSCFG_GetAnalogIOSwitchSupply

SYSCFG_CFGR1 BOOSTEN LL_SYSCFG_GetAnalogIOSwitchSupply

Return values :

Returned – This value can be one of the following values:

  • LL_SYSCFG_VDDA_SUPPLY

  • LL_SYSCFG_BOOSTER_SUPPLY

  • LL_SYSCFG_VDD_2V4_SUPPLY

void LL_SYSCFG_EnableAnalogSwitchVdd ( void )

Enable I/O analog switches supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 ANASWVDD LL_SYSCFG_EnableAnalogSwitchVdd

void LL_SYSCFG_DisableAnalogSwitchVdd ( void )

Disable I/O analog switches supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 ANASWVDD LL_SYSCFG_DisableAnalogSwitchVdd

Note

I/O analog switches are supplied by VDDA or booster when booster in on. Dedicated voltage booster (supplied by VDD) is the recommended configuration with low VDDA voltage operation.

void LL_SYSCFG_EnableAnalogBooster ( void )

Enable I/O analog switch voltage booster.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 BOOSTEN LL_SYSCFG_EnableAnalogBooster

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.

Note

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 does not impact performance significantly. Therefore, the voltage booster is mainly intended for usage with ADC.

void LL_SYSCFG_DisableAnalogBooster ( void )

Disable I/O analog switch voltage booster.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 BOOSTEN LL_SYSCFG_DisableAnalogBooster

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.

Note

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 does not impact performance significantly. Therefore, the voltage booster is mainly intended for usage with ADC.

void LL_SYSCFG_EnableFastModePlus ( uint32_t fast_mode_plus )

Enable the fast mode plus driving capability.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 PBx_FMP LL_SYSCFG_EnableFastModePlus

Parameters :

fast_mode_plus – This parameter can be one or a combination of the following values:

void LL_SYSCFG_DisableFastModePlus ( uint32_t fast_mode_plus )

Disable the fast mode plus driving capability.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 PBx_FMP LL_SYSCFG_DisableFastModePlus

Parameters :

fast_mode_plus – This parameter can be one or a combination of the following values:

uint32_t LL_SYSCFG_IsEnabledFastModePlus ( uint32_t fast_mode_plus )

Check if fast mode plus is enabled or disabled.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 PB6_FMP LL_SYSCFG_IsEnabledFastModePlus

SYSCFG_CFGR1 PB7_FMP LL_SYSCFG_IsEnabledFastModePlus

SYSCFG_CFGR1 PB8_FMP LL_SYSCFG_IsEnabledFastModePlus

SYSCFG_CFGR1 PB9_FMP LL_SYSCFG_IsEnabledFastModePlus

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_SetHSPISupplyDecouplingCapacitance ( uint32_t capacitance )

Set decoupling capacitance on HSPI supply.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 ENDCAP LL_SYSCFG_SetHSPISupplyDecouplingCapacitance

Parameters :

capacitance – This parameter can be one of the following values:

  • LL_SYSCFG_HSPI_CAPA_OFF

  • LL_SYSCFG_HSPI_CAPA_1_DIV_3

  • LL_SYSCFG_HSPI_CAPA_2_DIV_3

  • LL_SYSCFG_HSPI_CAPA_FULL

uint32_t LL_SYSCFG_GetHSPISupplyDecouplingCapacitance ( void )

Get decoupling capacitance on HSPI supply.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 ENDCAP LL_SYSCFG_GetHSPISupplyDecouplingCapacitance

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_HSPI_CAPA_OFF

  • LL_SYSCFG_HSPI_CAPA_1_DIV_3

  • LL_SYSCFG_HSPI_CAPA_2_DIV_3

  • LL_SYSCFG_HSPI_CAPA_FULL

void LL_SYSCFG_EnableDCACHE2SRAMCacheability ( void )

Enable internal SRAMs cacheability by DCACHE2.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 SRAMCACHED LL_SYSCFG_EnableDCACHE2SRAMCacheability

void LL_SYSCFG_DisableDCACHE2SRAMCacheability ( void )

Disable internal SRAMs cacheability by DCACHE2.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 SRAMCACHED LL_SYSCFG_DisableDCACHE2SRAMCacheability

uint32_t LL_SYSCFG_IsEnabledDCACHE2SRAMCacheability ( void )

Check if internal SRAMs cacheability by DCACHE2 is enabled or disabled.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR1 SRAMCACHED LL_SYSCFG_IsEnabledDCACHE2SRAMCacheability

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableFPUIT ( uint32_t floating_point )

Enable floating point unit interrupts bits.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_0 LL_SYSCFG_EnableFPUIT

SYSCFG_FPUIMR FPU_IE_1 LL_SYSCFG_EnableFPUIT

SYSCFG_FPUIMR FPU_IE_2 LL_SYSCFG_EnableFPUIT

SYSCFG_FPUIMR FPU_IE_3 LL_SYSCFG_EnableFPUIT

SYSCFG_FPUIMR FPU_IE_4 LL_SYSCFG_EnableFPUIT

SYSCFG_FPUIMR FPU_IE_5 LL_SYSCFG_EnableFPUIT

Parameters :

floating_point – This parameter can be one or a combination of the following values:

void LL_SYSCFG_DisableFPUIT ( uint32_t floating_point )

Disable floating point unit interrupts bits.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_0 LL_SYSCFG_DisableFPUIT

SYSCFG_FPUIMR FPU_IE_1 LL_SYSCFG_DisableFPUIT

SYSCFG_FPUIMR FPU_IE_2 LL_SYSCFG_DisableFPUIT

SYSCFG_FPUIMR FPU_IE_3 LL_SYSCFG_DisableFPUIT

SYSCFG_FPUIMR FPU_IE_4 LL_SYSCFG_DisableFPUIT

SYSCFG_FPUIMR FPU_IE_5 LL_SYSCFG_DisableFPUIT

Parameters :

floating_point – This parameter can be one or a combination of the following values:

uint32_t LL_SYSCFG_IsenabledFPUIT ( uint32_t floating_point )

Check if floating point unit interrupts bits is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_0 LL_SYSCFG_IsenabledFPUIT

SYSCFG_FPUIMR FPU_IE_1 LL_SYSCFG_IsenabledFPUIT

SYSCFG_FPUIMR FPU_IE_2 LL_SYSCFG_IsenabledFPUIT

SYSCFG_FPUIMR FPU_IE_3 LL_SYSCFG_IsenabledFPUIT

SYSCFG_FPUIMR FPU_IE_4 LL_SYSCFG_IsenabledFPUIT

SYSCFG_FPUIMR FPU_IE_5 LL_SYSCFG_IsenabledFPUIT

Parameters :

floating_point – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableIT_FPU_IOC ( void )

Enable Floating Point Unit Invalid operation Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_0 LL_SYSCFG_EnableIT_FPU_IOC

void LL_SYSCFG_DisableIT_FPU_IOC ( void )

Disable Floating Point Unit Invalid operation Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_0 LL_SYSCFG_DisableIT_FPU_IOC

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 (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_0 LL_SYSCFG_IsEnabledIT_FPU_IOC

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableIT_FPU_DZC ( void )

Enable Floating Point Unit Divide-by-zero Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_1 LL_SYSCFG_EnableIT_FPU_DZC

void LL_SYSCFG_DisableIT_FPU_DZC ( void )

Disable Floating Point Unit Divide-by-zero Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_1 LL_SYSCFG_DisableIT_FPU_DZC

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 (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_1 LL_SYSCFG_IsEnabledIT_FPU_DZC

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableIT_FPU_UFC ( void )

Enable Floating Point Unit Underflow Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_2 LL_SYSCFG_EnableIT_FPU_UFC

void LL_SYSCFG_DisableIT_FPU_UFC ( void )

Disable Floating Point Unit Underflow Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_2 LL_SYSCFG_DisableIT_FPU_UFC

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 (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_2 LL_SYSCFG_IsEnabledIT_FPU_UFC

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableIT_FPU_OFC ( void )

Enable Floating Point Unit Overflow Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_3 LL_SYSCFG_EnableIT_FPU_OFC

void LL_SYSCFG_DisableIT_FPU_OFC ( void )

Disable Floating Point Unit Overflow Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_3 LL_SYSCFG_DisableIT_FPU_OFC

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 (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_3 LL_SYSCFG_IsEnabledIT_FPU_OFC

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableIT_FPU_IDC ( void )

Enable Floating Point Unit Input denormal Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_4 LL_SYSCFG_EnableIT_FPU_IDC

void LL_SYSCFG_DisableIT_FPU_IDC ( void )

Disable Floating Point Unit Input denormal Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_4 LL_SYSCFG_DisableIT_FPU_IDC

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 (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_4 LL_SYSCFG_IsEnabledIT_FPU_IDC

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableIT_FPU_IXC ( void )

Enable Floating Point Unit Inexact Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_5 LL_SYSCFG_EnableIT_FPU_IXC

void LL_SYSCFG_DisableIT_FPU_IXC ( void )

Disable Floating Point Unit Inexact Interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_5 LL_SYSCFG_DisableIT_FPU_IXC

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 (Register Field Functions)

SYSCFG_FPUIMR FPU_IE_5 LL_SYSCFG_IsEnabledIT_FPU_IXC

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableTIMBreakInputs ( uint32_t break_input )

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

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR2 CLL LL_SYSCFG_EnableTIMBreakInputs

SYSCFG_CFGR2 SPL LL_SYSCFG_EnableTIMBreakInputs

SYSCFG_CFGR2 PVDL LL_SYSCFG_EnableTIMBreakInputs

SYSCFG_CFGR2 ECCL LL_SYSCFG_EnableTIMBreakInputs

Parameters :

break_input – This parameter can be one or a combination of the following values:

uint32_t LL_SYSCFG_IsEnabledTIMBreakInputs ( uint32_t break_input )

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

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CFGR2 CLL LL_SYSCFG_IsEnabledTIMBreakInputs

SYSCFG_CFGR2 SPL LL_SYSCFG_IsEnabledTIMBreakInputs

SYSCFG_CFGR2 PVDL LL_SYSCFG_IsEnabledTIMBreakInputs

SYSCFG_CFGR2 ECCL LL_SYSCFG_IsEnabledTIMBreakInputs

Parameters :

break_input – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

SYSCFG COMPENSATION

group SYSCFG_LL_EF_COMPENSATION

Functions

void LL_SYSCFG_SetConfigCompensationCellCodeSource ( uint32_t comp_cell , uint32_t code_source )

Set the compensation cell code of each compensation cell.

Reference Manual to LL API cross reference (Register Field Functions) CCCSR CSx x= [1..3] LL_SYSCFG_SetConfigCompensationCellCodeSource

Note

(*) value not defined in all devices

Parameters :
uint32_t LL_SYSCFG_GetConfigCompensationCellCodeSource ( uint32_t comp_cell )

Get the compensation cell code.

Reference Manual to LL API cross reference (Register Field Functions)

SYSCFG_CCCSR CS1 LL_SYSCFG_GetCompensationCellCode

SYSCFG_CCCSR CS2 LL_SYSCFG_GetCompensationCellCode

SYSCFG_CCCSR CS3 LL_SYSCFG_GetCompensationCellCode

Note

(*) value not defined in all devices

Parameters :

comp_cell – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_CCELL_CODE_DEFAULT: Selected Code is from the cell (available in the SYSCFG_CCVR)

  • LL_SYSCFG_CCELL_CODE_CUSTOM: Selected Code is from the SYSCFG compensation cell code register (SYSCFG_CCCR)

void LL_SYSCFG_SetVddIOCompensationCellCodeSource ( uint32_t code_source )

Set the compensation cell code selection of GPIO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR CS1 LL_SYSCFG_SetVddIOCompensationCellCodeSource

Parameters :

code_source – Select the code to be applied for the Vdd compensation cell This parameter can be one of the following values:

  • LL_SYSCFG_CCELL_VDDIO_DEFAULT_CODE: Select Code from the cell (available in the SYSCFG_CCVR)

  • LL_SYSCFG_CCELL_VDDIO_CUSTOM_CODE: Select Code from the SYSCFG compensation cell code register (SYSCFG_CCCR)

uint32_t LL_SYSCFG_GetVddIOCompensationCellCodeSource ( void )

Get the compensation cell code selection of GPIO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR CS1 LL_SYSCFG_GetVddIOCompensationCellCodeSource

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_CCELL_VDDIO_DEFAULT_CODE : Selected Code is from the cell (available in the SYSCFG_CCVR)

  • LL_SYSCFG_CCELL_VDDIO_CUSTOM_CODE: Selected Code is from the SYSCFG compensation cell code register (SYSCFG_CCCR)

void LL_SYSCFG_SetVddIO2CompensationCellCodeSource ( uint32_t code_source )

Set the compensation cell code selection of GPIO supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR CS2 LL_SYSCFG_SetVddIO2CompensationCellCodeSource

Parameters :

code_source – Selects the code to be applied for the VddIO compensation cell This parameter can be one of the following values:

  • LL_SYSCFG_CCELL_VDDIO2_DEFAULT_CODE: Select Code from the cell (available in the SYSCFG_CCVR)

  • LL_SYSCFG_CCELL_VDDIO2_CUSTOM_CODE: Select Code from the SYSCFG compensation cell code register (SYSCFG_CCCR)

uint32_t LL_SYSCFG_GetVddIO2CompensationCellCodeSource ( void )

Get the compensation cell code selection of GPIO supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR CS2 LL_SYSCFG_GetVddIO2CompensationCellCodeSource

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_CCELL_VDDIO2_DEFAULT_CODE : Selected Code is from the cell (available in the SYSCFG_CCVR)

  • LL_SYSCFG_CCELL_VDDIO2_CUSTOM_CODE: Selected Code is from the SYSCFG compensation cell code register (SYSCFG_CCCR)

void LL_SYSCFG_SetVddHSPICompensationCellCodeSource ( uint32_t code_source )

Set the compensation cell code selection of HSPI IO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR CS3 LL_SYSCFG_SetVddHSPICompensationCellCodeSource

Parameters :

code_source – Selects the code to be applied for the VddIO compensation cell This parameter can be one of the following values:

  • LL_SYSCFG_CCELL_HSPIIO_DEFAULT_CODE : Select Code from the cell (available in the SYSCFG_CCVR)

  • LL_SYSCFG_CCELL_HSPIIO_CUSTOM_CODE: Select Code from the SYSCFG compensation cell code register (SYSCFG_CCCR)

uint32_t LL_SYSCFG_GetVddHSPICompensationCellCodeSource ( void )

Get the compensation cell code selection of HSPI IO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR CS3 LL_SYSCFG_GetVddHSPICompensationCellCodeSource

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_CCELL_HSPIIO_DEFAULT_CODE : Selected Code is from the cell (available in the SYSCFG_CCVR)

  • LL_SYSCFG_CCELL_HSPIIO_CUSTOM_CODE: Selected Code is from the SYSCFG compensation cell code register (SYSCFG_CCCR)

void LL_SYSCFG_EnableCompensationCell ( uint32_t comp_cell )

Enable the Compensation Cell.

Reference Manual to LL API cross reference (Register Field Functions) CCCSR ENX X[1..3] LL_SYSCFG_EnableCompensationCell

Note

(*) value not defined in all devices

Parameters :

comp_cell – This parameter can be one or a combination of the following values:

void LL_SYSCFG_DisableCompensationCell ( uint32_t comp_cell )

Disable the Compensation Cell.

Reference Manual to LL API cross reference (Register Field Functions) CCCSR ENX X[1..3] LL_SYSCFG_DisableCompensationCell

Note

(*) value not defined in all devices

Parameters :

comp_cell – This parameter can be one or a combination of the following values:

uint32_t LL_SYSCFG_IsEnabledCompensationCell ( uint32_t comp_cell )

Check if the Compensation Cell is enable.

Reference Manual to LL API cross reference (Register Field Functions) CCCSR ENx x=[1..3] LL_SYSCFG_IsEnabledCompensationCell

Note

(*) value not defined in all devices

Parameters :

comp_cell – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableVddIOCompensationCell ( void )

Enable the Compensation Cell of GPIO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN1 LL_SYSCFG_EnableVddIOCompensationCell

Note

The vdd compensation cell can be used only when the device supply voltage ranges from 1.71 to 3.6 V

void LL_SYSCFG_DisableVddIOCompensationCell ( void )

Disable the Compensation Cell of GPIO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN1 LL_SYSCFG_DisableVddIOCompensationCell

Note

The Vdd compensation cell can be used only when the device supply voltage ranges from 1.71 to 3.6 V

uint32_t LL_SYSCFG_IsEnabled_VddIOCompensationCell ( void )

Check if the Compensation Cell of GPIO supplied by VDD is enable.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN1 LL_SYSCFG_IsEnabled_VddIOCompensationCell

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableVddIO2CompensationCell ( void )

Enable the Compensation Cell of GPIO supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN2 LL_SYSCFG_EnableVddIO2CompensationCell

Note

The Vdd I/O compensation cell can be used only when the device supply voltage ranges from 1.08 to 3.6 V

void LL_SYSCFG_DisableVddIO2CompensationCell ( void )

Disable the Compensation Cell of GPIO supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN2 LL_SYSCFG_DisableVddIO2CompensationCell

Note

The Vdd I/O compensation cell can be used only when the device supply voltage ranges from 1.08 to 3.6 V

uint32_t LL_SYSCFG_IsEnabled_VddIO2CompensationCell ( void )

Check if the Compensation Cell of GPIO supplied by VDDIO2 is enable.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN2 LL_SYSCFG_IsEnabled_VddIO2CompensationCell

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_EnableVddHSPICompensationCell ( void )

Enable the Compensation Cell of HSPI IO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN3 LL_SYSCFG_EnableVddHSPICompensationCell

void LL_SYSCFG_DisableVddHSPICompensationCell ( void )

Disable the Compensation Cell of HSPI IO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN3 LL_SYSCFG_DisableVddHSPICompensationCell

uint32_t LL_SYSCFG_IsEnabled_VddHSPICompensationCell ( void )

Check if the Compensation Cell of HSPI IO supplied by VDD is enable.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR EN3 LL_SYSCFG_IsEnabled_VddHSPICompensationCell

Return values :

State – of bit (1 or 0).

uint32_t LL_SYSCFG_GetPMOSCompensationCellValue ( uint32_t comp_cell )

Get the PMOS transistor of the compensation cell value.

Reference Manual to LL API cross reference (Register Field Functions) CCVR PCVx x=[1..3] LL_SYSCFG_GetPMOSCompensationCellValue

Parameters :

comp_cell – The PMOS compensation cell

Return values :

Returned – value of the PMOS compensation cell

uint32_t LL_SYSCFG_GetNMOSCompensationCellValue ( uint32_t comp_cell )

Get the NMOS transistor of the compensation cell value.

Reference Manual to LL API cross reference (Register Field Functions) CCVR NCVx x=[1..3] LL_SYSCFG_GetNMOSCompensationCellValue

Parameters :

comp_cell – The NMOS compensation cell

Return values :

Returned – value of the NMOS compensation cell

uint32_t LL_SYSCFG_GetPMOSVddIOCompensationCellValue ( void )

Get the compensation cell value of the GPIO PMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCVR PCV1 LL_SYSCFG_GetPMOSVddIOCompensationCellValue

Return values :

Returned – value is the PMOS compensation cell

uint32_t LL_SYSCFG_GetNMOSVddIOCompensationCellValue ( void )

Get the compensation cell value of the GPIO NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCVR NCV1 LL_SYSCFG_GetNMOSVddIOCompensationCellValue

Return values :

Returned – value is the NMOS compensation cell

uint32_t LL_SYSCFG_GetPMOSVddIO2CompensationCellValue ( void )

Get the compensation cell value of the GPIO PMOS transistor supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCVR PCV2 LL_SYSCFG_GetPMOSVddIO2CompensationCellValue

Return values :

Returned – value is the PMOS compensation cell

uint32_t LL_SYSCFG_GetNMOSVddIO2CompensationCellValue ( void )

Get the compensation cell value of the GPIO NMOS transistor supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCVR NCV2 LL_SYSCFG_GetNMOSVddIO2CompensationCellValue

Return values :

Returned – value is the NMOS compensation cell

uint32_t LL_SYSCFG_GetPMOSVddHSPIIOCompensationCellValue ( void )

Get the compensation cell value of the HSPI IO PMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCVR PCV3 LL_SYSCFG_GetPMOSVddHSPIIOCompensationCellValue

Return values :

Returned – value is the PMOS compensation cell

uint32_t LL_SYSCFG_GetNMOSVddHSPIIOCompensationCellValue ( void )

Get the compensation cell value of the HSPI IO NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCVR NCV3 LL_SYSCFG_GetNMOSVddHSPIIOCompensationCellValue

Return values :

Returned – value is the NMOS compensation cell

void LL_SYSCFG_SetPMOSCompensationCellCode ( uint32_t comp_cell , uint32_t pmos_code )

Set the compensation cell code of PMOS transistor.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC1 LL_SYSCFG_SetPMOSCompensationCellCode

CCCR PCC2 LL_SYSCFG_SetPMOSCompensationCellCode

CCCR PCC3 LL_SYSCFG_SetPMOSCompensationCellCode

Note

This code is applied to the PMOS compensation cell when the CSx x=[1..3] bits of the SYSCFG_CCCSR is set

Note

(*) value not defined in all devices

Parameters :
uint32_t LL_SYSCFG_GetPMOSCompensationCellCode ( uint32_t comp_cell )

Get the compensation cell code of PMOS transistor.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC1 LL_SYSCFG_GetPMOSCompensationCellCode

CCCR PCC2 LL_SYSCFG_GetPMOSCompensationCellCode

CCCR PCC3 LL_SYSCFG_GetPMOSCompensationCellCode

Note

This code is applied to the PMOS compensation cell when the CSx x=[1..3] bits of the SYSCFG_CCCSR is set

Note

(*) value not defined in all devices

Parameters :

comp_cell – This parameter can be one of the following values:

Return values :

Returned – value of the PMOS compensation cell

void LL_SYSCFG_SetNMOSCompensationCellCode ( uint32_t comp_cell , uint32_t nmos_code )

Set the compensation cell code of NMOS transistor.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC1 LL_SYSCFG_SetNMOSCompensationCellCode

CCCR NCC2 LL_SYSCFG_SetNMOSCompensationCellCode

CCCR NCC3 LL_SYSCFG_SetNMOSCompensationCellCode (*)

Note

This code is applied to the PMOS compensation cell when the CSx x=[1..3] bits of the SYSCFG_CCCSR is set

Note

(*) value not defined in all devices

Parameters :
uint32_t LL_SYSCFG_GetNMOSCompensationCellCode ( uint32_t comp_cell )

Get the NMOS transistor of the compensation cell value.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC1 LL_SYSCFG_GetNMOSCompensationCellCode

CCCR PCC2 LL_SYSCFG_GetNMOSCompensationCellCode

CCCR PCC3 LL_SYSCFG_GetNMOSCompensationCellCode (*)

Note

(*) value not defined in all devices

Note

This code is applied to the NMOS compensation cell when the CSx x=[1..3] bits of the SYSCFG_CCCSR is set

Parameters :

comp_cell – This parameter can be one of the following values:

Return values :

Returned – value of the NMOS compensation cell

void LL_SYSCFG_SetxMOSVddIOCompensationCellCode ( uint32_t pmos_code , uint32_t nmos_code )

Set the compensation cell code of the GPIO PMOS and NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC1 LL_SYSCFG_SetxMOSVddIOCompensationCellCode

CCCR PCC1 LL_SYSCFG_SetxMOSVddIOCompensationCellCode

Parameters :
  • pmos_code – PMOS compensation code This code is applied to the PMOS compensation cell when the CS1 bit of the SYSCFG_CCCSR is set

  • nmos_code – NMOS compensation code

void LL_SYSCFG_SetxMOSVddIO2CompensationCellCode ( uint32_t pmos_code , uint32_t nmos_code )

Set the compensation cell code of the GPIO PMOS and NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC2 LL_SYSCFG_SetxMOSVddIO2CompensationCellCode

CCCR PCC2 LL_SYSCFG_SetxMOSVddIO2CompensationCellCode

Parameters :
  • pmos_code – PMOS compensation code This code is applied to the PMOS compensation cell when the CS2 bit of the SYSCFG_CCCSR is set

  • nmos_code – NMOS compensation code

void LL_SYSCFG_SetxMOSVddHSPIIOCompensationCellCode ( uint32_t pmos_code , uint32_t nmos_code )

Set the compensation cell code of the GPIO PMOS and NMOS transistor supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC3 LL_SYSCFG_SetxMOSVddHSPIIOCompensationCellCode

CCCR PCC3 LL_SYSCFG_SetxMOSVddHSPIIOCompensationCellCode

Parameters :
  • pmos_code – PMOS compensation code This code is applied to the PMOS compensation cell when the CS3 bit of the SYSCFG_CCCSR is set

  • nmos_code – NMOS compensation code

void LL_SYSCFG_SetPMOSVddIOCompensationCellCode ( uint32_t pmos_code )

Set the compensation cell code of the GPIO PMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC1 LL_SYSCFG_SetPMOSVddIOCompensationCellCode

Parameters :

pmos_code – PMOS compensation code This code is applied to the PMOS compensation cell when the CS1 bit of the SYSCFG_CCCSR is set

uint32_t LL_SYSCFG_GetPMOSVddIOCompensationCellCode ( void )

Get the compensation cell code of the GPIO PMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC1 LL_SYSCFG_GetPMOSVddIOCompensationCellCode

Return values :

Returned – value is the PMOS compensation cell

void LL_SYSCFG_SetNMOSVddIOCompensationCellCode ( uint32_t nmos_code )

Set the compensation cell code of the GPIO NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC2 LL_SYSCFG_SetNMOSVddIOCompensationCellCode

Parameters :

nmos_code – NMOS compensation code This code is applied to the NMOS compensation cell when the CS2 bit of the SYSCFG_CMPCR is set

uint32_t LL_SYSCFG_GetNMOSVddIOCompensationCellCode ( void )

Get the compensation cell code of the GPIO NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC1 LL_SYSCFG_GetNMOSVddIOCompensationCellCode

Return values :

Returned – value is the Vdd compensation cell code for NMOS transistors

void LL_SYSCFG_SetPMOSVddIO2CompensationCellCode ( uint32_t pmos_code )

Set the compensation cell code of the GPIO PMOS transistor supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC2 LL_SYSCFG_SetPMOSVddIO2CompensationCellCode

Parameters :

pmos_code – PMOS compensation code This code is applied to the PMOS compensation cell when the CS2 bit of the SYSCFG_CCCSR is set

uint32_t LL_SYSCFG_GetPMOSVddIO2CompensationCellCode ( void )

Get the compensation cell code of the GPIO PMOS transistor supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC2 LL_SYSCFG_GetPMOSVddIO2CompensationCellCode

Return values :

Returned – value is the PMOS compensation

void LL_SYSCFG_SetNMOSVddIO2CompensationCellCode ( uint32_t nmos_code )

Set the compensation cell code of the GPIO NMOS transistor supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC2 LL_SYSCFG_SetNMOSVddIO2CompensationCellCode

Parameters :

nmos_code – NMOS compensation code This code is applied to the NMOS compensation cell when the CS2 bit of the SYSCFG_CMPCR is set

uint32_t LL_SYSCFG_GetNMOSVddIO2CompensationCellCode ( void )

Get the compensation cell code of the GPIO NMOS transistor supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC2 LL_SYSCFG_GetNMOSVddIO2CompensationCellCode

Return values :

Returned – value is the NMOS compensation cell code

void LL_SYSCFG_SetPMOSVddHSPIIOCompensationCellCode ( uint32_t pmos_code )

Set the compensation cell code of the HSPI IO PMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC3 LL_SYSCFG_SetPMOSVddHSPIIOCompensationCellCode

Parameters :

pmos_code – PMOS compensation code This code is applied to the PMOS compensation cell when the CS3 bit of the SYSCFG_CCCSR is set

uint32_t LL_SYSCFG_GetPMOSVddHSPIIOCompensationCellCode ( void )

Get the compensation cell code of the HSPI IO PMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR PCC3 LL_SYSCFG_GetPMOSVddHSPIIOCompensationCellCode

Return values :

Returned – value is the PMOS compensation

void LL_SYSCFG_SetNMOSVddHSPIIOCompensationCellCode ( uint32_t nmos_code )

Set the compensation cell code of the HSPI IO NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC3 LL_SYSCFG_SetNMOSVddHSPIIOCompensationCellCode

Parameters :

nmos_code – NMOS compensation code This code is applied to the NMOS compensation cell when the CS3 bit of the SYSCFG_CCCSR is set

uint32_t LL_SYSCFG_GetNMOSVddHSPIIOCompensationCellCode ( void )

Get the compensation cell code of the HSPI IO NMOS transistor supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCR NCC3 LL_SYSCFG_GetNMOSVddHSPIIOCompensationCellCode

Return values :

Returned – value is the NMOS compensation cell code

uint32_t LL_SYSCFG_IsActiveFlag_RDY1 ( void )

Get Compensation Cell ready Flag of GPIO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR RDY1 LL_SYSCFG_IsActiveFlag_RDY1

Return values :

State – of bit (1 or 0).

uint32_t LL_SYSCFG_IsActiveFlag_RDY2 ( void )

Get Compensation Cell ready Flag of GPIO supplied by VDDIO2.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR RDY2 LL_SYSCFG_IsActiveFlag_RDY2

Return values :

State – of bit (1 or 0).

uint32_t LL_SYSCFG_IsActiveFlag_RDY3 ( void )

Get Compensation Cell ready Flag of HSPI IO supplied by VDD.

Reference Manual to LL API cross reference (Register Field Functions)

CCCSR RDY3 LL_SYSCFG_IsActiveFlag_RDY3

Return values :

State – of bit (1 or 0).

SYSCFG USB HS PHY

group SYSCFG_LL_EF_USB_HS_PHY

Functions

void LL_SYSCFG_EnableUSBHSPHY ( void )

Enable the USB HS PHY feature.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR EN LL_SYSCFG_EnableUSBHSPHY

void LL_SYSCFG_DisableUSBHSPHY ( void )

Disable the USB HS PHY feature.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR EN LL_SYSCFG_DisableUSBHSPHY

uint32_t LL_SYSCFG_IsEnabledUSBHSPHY ( void )

Check that USB HS PHY is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR EN LL_SYSCFG_IsEnabledUSBHSPHY

void LL_SYSCFG_EnableUSBHSPHYPowerDown ( void )

Enable the USB HS PHY Power-Down control.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR PDCTRL LL_SYSCFG_EnableUSBHSPHYPowerDown

void LL_SYSCFG_DisableUSBHSPHYPowerDown ( void )

Disable the USB HS PHY Power-Down control.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR PDCTRL LL_SYSCFG_DisableUSBHSPHYPowerDown

uint32_t LL_SYSCFG_IsEnabledUSBHSPHYPowerDown ( void )

Check that USB HS PHY power-down is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR EN LL_SYSCFG_IsEnabledUSBHSPHYPowerDown

void LL_SYSCFG_SetUSBHSPHYReferenceClockFrequency ( uint32_t clk_frequency )

Set the USB HS PHY reference clock frequency selection.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR CLKSEL LL_SYSCFG_SetUSBHSPHYReferenceClockFrequency

Parameters :

clk_frequency – This parameter can be one of the following values:

uint32_t LL_SYSCFG_GetUSBHSPHYReferenceClockFrequency ( void )

Get the USB HS PHY reference clock frequency selection.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYCR CLKSEL LL_SYSCFG_GetUSBHSPHYReferenceClockFrequency

Return values :

Returned – the current applied reference clock frequency selection

void LL_SYSCFG_SetConfigUSBHSPHY ( uint32_t disconnect_threshold , uint32_t squelch_threshold , uint32_t src_current )

Set all USB HS PHY tune in same time.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYTUNER2 COMPDISTUNE LL_SYSCFG_SetConfigUSBHSPHY

OTGHSPHYTUNER2 SQRXTUNE LL_SYSCFG_SetConfigUSBHSPHY

OTGHSPHYTUNER2 TXPREEMPAMPTUNE LL_SYSCFG_SetConfigUSBHSPHY

Parameters :
void LL_SYSCFG_SetUSBHSPHYDisconnectThresholdAdjustment ( uint32_t disconnect_threshold )

Set the USB PHY disconnect threshold adjustment.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYTUNER2 COMPDISTUNE LL_SYSCFG_SetUSBHSPHYDisconnectThresholdAdjustment

Parameters :

disconnect_threshold – This parameter can be one of the following values:

uint32_t LL_SYSCFG_GetUSBHSPHYDisconnectThresholdAdjustment ( void )

Get the USB PHY disconnect threshold adjustment.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYTUNER2 COMPDISTUNE LL_SYSCFG_GetUSBHSPHYDisconnectThresholdAdjustment

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_SQUELCH_ADJUST_0_PERCENT : 0 %

  • LL_SYSCFG_SQUELCH_ADJUST_PLUS_15_PERCENT: +15%

void LL_SYSCFG_SetUSBHSPHYSquelchThresholdAdjustment ( uint32_t squelch_threshold )

Set the USB HS PHY squelch threshold adjustment.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYTUNER2 SQRXTUNE LL_SYSCFG_SetUSBHSPHYSquelchThresholdAdjustment

Parameters :

squelch_threshold – This parameter can be one of the following values:

uint32_t LL_SYSCFG_GetUSBHSPHYSquelchThresholdAdjustment ( void )

Get the USB PHY squelch threshold adjustment.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYTUNER2 SQRXTUNE LL_SYSCFG_GetUSBHSPHYSquelchThresholdAdjustment

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_SQUELCH_ADJUST_0_PERCENT : 0 %

  • LL_SYSCFG_SQUELCH_ADJUST_PLUS_15_PERCENT: +15%

void LL_SYSCFG_SetUSBHSPHYTransmitterPreemphasisCurrent ( uint32_t src_current )

Set the USB HS PHY transmitter preemphasis current.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYTUNER2 TXPREEMPAMPTUNE LL_SYSCFG_SetUSBHSPHYTransmitterPreemphasisCurrent

Parameters :

src_current – This parameter can be one of the following values:

uint32_t LL_SYSCFG_GetUSBHSPHYTransmitterPreemphasisCurrent ( void )

Set the USB HS PHY transmitter preemphasis current.

Reference Manual to LL API cross reference (Register Field Functions)

OTGHSPHYTUNER2 TXPREEMPAMPTUNE LL_SYSCFG_GetUSBHSPHYTransmitterPreemphasisCurrent

Return values :

Returned – value can be one of the following values:

SYSCFG ERASE MEMORIE STATUS

group SYSCFG_LL_EF_ERASE_MEMORIE_STATUS

Functions

void LL_SYSCFG_ClearFlag_IPMEE ( void )

Clear Status of End of Erase for ICACHE and PKA RAMs.

Reference Manual to LL API cross reference (Register Field Functions)

MESR IPMEE LL_SYSCFG_ClearFlag_IPMEE

uint32_t LL_SYSCFG_IsActiveFlag_IPEE ( void )

Get Status of End of Erase for ICACHE and PKA RAMs.

Reference Manual to LL API cross reference (Register Field Functions)

MESR IPMEE LL_SYSCFG_IsActiveFlag_IPEE

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_IPMEE_ERASE_ON_GOING : Erase of memories not yet done

  • LL_SYSCFG_IPMEE_ERASE_ENDED: Erase of memories ended

void LL_SYSCFG_ClearFlag_MCLR ( void )

Clear Status of End of Erase after reset for SRAM2, BKPRAM, ICACHE, DCACHE,PKA rams.

Reference Manual to LL API cross reference (Register Field Functions)

MESR MCLR LL_SYSCFG_ClearFlag_MCLR

uint32_t LL_SYSCFG_IsActiveFlag_MCLR ( void )

Get Status of End of Erase after reset for SRAM2, BKPRAM, ICACHE, DCACHE,PKA rams.

Reference Manual to LL API cross reference (Register Field Functions)

MESR MCLR LL_SYSCFG_IsActiveFlag_MCLR

Return values :

Returned – value can be one of the following values:

  • LL_SYSCFG_MCLR_ERASE_ON_GOING : Erase of memories not yet done

  • LL_SYSCFG_MCLR_ERASE_ENDED: Erase of memories ended

Secure Management

group SYSCFG_LL_EF_SYSCFG_Secure_Management

Functions

void LL_SYSCFG_ConfigSecurity ( uint32_t configuration )

Configure Secure mode.

Reference Manual to LL API cross reference (Register Field Functions)

SECCFGR SYSCFGSEC LL_SYSCFG_ConfigSecurity

SECCFGR CLASSBSEC LL_SYSCFG_ConfigSecurity

SECCFGR FPUSEC LL_SYSCFG_ConfigSecurity

Note

Only available from secure state when system implements security (TZEN=1)

Parameters :

configuration – This parameter must be the full combination of the following values:

uint32_t LL_SYSCFG_GetConfigSecurity ( void )

Get Secure mode configuration.

Reference Manual to LL API cross reference (Register Field Functions)

SECCFGR SYSCFGSEC LL_SYSCFG_GetConfigSecurity

SECCFGR CLASSBSEC LL_SYSCFG_GetConfigSecurity

SECCFGR FPUSEC LL_SYSCFG_GetConfigSecurity

Note

Only available when system implements security (TZEN=1)

Return values :

Returned – value is the combination of the following values:

void LL_SYSCFG_LockSAU ( void )

Lock the SAU registers.

Reference Manual to LL API cross reference (Register Field Functions)

CSLCKR LOCKSAU LL_SYSCFG_LockSAU

Note

Only available from secure state when system implements security (TZEN=1)

uint32_t LL_SYSCFG_IsLockedSAU ( void )

Check if the SAU registers are locked or unlocked.

Reference Manual to LL API cross reference (Register Field Functions)

CSLCKR LOCKSAU LL_SYSCFG_IsLockedSAU

Note

Only available from secure state when system implements security (TZEN=1)

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_LockMPU ( void )

Lock the MPU registers.

Reference Manual to LL API cross reference (Register Field Functions)

CSLCKR LOCKSMPU LL_SYSCFG_LockMPU

CNSLCKR LOCKNSMPU LL_SYSCFG_LockMPU

Note

Setting lock secure MPU depends on the privilege mode in secure/non-secure code

uint32_t LL_SYSCFG_IsLockedMPU ( void )

Check if the MPU registers are locked or unlocked.

Reference Manual to LL API cross reference (Register Field Functions)

CSLCKR LOCKSMPU LL_SYSCFG_IsLockedMPU

CNSLCKR LOCKNSMPU LL_SYSCFG_IsLockedMPU

Note

Setting lock MPU depends on privilege mode in secure/non-secure code

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_LockMPU_NS ( void )

Lock the non-secure MPU registers.

Reference Manual to LL API cross reference (Register Field Functions)

CNSLCKR LOCKNSMPU LL_SYSCFG_LockMPU_NS

Note

Setting lock non-secure MPU depends on privilege mode in secure/non-secure code

uint32_t LL_SYSCFG_IsLockedMPU_NS ( void )

Check if the non-secure MPU registers are locked or unlocked.

Reference Manual to LL API cross reference (Register Field Functions)

CNSLCKR LOCKNSMPU LL_SYSCFG_IsLockedMPU_NS

Note

Setting lock non-secure MPU depends on privilege mode in secure/non-secure code

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_LockVTOR ( void )

Lock the secure/ non-secure VTOR register.

Reference Manual to LL API cross reference (Register Field Functions)

CSLCKR LOCKSVTAIRCR LL_SYSCFG_LockVTOR

CNSLCKR LOCKNSVTAIRCR LL_SYSCFG_LockVTOR

Note

Setting lock secure VTOR depends on privilege mode in secure/non-secure code

uint32_t LL_SYSCFG_IsLockedVTOR ( void )

Check if the VTOR register is locked or unlocked.

Reference Manual to LL API cross reference (Register Field Functions)

CSLCKR LOCKSVTAIRCR LL_SYSCFG_IsLockedVTOR

CNSLCKR LOCKNSVTOR LL_SYSCFG_IsLockedVTOR

Note

Setting lock VTOR depends on privilege mode in secure/non-secure code

Return values :

State – of bit (1 or 0).

void LL_SYSCFG_LockVTOR_NS ( void )

Lock the non-secure VTOR register.

Reference Manual to LL API cross reference (Register Field Functions)

CNSLCKR LOCKNSVTOR LL_SYSCFG_LockVTOR_NS

Note

Setting lock VTOR non-secure depends on privilege mode in secure/non-secure code

uint32_t LL_SYSCFG_IsLockedVTOR_NS ( void )

Check if the non-secure VTOR is locked or unlocked.

Reference Manual to LL API cross reference (Register Field Functions)

CNSLCKR LOCKNSVTOR LL_SYSCFG_IsLockedVTOR_NS

Note

Setting lock non-secure VTOR depends on privilege mode in secure/non-secure code

Return values :

State – of bit (1 or 0).