HAL SYSCFG How to Use

group SYSCFG_How_To_Use

SYSCFG peripheral overview

The System Configuration Controller peripheral (SYSCFG) allows configuring and managing various system parameters.

This file provides firmware functions to manage the following functionalities :

  • Enabling/disabling the FMP high-drive mode of some I/Os and voltage booster for I/Os analog switches.

  • Adjust the HSPI supply capacitance.

  • Enabling/disabling the internal SRAMs cacheability by DCACHE2.

  • Configuring FPU interrupts.

  • Managing the I/O compensation cell.

  • Configuring the USB HS PHY.

  • Managing robustness feature.

How to use the SYSCFG HAL module driver

The SYSCFG HAL driver can be used as follows:

After startup, SYSCFG peripheral is not active by default. Use HAL_RCC_SYSCFG_EnableClock() function to enable SYSCFG APB3 clock.

This module provides 7 different sets of APIs that allows to :

  1. General management : This section provides global functions that can be used for various purposes

  2. Manage floating point unit interrupts : Several APIs are available to manage the floating point unit interrupts

  3. Manage TIM break inputs : This feature is used to control the system break interconnect to TIM1/8/15/16/17 break inputs

  4. Control the compensation cell : The SYSCFG can be configured to manage the compensation cell

  5. Manage the compensation code : Several APIs are available to mange the compensation code

  6. USB HS PHY configuration: Several APIs are available to control the USB HS PHY

  7. Control USB HS PHY tune: Several APIs are available to control the USB HS PHY