|
STM32L443xx HAL User Manual
|
SMARTCARD State and Errors functions. More...
Functions | |
| HAL_SMARTCARD_StateTypeDef | HAL_SMARTCARD_GetState (SMARTCARD_HandleTypeDef *hsmartcard) |
| Return the SMARTCARD handle state. | |
| uint32_t | HAL_SMARTCARD_GetError (SMARTCARD_HandleTypeDef *hsmartcard) |
| Return the SMARTCARD handle error code. | |
SMARTCARD State and Errors functions.
==============================================================================
##### Peripheral State and Errors functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to return the State of SmartCard
handle and also return Peripheral Errors occurred during communication process
(+) HAL_SMARTCARD_GetState() API can be helpful to check in run-time the state
of the SMARTCARD peripheral.
(+) HAL_SMARTCARD_GetError() checks in run-time errors that could occur during
communication.
| uint32_t HAL_SMARTCARD_GetError | ( | SMARTCARD_HandleTypeDef * | hsmartcard | ) |
Return the SMARTCARD handle error code.
| hsmartcard | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. |
| SMARTCARD | handle Error Code |
Definition at line 2406 of file stm32l4xx_hal_smartcard.c.
References __SMARTCARD_HandleTypeDef::ErrorCode.
| HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState | ( | SMARTCARD_HandleTypeDef * | hsmartcard | ) |
Return the SMARTCARD handle state.
| hsmartcard | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. |
| SMARTCARD | handle state |
Definition at line 2389 of file stm32l4xx_hal_smartcard.c.
References __SMARTCARD_HandleTypeDef::gState, and __SMARTCARD_HandleTypeDef::RxState.
1.7.6.1