HAL SMARTCARD Overview ¶
Introducing SMARTCARD ¶
- group SMARTCARD_Introduction
-
-
This introduction is under development.
-
Module and files ¶
The following diagram illustrates the SMARTCARD module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the SMARTCARD 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 SMARTCARD module, specifying their locations, default values, and descriptions:
- group SMARTCARD_Configuration_Table
-
¶
Configuration inside the SMARTCARD driver ¶
Config defines
Description
Default value
Note
USE_HAL_SMARTCARD_CLK_ENABLE_MODEL
from hal_conf.h
HAL_CLK_ENABLE_NO
Enable the gating of the peripheral clock
USE_HAL_SMARTCARD_MODULE
from hal_conf.h
1
When set, HAL SMARTCARD module is enabled
USE_HAL_SMARTCARD_GET_LAST_ERRORS
from hal_conf.h
0
Enable the get last process error
USE_HAL_SMARTCARD_USER_DATA
from hal_conf.h
0
Enable the set/get user data
USE_HAL_SMARTCARD_REGISTER_CALLBACKS
from hal_conf.h
0
Enable the register callbacks assert
USE_HAL_CHECK_PARAM
from hal_conf.h
0
Parameters (pointers or sizes) are checked in runtime
USE_HAL_CHECK_PROCESS_STATE
from hal_conf.h
0
Enable atomic access to process state check
USE_HAL_MUTEX
from hal_conf.h
0
Enable the acquire/release bus services
USE_HAL_SMARTCARD_DMA
from hal_conf.h
1
Enable the DMA feature
USE_HAL_SMARTCARD_FIFO
from hal_conf.h
1
Enable the FIFO feature
USE_ASSERT_DBG_PARAM
from PreProcessor env
NA
Enable the params assert
USE_ASSERT_DBG_STATE
from PreProcessor env
NA
Enable the state assert