HAL CRS Overview ¶
Introducing CRS ¶
- group CRS_Introduction
-
-
This introduction is under development.
-
Module and files ¶
The following diagram illustrates the CRS module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the CRS 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 CRS module, specifying their locations, default values, and descriptions:
- group CRS_Configuration_Table
-
¶
Configuration inside the CRS driver: ¶
Config defines
Description
Default value
Note
USE_ASSERT_DBG_PARAM
from Preprocessor env
NONE
Enable check parameters for HAL
USE_ASSERT_DBG_STATE
from Preprocessor env
NONE
Enable check state for HAL
USE_HAL_CHECK_PARAM
from hal_conf.h
0U
When set,parameters are checked in runtime
USE_HAL_CRS_MODULE
from hal_conf.h
1U
Enable the HAL CRS module
USE_HAL_CRS_CLK_ENABLE_MODEL
from hal_conf.h
HAL_CLK_ENABLE_NO
Enable the gating of the peripheral clock
USE_HAL_CRS_GET_LAST_ERRORS
from hal_conf.h
0U
Enable the get last process error
USE_HAL_CRS_REGISTER_CALLBACKS
from hal_conf.h
0U
Allow user to define his own callback
USE_HAL_CRS_USER_DATA
from hal_conf.h
0U
When set, user data is defined in handle