SMARTCARD State and Errors functions.
More...
SMARTCARD State and Errors functions.
===============================================================================
##### Peripheral State and Errors functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to control the SmartCard.
(+) HAL_SMARTCARD_GetState() API can be helpful to check in run-time the state of the SmartCard peripheral.
(+) HAL_SMARTCARD_GetError() check in run-time errors that could be occurred during communication.
◆ HAL_SMARTCARD_GetError()
Return the SMARTCARD error code.
- Parameters
-
hsc | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD. |
- Return values
-
Definition at line 1793 of file stm32f4xx_hal_smartcard.c.
◆ HAL_SMARTCARD_GetState()
Return the SMARTCARD handle state.
- Parameters
-
hsc | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for SMARTCARD module. |
- Return values
-
Definition at line 1778 of file stm32f4xx_hal_smartcard.c.