|
STM32F479xx HAL User Manual
|
SMARTCARD State and Errors functions. More...
Functions | |
| HAL_SMARTCARD_StateTypeDef | HAL_SMARTCARD_GetState (SMARTCARD_HandleTypeDef *hsc) |
| Return the SMARTCARD handle state. | |
| uint32_t | HAL_SMARTCARD_GetError (SMARTCARD_HandleTypeDef *hsc) |
| Return the SMARTCARD error code. | |
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.
| uint32_t HAL_SMARTCARD_GetError | ( | SMARTCARD_HandleTypeDef * | hsc | ) |
Return the SMARTCARD error code.
| hsc | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD. |
| SMARTCARD | Error Code |
Definition at line 1798 of file stm32f4xx_hal_smartcard.c.
References __SMARTCARD_HandleTypeDef::ErrorCode.
Return the SMARTCARD handle state.
| hsc | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for SMARTCARD module. |
| HAL | state |
Definition at line 1783 of file stm32f4xx_hal_smartcard.c.
References __SMARTCARD_HandleTypeDef::gState, and __SMARTCARD_HandleTypeDef::RxState.
1.7.6.1