HAL SBS Overview ¶
Introducing SBS ¶
- group SBS_Introduction
-
The System configuration, Boot and Security (SBS) hardware abstraction layer provides a set of APIs to interface with the STM32 SBS.
The SBS includes the following features:
Manage the I/O compensation cell.
Activate and deactivate the connection to TIM1.
Activate and deactivate the FPU interrupts.
Manage the compensation cells.
Activate and deactivate the NMI generation when a double ECC error occurs on FLASH.
Lock the core registers.
Get and clear the memory erase flags.
Set and get the ethernet external phy interrupt polarity and the ethernet phy interface.
Activate and deactivate the ADC channel pin remap.
Module and files ¶
The following diagram illustrates the SBS module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the SBS module. It shows the interactions between the user application, HAL drivers, low-level drivers, and the hardware components.
Configuration table ¶
The following table lists the configuration defines for the HAL SBS module, specifying their locations, default values, and descriptions:
- group SBS_Configuration_Table
-
Configuration inside the SBS driver ¶
Config defines
Description
Default value
Note
USE_HAL_SBS_MODULE
from hal_conf.h
1U
When set to 1, the HAL SBS module is enabled.
USE_ASSERT_DBG_PARAM
from IDE
None
When defined, enable the params assert.