HAL SYSCFG Functions ¶
General management functions ¶
- group SYSCFG_Exported_Functions_Group1
-
This section provides functions allowing to global functions :
-
Call HAL_SYSCFG_SetAnalogIOSwitchSupply() function to set the I/O analog switches supply.
-
Call HAL_SYSCFG_GetAnalogIOSwitchSupply() function to get the I/O analog switches supply.
-
Call HAL_SYSCFG_EnableFastModePlus() function to enable the fast mode plus capability.
-
Call HAL_SYSCFG_DisableFastModePlus() function to disable the fast mode plus capability.
-
Call HAL_SYSCFG_IsEnabledFastModePlus() function to check that fast mode plus capability is enabled.
-
Call HAL_SYSCFG_SetHSPISupplyDecouplingCapacitance() function to set the decoupling capacitance on HSPI supply.
-
Call HAL_SYSCFG_GetHSPISupplyDecouplingCapacitance() function to get the decoupling capacitance on HSPI supply.
-
Call HAL_SYSCFG_EnableDCACHE2SRAMCacheability() function to enable the Cacheability of internal SRAMx by DCACHE2.
-
Call HAL_SYSCFG_DisableDCACHE2SRAMCacheability() function to disable the Cacheability of internal SRAMx by DCACHE2.
-
Call HAL_SYSCFG_IsEnabledDCACHE2SRAMCacheability() function to check if the Cacheability of internal SRAMx by DCACHE2 is enabled or disabled.
Functions
-
void
HAL_SYSCFG_SetAnalogIOSwitchSupply
(
hal_syscfg_analog_switch_t
analog_switch
)
¶
-
Set the I/O analog switch supply.
- Parameters :
-
analog_switch – This parameter can be one of the following values:
-
hal_syscfg_analog_switch_t
HAL_SYSCFG_GetAnalogIOSwitchSupply
(
void
)
¶
-
Get the I/O analog switch supply.
- Return values :
-
hal_syscfg_analog_switch_t – I/O Analog switch supply.
-
void
HAL_SYSCFG_EnableFastModePlus
(
uint32_t
fast_mode_plus
)
¶
-
Enable the fast mode plus driving capability.
- Parameters :
-
fast_mode_plus – This parameter can be one or a combination of the following values:
-
void
HAL_SYSCFG_DisableFastModePlus
(
uint32_t
fast_mode_plus
)
¶
-
Disable the fast mode plus driving capability.
- Parameters :
-
fast_mode_plus – This parameter can be one or a combination of the following values:
-
hal_syscfg_fast_mode_plus_status_t
HAL_SYSCFG_IsEnabledFastModePlus
(
uint32_t
fast_mode_plus
)
¶
-
Check that fast mode plus driving capability is enabled.
- Parameters :
-
fast_mode_plus – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_fast_mode_plus_status_t – Fast mode plus status
-
void
HAL_SYSCFG_SetHSPISupplyDecouplingCapacitance
(
hal_syscfg_capacitance_t
capacitance
)
¶
-
Set the decoupling capacitance on HSPI supply.
- Parameters :
-
capacitance – This parameter is an element of hal_syscfg_capacitance_t enumeration.
-
hal_syscfg_capacitance_t
HAL_SYSCFG_GetHSPISupplyDecouplingCapacitance
(
void
)
¶
-
Get the decoupling capacitance on HSPI supply.
- Return values :
-
hal_syscfg_capacitance_t – Decoupling capacitance value.
-
void
HAL_SYSCFG_EnableDCACHE2SRAMCacheability
(
void
)
¶
-
Enable the cacheability of internal SRAMx by DCACHE2.
-
void
HAL_SYSCFG_DisableDCACHE2SRAMCacheability
(
void
)
¶
-
Disable the cacheability of internal SRAMx by DCACHE2.
-
hal_syscfg_dcache2_sram_status_t
HAL_SYSCFG_IsEnabledDCACHE2SRAMCacheability
(
void
)
¶
-
Check that cacheability of internal SRAMx by DCACHE2 is enabled.
- Return values :
-
hal_syscfg_dcache2_sram_status_t – DCACHE2 SRAM capability status.
-
- group SYSCFG_Exported_Functions_Group1
-
This section provides functions allowing to global functions :
-
Call HAL_SYSCFG_SetAnalogIOSwitchSupply() function to set the I/O analog switches supply.
-
Call HAL_SYSCFG_GetAnalogIOSwitchSupply() function to get the I/O analog switches supply.
-
Call HAL_SYSCFG_EnableFastModePlus() function to enable the fast mode plus capability.
-
Call HAL_SYSCFG_DisableFastModePlus() function to disable the fast mode plus capability.
-
Call HAL_SYSCFG_IsEnabledFastModePlus() function to check that fast mode plus capability is enabled.
-
Call HAL_SYSCFG_SetHSPISupplyDecouplingCapacitance() function to set the decoupling capacitance on HSPI supply.
-
Call HAL_SYSCFG_GetHSPISupplyDecouplingCapacitance() function to get the decoupling capacitance on HSPI supply.
-
Call HAL_SYSCFG_EnableDCACHE2SRAMCacheability() function to enable the Cacheability of internal SRAMx by DCACHE2.
-
Call HAL_SYSCFG_DisableDCACHE2SRAMCacheability() function to disable the Cacheability of internal SRAMx by DCACHE2.
-
Call HAL_SYSCFG_IsEnabledDCACHE2SRAMCacheability() function to check if the Cacheability of internal SRAMx by DCACHE2 is enabled or disabled.
Functions
-
void
HAL_SYSCFG_SetAnalogIOSwitchSupply
(
hal_syscfg_analog_switch_t
analog_switch
)
-
Set the I/O analog switch supply.
- Parameters :
-
analog_switch – This parameter can be one of the following values:
-
hal_syscfg_analog_switch_t
HAL_SYSCFG_GetAnalogIOSwitchSupply
(
void
)
-
Get the I/O analog switch supply.
- Return values :
-
hal_syscfg_analog_switch_t – I/O Analog switch supply.
-
void
HAL_SYSCFG_EnableFastModePlus
(
uint32_t
fast_mode_plus
)
-
Enable the fast mode plus driving capability.
- Parameters :
-
fast_mode_plus – This parameter can be one or a combination of the following values:
-
void
HAL_SYSCFG_DisableFastModePlus
(
uint32_t
fast_mode_plus
)
-
Disable the fast mode plus driving capability.
- Parameters :
-
fast_mode_plus – This parameter can be one or a combination of the following values:
-
hal_syscfg_fast_mode_plus_status_t
HAL_SYSCFG_IsEnabledFastModePlus
(
uint32_t
fast_mode_plus
)
-
Check that fast mode plus driving capability is enabled.
- Parameters :
-
fast_mode_plus – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_fast_mode_plus_status_t – Fast mode plus status
-
void
HAL_SYSCFG_SetHSPISupplyDecouplingCapacitance
(
hal_syscfg_capacitance_t
capacitance
)
-
Set the decoupling capacitance on HSPI supply.
- Parameters :
-
capacitance – This parameter is an element of hal_syscfg_capacitance_t enumeration.
-
hal_syscfg_capacitance_t
HAL_SYSCFG_GetHSPISupplyDecouplingCapacitance
(
void
)
-
Get the decoupling capacitance on HSPI supply.
- Return values :
-
hal_syscfg_capacitance_t – Decoupling capacitance value.
-
void
HAL_SYSCFG_EnableDCACHE2SRAMCacheability
(
void
)
-
Enable the cacheability of internal SRAMx by DCACHE2.
-
void
HAL_SYSCFG_DisableDCACHE2SRAMCacheability
(
void
)
-
Disable the cacheability of internal SRAMx by DCACHE2.
-
hal_syscfg_dcache2_sram_status_t
HAL_SYSCFG_IsEnabledDCACHE2SRAMCacheability
(
void
)
-
Check that cacheability of internal SRAMx by DCACHE2 is enabled.
- Return values :
-
hal_syscfg_dcache2_sram_status_t – DCACHE2 SRAM capability status.
-
- group SYSCFG_Exported_Functions_Group1
-
This section provides functions allowing to global functions :
-
Call HAL_SYSCFG_SetAnalogIOSwitchSupply() function to set the I/O analog switches supply.
-
Call HAL_SYSCFG_GetAnalogIOSwitchSupply() function to get the I/O analog switches supply.
-
Call HAL_SYSCFG_EnableFastModePlus() function to enable the fast mode plus capability.
-
Call HAL_SYSCFG_DisableFastModePlus() function to disable the fast mode plus capability.
-
Call HAL_SYSCFG_IsEnabledFastModePlus() function to check that fast mode plus capability is enabled.
-
Call HAL_SYSCFG_SetHSPISupplyDecouplingCapacitance() function to set the decoupling capacitance on HSPI supply.
-
Call HAL_SYSCFG_GetHSPISupplyDecouplingCapacitance() function to get the decoupling capacitance on HSPI supply.
-
Call HAL_SYSCFG_EnableDCACHE2SRAMCacheability() function to enable the Cacheability of internal SRAMx by DCACHE2.
-
Call HAL_SYSCFG_DisableDCACHE2SRAMCacheability() function to disable the Cacheability of internal SRAMx by DCACHE2.
-
Call HAL_SYSCFG_IsEnabledDCACHE2SRAMCacheability() function to check if the Cacheability of internal SRAMx by DCACHE2 is enabled or disabled.
Functions
-
void
HAL_SYSCFG_SetAnalogIOSwitchSupply
(
hal_syscfg_analog_switch_t
analog_switch
)
-
Set the I/O analog switch supply.
- Parameters :
-
analog_switch – This parameter can be one of the following values:
-
hal_syscfg_analog_switch_t
HAL_SYSCFG_GetAnalogIOSwitchSupply
(
void
)
-
Get the I/O analog switch supply.
- Return values :
-
hal_syscfg_analog_switch_t – I/O Analog switch supply.
-
void
HAL_SYSCFG_EnableFastModePlus
(
uint32_t
fast_mode_plus
)
-
Enable the fast mode plus driving capability.
- Parameters :
-
fast_mode_plus – This parameter can be one or a combination of the following values:
-
void
HAL_SYSCFG_DisableFastModePlus
(
uint32_t
fast_mode_plus
)
-
Disable the fast mode plus driving capability.
- Parameters :
-
fast_mode_plus – This parameter can be one or a combination of the following values:
-
hal_syscfg_fast_mode_plus_status_t
HAL_SYSCFG_IsEnabledFastModePlus
(
uint32_t
fast_mode_plus
)
-
Check that fast mode plus driving capability is enabled.
- Parameters :
-
fast_mode_plus – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_fast_mode_plus_status_t – Fast mode plus status
-
Floating point unit interrupts management functions ¶
- group SYSCFG_Exported_Functions_Group2
-
This section provides functions allowing to manage the floating point interrupts:
-
Call HAL_SYSCFG_EnableFPUIT() to enable floating point unit interrupts.
-
Call HAL_SYSCFG_DisableFPUIT() to disable floating point unit Interrupts.
-
Call HAL_SYSCFG_IsEnabledFPUIT() to check that floating point unit Interrupts is enabled.
Functions
-
void
HAL_SYSCFG_EnableFPUIT
(
uint32_t
floating_point
)
¶
-
Enable the floating point unit interrupts.
- Parameters :
-
floating_point – This parameter can be one or a combination of the following values:
-
void
HAL_SYSCFG_DisableFPUIT
(
uint32_t
floating_point
)
¶
-
Disable the floating point unit interrupts.
- Parameters :
-
floating_point – This parameter can be one or a combination of the following values:
-
hal_syscfg_it_fpu_status_t
HAL_SYSCFG_IsEnabledFPUIT
(
uint32_t
floating_point
)
¶
-
Check that floating point unit interrupts is enabled.
- Parameters :
-
floating_point – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_it_fpu_status_t – Floating point interrupt status.
-
- group SYSCFG_Exported_Functions_Group2
-
This section provides functions allowing to manage the floating point interrupts:
-
Call HAL_SYSCFG_EnableFPUIT() to enable floating point unit interrupts.
-
Call HAL_SYSCFG_DisableFPUIT() to disable floating point unit Interrupts.
-
Call HAL_SYSCFG_IsEnabledFPUIT() to check that floating point unit Interrupts is enabled.
Functions
-
void
HAL_SYSCFG_EnableFPUIT
(
uint32_t
floating_point
)
-
Enable the floating point unit interrupts.
- Parameters :
-
floating_point – This parameter can be one or a combination of the following values:
-
void
HAL_SYSCFG_DisableFPUIT
(
uint32_t
floating_point
)
-
Disable the floating point unit interrupts.
- Parameters :
-
floating_point – This parameter can be one or a combination of the following values:
-
hal_syscfg_it_fpu_status_t
HAL_SYSCFG_IsEnabledFPUIT
(
uint32_t
floating_point
)
-
Check that floating point unit interrupts is enabled.
- Parameters :
-
floating_point – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_it_fpu_status_t – Floating point interrupt status.
-
- group SYSCFG_Exported_Functions_Group2
-
This section provides functions allowing to manage the floating point interrupts:
-
Call HAL_SYSCFG_EnableFPUIT() to enable floating point unit interrupts.
-
Call HAL_SYSCFG_DisableFPUIT() to disable floating point unit Interrupts.
-
Call HAL_SYSCFG_IsEnabledFPUIT() to check that floating point unit Interrupts is enabled.
Functions
-
void
HAL_SYSCFG_EnableFPUIT
(
uint32_t
floating_point
)
-
Enable the floating point unit interrupts.
- Parameters :
-
floating_point – This parameter can be one or a combination of the following values:
-
void
HAL_SYSCFG_DisableFPUIT
(
uint32_t
floating_point
)
-
Disable the floating point unit interrupts.
- Parameters :
-
floating_point – This parameter can be one or a combination of the following values:
-
hal_syscfg_it_fpu_status_t
HAL_SYSCFG_IsEnabledFPUIT
(
uint32_t
floating_point
)
-
Check that floating point unit interrupts is enabled.
- Parameters :
-
floating_point – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_it_fpu_status_t – Floating point interrupt status.
-
TIM break inputs management functions ¶
- group SYSCFG_Exported_Functions_Group3
-
This section provides functions allowing to manage the TIM break inputs:
-
Call HAL_SYSCFG_EnableTIMBreakInputs() to enable the TIM break inputs.
-
Call HAL_SYSCFG_IsEnabledTIMBreakInputs() to check that the TIM break inputs is enabled.
-
Note: The TIM break inputs deactivation can only be done by a hardware reset.
Functions
-
void
HAL_SYSCFG_EnableTIMBreakInputs
(
uint32_t
break_input
)
¶
-
Enable the TIM break inputs.
Note
The TIM break input deactivation can only be done by a hardware reset.
- Parameters :
-
break_input – This parameter can be one or a combination of the following values:
-
hal_syscfg_tim_break_input_status_t
HAL_SYSCFG_IsEnabledTIMBreakInputs
(
uint32_t
break_input
)
¶
-
Check that TIM break inputs is enabled.
- Parameters :
-
break_input – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_tim_break_input_status_t – TIM break inputs status.
-
- group SYSCFG_Exported_Functions_Group3
-
This section provides functions allowing to manage the TIM break inputs:
-
Call HAL_SYSCFG_EnableTIMBreakInputs() to enable the TIM break inputs.
-
Call HAL_SYSCFG_IsEnabledTIMBreakInputs() to check that the TIM break inputs is enabled.
-
Note: The TIM break inputs deactivation can only be done by a hardware reset.
Functions
-
void
HAL_SYSCFG_EnableTIMBreakInputs
(
uint32_t
break_input
)
-
Enable the TIM break inputs.
Note
The TIM break input deactivation can only be done by a hardware reset.
- Parameters :
-
break_input – This parameter can be one or a combination of the following values:
-
hal_syscfg_tim_break_input_status_t
HAL_SYSCFG_IsEnabledTIMBreakInputs
(
uint32_t
break_input
)
-
Check that TIM break inputs is enabled.
- Parameters :
-
break_input – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_tim_break_input_status_t – TIM break inputs status.
-
- group SYSCFG_Exported_Functions_Group3
-
This section provides functions allowing to manage the TIM break inputs:
-
Call HAL_SYSCFG_EnableTIMBreakInputs() to enable the TIM break inputs.
-
Call HAL_SYSCFG_IsEnabledTIMBreakInputs() to check that the TIM break inputs is enabled.
-
Note: The TIM break inputs deactivation can only be done by a hardware reset.
Functions
-
void
HAL_SYSCFG_EnableTIMBreakInputs
(
uint32_t
break_input
)
-
Enable the TIM break inputs.
Note
The TIM break input deactivation can only be done by a hardware reset.
- Parameters :
-
break_input – This parameter can be one or a combination of the following values:
-
hal_syscfg_tim_break_input_status_t
HAL_SYSCFG_IsEnabledTIMBreakInputs
(
uint32_t
break_input
)
-
Check that TIM break inputs is enabled.
- Parameters :
-
break_input – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_tim_break_input_status_t – TIM break inputs status.
-
Compensation cell control functions ¶
- group SYSCFG_Exported_Functions_Group4
-
This section provides functions allowing to control the compensation cell:
-
Call HAL_SYSCFG_SetConfigCompensationCellCode() to configure the code selection for each compensation cell.
-
Call HAL_SYSCFG_GetConfigCompensationCellCode() to get the compensation cell code.
-
Call HAL_SYSCFG_EnableCompensationCell() to enable the I/O compensation cell.
-
Call HAL_SYSCFG_DisableCompensationCell() to disable the I/O compensation cell.
-
Call HAL_SYSCFG_IsEnabledCompensationCell() to check that I/O compensation cell is enabled.
Functions
-
void
HAL_SYSCFG_SetConfigCompensationCellCode
(
uint32_t
comp_cell
,
hal_syscfg_ccell_code_t
code_select
)
¶
-
Configure the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one or a combination of the following values:
-
code_select – This parameter can be one of the following values:
-
-
hal_syscfg_ccell_code_t
HAL_SYSCFG_GetConfigCompensationCellCode
(
uint32_t
comp_cell
)
¶
-
Get the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_ccell_code_t – Compensation cell code.
-
hal_status_t
HAL_SYSCFG_EnableCompensationCell
(
uint32_t
comp_cell
)
¶
-
Enable the I/O compensation cell.
Note
(*) value not defined in all devices
Warning
Before enabling the VDDIO2 compensation cell, it is mandatory to ensure that the independent IO2 supply is enabled through the use of the HAL_PWR_EnableIndependentVddIO2Supply() function
- Parameters :
-
comp_cell – This parameter can be one or a combination of the following values:
- Return values :
-
hal_status_t – Compensation cell status.
-
void
HAL_SYSCFG_DisableCompensationCell
(
uint32_t
comp_cell
)
¶
-
Disable the I/O compensation cell.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one or a combination of the following values:
-
hal_syscfg_ccell_status_t
HAL_SYSCFG_IsEnabledCompensationCell
(
uint32_t
comp_cell
)
¶
-
Check that I/O compensation cell is enabled.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_ccell_status_t – I/O Compensation cell status.
-
- group SYSCFG_Exported_Functions_Group4
-
This section provides functions allowing to control the compensation cell:
-
Call HAL_SYSCFG_SetConfigCompensationCellCode() to configure the code selection for each compensation cell.
-
Call HAL_SYSCFG_GetConfigCompensationCellCode() to get the compensation cell code.
-
Call HAL_SYSCFG_EnableCompensationCell() to enable the I/O compensation cell.
-
Call HAL_SYSCFG_DisableCompensationCell() to disable the I/O compensation cell.
-
Call HAL_SYSCFG_IsEnabledCompensationCell() to check that I/O compensation cell is enabled.
Functions
-
void
HAL_SYSCFG_SetConfigCompensationCellCode
(
uint32_t
comp_cell
,
hal_syscfg_ccell_code_t
code_select
)
-
Configure the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one or a combination of the following values:
-
code_select – This parameter can be one of the following values:
-
-
hal_syscfg_ccell_code_t
HAL_SYSCFG_GetConfigCompensationCellCode
(
uint32_t
comp_cell
)
-
Get the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_ccell_code_t – Compensation cell code.
-
hal_status_t
HAL_SYSCFG_EnableCompensationCell
(
uint32_t
comp_cell
)
-
Enable the I/O compensation cell.
Note
(*) value not defined in all devices
Warning
Before enabling the VDDIO2 compensation cell, it is mandatory to ensure that the independent IO2 supply is enabled through the use of the HAL_PWR_EnableIndependentVddIO2Supply() function
- Parameters :
-
comp_cell – This parameter can be one or a combination of the following values:
- Return values :
-
hal_status_t – Compensation cell status.
-
void
HAL_SYSCFG_DisableCompensationCell
(
uint32_t
comp_cell
)
-
Disable the I/O compensation cell.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one or a combination of the following values:
-
hal_syscfg_ccell_status_t
HAL_SYSCFG_IsEnabledCompensationCell
(
uint32_t
comp_cell
)
-
Check that I/O compensation cell is enabled.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_ccell_status_t – I/O Compensation cell status.
-
- group SYSCFG_Exported_Functions_Group4
-
This section provides functions allowing to control the compensation cell:
-
Call HAL_SYSCFG_SetConfigCompensationCellCode() to configure the code selection for each compensation cell.
-
Call HAL_SYSCFG_GetConfigCompensationCellCode() to get the compensation cell code.
-
Call HAL_SYSCFG_EnableCompensationCell() to enable the I/O compensation cell.
-
Call HAL_SYSCFG_DisableCompensationCell() to disable the I/O compensation cell.
-
Call HAL_SYSCFG_IsEnabledCompensationCell() to check that I/O compensation cell is enabled.
Functions
-
void
HAL_SYSCFG_SetConfigCompensationCellCode
(
uint32_t
comp_cell
,
hal_syscfg_ccell_code_t
code_select
)
-
Configure the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one or a combination of the following values:
-
code_select – This parameter can be one of the following values:
-
-
hal_syscfg_ccell_code_t
HAL_SYSCFG_GetConfigCompensationCellCode
(
uint32_t
comp_cell
)
-
Get the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_ccell_code_t – Compensation cell code.
-
hal_status_t
HAL_SYSCFG_EnableCompensationCell
(
uint32_t
comp_cell
)
-
Enable the I/O compensation cell.
Note
(*) value not defined in all devices
Warning
Before enabling the VDDIO2 compensation cell, it is mandatory to ensure that the independent IO2 supply is enabled through the use of the HAL_PWR_EnableIndependentVddIO2Supply() function
- Parameters :
-
comp_cell – This parameter can be one or a combination of the following values:
- Return values :
-
hal_status_t – Compensation cell status.
-
void
HAL_SYSCFG_DisableCompensationCell
(
uint32_t
comp_cell
)
-
Disable the I/O compensation cell.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one or a combination of the following values:
-
hal_syscfg_ccell_status_t
HAL_SYSCFG_IsEnabledCompensationCell
(
uint32_t
comp_cell
)
-
Check that I/O compensation cell is enabled.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
hal_syscfg_ccell_status_t – I/O Compensation cell status.
-
Compensation code management functions ¶
- group SYSCFG_Exported_Functions_Group5
-
This section provides functions allowing to manage backup domain write protection:
-
Call HAL_SYSCFG_GetPMOSCompensationCellValue() to get the PMOS compensation value of selected compensation cell.
-
Call HAL_SYSCFG_GetNMOSCompensationCellValue() to get the NMOS compensation value of selected compensation cell.
-
Call HAL_SYSCFG_SetxMOSCompensationCellCode() to set the compensation cell code.
-
Call HAL_SYSCFG_GetxMOSCompensationCellCode() to get the compensation cell code.
Functions
-
uint32_t
HAL_SYSCFG_GetPMOSCompensationCellValue
(
uint32_t
comp_cell
)
¶
-
Get the PMOS compensation value.
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
-
uint32_t
HAL_SYSCFG_GetNMOSCompensationCellValue
(
uint32_t
comp_cell
)
¶
-
Get the NMOS compensation value of selected compensation cell.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
uint32_t – Value of the NMOS compensation cell
-
void
HAL_SYSCFG_SetxMOSCompensationCellCode
(
uint32_t
comp_cell
,
uint32_t
pmos_code
,
uint32_t
nmos_code
)
¶
-
Set the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one or a combination of the following values:
-
pmos_code – Applied PMOS value of compensation cell
-
nmos_code – Applied NMOS value of compensation cell
-
-
void
HAL_SYSCFG_GetxMOSCompensationCellCode
(
uint32_t
comp_cell
,
uint32_t
*
p_pmos_code
,
uint32_t
*
p_nmos_code
)
¶
-
Get the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one of the following values:
-
p_pmos_code – Pointer to PMOS register of selected compensation cell
-
p_nmos_code – Pointer to NMOS register of selected compensation cell
-
-
- group SYSCFG_Exported_Functions_Group5
-
This section provides functions allowing to manage backup domain write protection:
-
Call HAL_SYSCFG_GetPMOSCompensationCellValue() to get the PMOS compensation value of selected compensation cell.
-
Call HAL_SYSCFG_GetNMOSCompensationCellValue() to get the NMOS compensation value of selected compensation cell.
-
Call HAL_SYSCFG_SetxMOSCompensationCellCode() to set the compensation cell code.
-
Call HAL_SYSCFG_GetxMOSCompensationCellCode() to get the compensation cell code.
Functions
-
uint32_t
HAL_SYSCFG_GetPMOSCompensationCellValue
(
uint32_t
comp_cell
)
-
Get the PMOS compensation value.
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
-
uint32_t
HAL_SYSCFG_GetNMOSCompensationCellValue
(
uint32_t
comp_cell
)
-
Get the NMOS compensation value of selected compensation cell.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
uint32_t – Value of the NMOS compensation cell
-
void
HAL_SYSCFG_SetxMOSCompensationCellCode
(
uint32_t
comp_cell
,
uint32_t
pmos_code
,
uint32_t
nmos_code
)
-
Set the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one or a combination of the following values:
-
pmos_code – Applied PMOS value of compensation cell
-
nmos_code – Applied NMOS value of compensation cell
-
-
void
HAL_SYSCFG_GetxMOSCompensationCellCode
(
uint32_t
comp_cell
,
uint32_t
*
p_pmos_code
,
uint32_t
*
p_nmos_code
)
-
Get the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one of the following values:
-
p_pmos_code – Pointer to PMOS register of selected compensation cell
-
p_nmos_code – Pointer to NMOS register of selected compensation cell
-
-
- group SYSCFG_Exported_Functions_Group5
-
This section provides functions allowing to manage backup domain write protection:
-
Call HAL_SYSCFG_GetPMOSCompensationCellValue() to get the PMOS compensation value of selected compensation cell.
-
Call HAL_SYSCFG_GetNMOSCompensationCellValue() to get the NMOS compensation value of selected compensation cell.
-
Call HAL_SYSCFG_SetxMOSCompensationCellCode() to set the compensation cell code.
-
Call HAL_SYSCFG_GetxMOSCompensationCellCode() to get the compensation cell code.
Functions
-
uint32_t
HAL_SYSCFG_GetPMOSCompensationCellValue
(
uint32_t
comp_cell
)
-
Get the PMOS compensation value.
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
-
uint32_t
HAL_SYSCFG_GetNMOSCompensationCellValue
(
uint32_t
comp_cell
)
-
Get the NMOS compensation value of selected compensation cell.
Note
(*) value not defined in all devices
- Parameters :
-
comp_cell – This parameter can be one of the following values:
- Return values :
-
uint32_t – Value of the NMOS compensation cell
-
void
HAL_SYSCFG_SetxMOSCompensationCellCode
(
uint32_t
comp_cell
,
uint32_t
pmos_code
,
uint32_t
nmos_code
)
-
Set the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one or a combination of the following values:
-
pmos_code – Applied PMOS value of compensation cell
-
nmos_code – Applied NMOS value of compensation cell
-
-
void
HAL_SYSCFG_GetxMOSCompensationCellCode
(
uint32_t
comp_cell
,
uint32_t
*
p_pmos_code
,
uint32_t
*
p_nmos_code
)
-
Get the compensation cell code.
Note
(*) value not defined in all devices
- Parameters :
-
-
comp_cell – This parameter can be one of the following values:
-
p_pmos_code – Pointer to PMOS register of selected compensation cell
-
p_nmos_code – Pointer to NMOS register of selected compensation cell
-
-
USB HS PHY management functions ¶
- group SYSCFG_Exported_Functions_Group6
-
This section provides functions allowing to manage the USB HS PHY:
-
Call HAL_SYSCFG_EnableUSBHSPHY() to enable the USB HS PHY.
-
Call HAL_SYSCFG_DisableUSBHSPHY() to disable the USB HS PHY.
-
Call HAL_SYSCFG_IsEnabledUSBHSPHY() to check that USB HS PHY is enabled.
-
Call HAL_SYSCFG_EnableUSBHSPHYPowerDown() to enable the USB HS PHY power down control.
-
Call HAL_SYSCFG_DisableUSBHSPHYPowerDown() to disable the USB HS PHY power down control.
-
Call HAL_SYSCFG_IsEnabledUSBHSPHYPowerDown() to check that USB HS PHY power down is enabled.
-
Call HAL_SYSCFG_SetUSBHSPHYReferenceClockFrequency() to set the USB HS PHY reference clock frequency selection.
-
Call HAL_SYSCFG_GetUSBHSPHYReferenceClockFrequency() to get the USB HS PHY reference clock frequency selection.
Functions
-
void
HAL_SYSCFG_EnableUSBHSPHY
(
void
)
¶
-
Enable the USB HS PHY feature.
-
void
HAL_SYSCFG_DisableUSBHSPHY
(
void
)
¶
-
Disable the USB HS PHY feature.
-
hal_syscfg_usbhsphy_status_t
HAL_SYSCFG_IsEnabledUSBHSPHY
(
void
)
¶
-
Check that USB HS PHY is enabled.
- Return values :
-
hal_syscfg_usbhsphy_status_t – USB HS PHY status.
-
void
HAL_SYSCFG_EnableUSBHSPHYPowerDown
(
void
)
¶
-
Enable the USB HS PHY Power Down control.
-
void
HAL_SYSCFG_DisableUSBHSPHYPowerDown
(
void
)
¶
-
Disable the USB HS PHY Power Down control.
-
hal_syscfg_usbhsphy_power_down_status_t
HAL_SYSCFG_IsEnabledUSBHSPHYPowerDown
(
void
)
¶
-
Check that USB HS PHY power down control is enabled.
- Return values :
-
hal_syscfg_usbhsphy_power_down_status_t – USB HS PHY power down control status.
-
void
HAL_SYSCFG_SetUSBHSPHYReferenceClockFrequency
(
hal_syscfg_usbhsphy_frequency_t
clk_frequency
)
¶
-
Set the USB HS PHY reference clock frequency selection.
- Parameters :
-
clk_frequency – This parameter can be one of the following values:
-
hal_syscfg_usbhsphy_frequency_t
HAL_SYSCFG_GetUSBHSPHYReferenceClockFrequency
(
void
)
¶
-
Get the USB PHY reference clock frequency selection.
- Return values :
-
hal_syscfg_usbhsphy_frequency_t – Reference clock frequency.
-
- group SYSCFG_Exported_Functions_Group6
-
This section provides functions allowing to manage the USB HS PHY:
-
Call HAL_SYSCFG_EnableUSBHSPHY() to enable the USB HS PHY.
-
Call HAL_SYSCFG_DisableUSBHSPHY() to disable the USB HS PHY.
-
Call HAL_SYSCFG_IsEnabledUSBHSPHY() to check that USB HS PHY is enabled.
-
Call HAL_SYSCFG_EnableUSBHSPHYPowerDown() to enable the USB HS PHY power down control.
-
Call HAL_SYSCFG_DisableUSBHSPHYPowerDown() to disable the USB HS PHY power down control.
-
Call HAL_SYSCFG_IsEnabledUSBHSPHYPowerDown() to check that USB HS PHY power down is enabled.
-
Call HAL_SYSCFG_SetUSBHSPHYReferenceClockFrequency() to set the USB HS PHY reference clock frequency selection.
-
Call HAL_SYSCFG_GetUSBHSPHYReferenceClockFrequency() to get the USB HS PHY reference clock frequency selection.
Functions
-
void
HAL_SYSCFG_EnableUSBHSPHY
(
void
)
-
Enable the USB HS PHY feature.
-
void
HAL_SYSCFG_DisableUSBHSPHY
(
void
)
-
Disable the USB HS PHY feature.
-
hal_syscfg_usbhsphy_status_t
HAL_SYSCFG_IsEnabledUSBHSPHY
(
void
)
-
Check that USB HS PHY is enabled.
- Return values :
-
hal_syscfg_usbhsphy_status_t – USB HS PHY status.
-
void
HAL_SYSCFG_EnableUSBHSPHYPowerDown
(
void
)
-
Enable the USB HS PHY Power Down control.
-
void
HAL_SYSCFG_DisableUSBHSPHYPowerDown
(
void
)
-
Disable the USB HS PHY Power Down control.
-
hal_syscfg_usbhsphy_power_down_status_t
HAL_SYSCFG_IsEnabledUSBHSPHYPowerDown
(
void
)
-
Check that USB HS PHY power down control is enabled.
- Return values :
-
hal_syscfg_usbhsphy_power_down_status_t – USB HS PHY power down control status.
-
void
HAL_SYSCFG_SetUSBHSPHYReferenceClockFrequency
(
hal_syscfg_usbhsphy_frequency_t
clk_frequency
)
-
Set the USB HS PHY reference clock frequency selection.
- Parameters :
-
clk_frequency – This parameter can be one of the following values:
-
hal_syscfg_usbhsphy_frequency_t
HAL_SYSCFG_GetUSBHSPHYReferenceClockFrequency
(
void
)
-
Get the USB PHY reference clock frequency selection.
- Return values :
-
hal_syscfg_usbhsphy_frequency_t – Reference clock frequency.
-
USB HS PHY tune management functions ¶
- group SYSCFG_Exported_Functions_Group7
-
This section provides functions allowing to manage backup domain write protection:
-
Call HAL_SYSCFG_SetConfigUSBHSPHY() to set all the USB HS PHY tune simultaneously.
-
Call HAL_SYSCFG_GetConfigUSBHSPHY() to get all the USB HS PHY tune simultaneously.
-
Call HAL_SYSCFG_SetUSBHSPHYDisconnectThresholdAdjustment() to set the USB HS PHY Disconnect Threshold adjustment.
-
Call HAL_SYSCFG_GetUSBHSPHYDisconnectThresholdAdjustment() to get the USB HS PHY Disconnect Threshold adjustment.
-
Call HAL_SYSCFG_SetUSBHSPHYSquelchThresholdAdjustment() to set the USB HS PHY squelch threshold adjustment.
-
Call HAL_SYSCFG_GetUSBHSPHYSquelchThresholdAdjustment() to get the USB HS PHY squelch threshold adjustment.
-
Call HAL_SYSCFG_SetUSBHSPHYTransmitterPreemphasisCurrent() to set the USB HS HS PHY transmitter preemphasis current.
-
Call HAL_SYSCFG_GetUSBHSPHYTransmitterPreemphasisCurrent() to get the USB HS HS PHY transmitter preemphasis current.
Functions
-
void
HAL_SYSCFG_SetConfigUSBHSPHY
(
hal_syscfg_disconnect_adjustment_t
disconnect_threshold
,
hal_syscfg_squelch_adjust_t
squelch_threshold
,
hal_syscfg_src_current_t
src_current
)
¶
-
Set all USB HS PHY tune simultaneously.
- Parameters :
-
-
disconnect_threshold – This parameter can be one of the following values:
-
squelch_threshold – This parameter can be one of the following values:
-
src_current – This parameter can be one of the following values:
-
-
void
HAL_SYSCFG_GetConfigUSBHSPHY
(
hal_syscfg_disconnect_adjustment_t
*
p_disconnect_threshold
,
hal_syscfg_squelch_adjust_t
*
p_squelch_threshold
,
hal_syscfg_src_current_t
*
p_src_current
)
¶
-
Get the USB HS PHY tune.
- Parameters :
-
-
p_disconnect_threshold – This parameter is a pointer of hal_syscfg_disconnect_adjustment_t enumeration.
-
p_squelch_threshold – This parameter is a pointer of hal_syscfg_squelch_adjust_t enumeration.
-
p_src_current – This parameter is a pointer of hal_syscfg_src_current_t enumeration.
-
-
void
HAL_SYSCFG_SetUSBHSPHYDisconnectThresholdAdjustment
(
hal_syscfg_disconnect_adjustment_t
disconnect_threshold
)
¶
-
Set the USB HS PHY disconnect threshold adjustment.
- Parameters :
-
disconnect_threshold – This parameter can be one of the following values:
-
hal_syscfg_disconnect_adjustment_t
HAL_SYSCFG_GetUSBHSPHYDisconnectThresholdAdjustment
(
void
)
¶
-
Get the USB HS PHY disconnect Threshold adjustment.
- Return values :
-
hal_syscfg_disconnect_adjustment_t – Disconnect threshold adjustment value.
-
void
HAL_SYSCFG_SetUSBHSPHYSquelchThresholdAdjustment
(
hal_syscfg_squelch_adjust_t
squelch_threshold
)
¶
-
Adjust the voltage level for the threshold used to detect valid high speed data.
- Parameters :
-
squelch_threshold – This parameter can be one of the following values:
-
hal_syscfg_squelch_adjust_t
HAL_SYSCFG_GetUSBHSPHYSquelchThresholdAdjustment
(
void
)
¶
-
Get the USB HS PHY disconnect threshold adjustment.
- Return values :
-
hal_syscfg_squelch_adjust_t – Squelch threshold adjustment value.
-
void
HAL_SYSCFG_SetUSBHSPHYTransmitterPreemphasisCurrent
(
hal_syscfg_src_current_t
src_current
)
¶
-
Set the USB HS PHY transmitter preemphasis Current control.
- Parameters :
-
src_current – This parameter can be one of the following values:
-
hal_syscfg_src_current_t
HAL_SYSCFG_GetUSBHSPHYTransmitterPreemphasisCurrent
(
void
)
¶
-
Get the USB HS PHY transmitter preemphasis Current control.
- Return values :
-
hal_syscfg_src_current_t – Transmitter preemphasis Current control.
-
- group SYSCFG_Exported_Functions_Group7
-
This section provides functions allowing to manage backup domain write protection:
-
Call HAL_SYSCFG_SetConfigUSBHSPHY() to set all the USB HS PHY tune simultaneously.
-
Call HAL_SYSCFG_GetConfigUSBHSPHY() to get all the USB HS PHY tune simultaneously.
-
Call HAL_SYSCFG_SetUSBHSPHYDisconnectThresholdAdjustment() to set the USB HS PHY Disconnect Threshold adjustment.
-
Call HAL_SYSCFG_GetUSBHSPHYDisconnectThresholdAdjustment() to get the USB HS PHY Disconnect Threshold adjustment.
-
Call HAL_SYSCFG_SetUSBHSPHYSquelchThresholdAdjustment() to set the USB HS PHY squelch threshold adjustment.
-
Call HAL_SYSCFG_GetUSBHSPHYSquelchThresholdAdjustment() to get the USB HS PHY squelch threshold adjustment.
-
Call HAL_SYSCFG_SetUSBHSPHYTransmitterPreemphasisCurrent() to set the USB HS HS PHY transmitter preemphasis current.
-
Call HAL_SYSCFG_GetUSBHSPHYTransmitterPreemphasisCurrent() to get the USB HS HS PHY transmitter preemphasis current.
Functions
-
void
HAL_SYSCFG_SetConfigUSBHSPHY
(
hal_syscfg_disconnect_adjustment_t
disconnect_threshold
,
hal_syscfg_squelch_adjust_t
squelch_threshold
,
hal_syscfg_src_current_t
src_current
)
-
Set all USB HS PHY tune simultaneously.
- Parameters :
-
-
disconnect_threshold – This parameter can be one of the following values:
-
squelch_threshold – This parameter can be one of the following values:
-
src_current – This parameter can be one of the following values:
-
-
void
HAL_SYSCFG_GetConfigUSBHSPHY
(
hal_syscfg_disconnect_adjustment_t
*
p_disconnect_threshold
,
hal_syscfg_squelch_adjust_t
*
p_squelch_threshold
,
hal_syscfg_src_current_t
*
p_src_current
)
-
Get the USB HS PHY tune.
- Parameters :
-
-
p_disconnect_threshold – This parameter is a pointer of hal_syscfg_disconnect_adjustment_t enumeration.
-
p_squelch_threshold – This parameter is a pointer of hal_syscfg_squelch_adjust_t enumeration.
-
p_src_current – This parameter is a pointer of hal_syscfg_src_current_t enumeration.
-
-
void
HAL_SYSCFG_SetUSBHSPHYDisconnectThresholdAdjustment
(
hal_syscfg_disconnect_adjustment_t
disconnect_threshold
)
-
Set the USB HS PHY disconnect threshold adjustment.
- Parameters :
-
disconnect_threshold – This parameter can be one of the following values:
-
hal_syscfg_disconnect_adjustment_t
HAL_SYSCFG_GetUSBHSPHYDisconnectThresholdAdjustment
(
void
)
-
Get the USB HS PHY disconnect Threshold adjustment.
- Return values :
-
hal_syscfg_disconnect_adjustment_t – Disconnect threshold adjustment value.
-
void
HAL_SYSCFG_SetUSBHSPHYSquelchThresholdAdjustment
(
hal_syscfg_squelch_adjust_t
squelch_threshold
)
-
Adjust the voltage level for the threshold used to detect valid high speed data.
- Parameters :
-
squelch_threshold – This parameter can be one of the following values:
-
hal_syscfg_squelch_adjust_t
HAL_SYSCFG_GetUSBHSPHYSquelchThresholdAdjustment
(
void
)
-
Get the USB HS PHY disconnect threshold adjustment.
- Return values :
-
hal_syscfg_squelch_adjust_t – Squelch threshold adjustment value.
-
void
HAL_SYSCFG_SetUSBHSPHYTransmitterPreemphasisCurrent
(
hal_syscfg_src_current_t
src_current
)
-
Set the USB HS PHY transmitter preemphasis Current control.
- Parameters :
-
src_current – This parameter can be one of the following values:
-
hal_syscfg_src_current_t
HAL_SYSCFG_GetUSBHSPHYTransmitterPreemphasisCurrent
(
void
)
-
Get the USB HS PHY transmitter preemphasis Current control.
- Return values :
-
hal_syscfg_src_current_t – Transmitter preemphasis Current control.
-