Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Peripheral State and Errors functions
[SMARTCARD Exported Functions]
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. |
Detailed Description
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.
Function Documentation
uint32_t HAL_SMARTCARD_GetError | ( | SMARTCARD_HandleTypeDef * | hsmartcard ) |
Return the SMARTCARD handle error code.
- Parameters:
-
hsmartcard,: Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
- Return values:
-
SMARTCARD handle Error Code
Definition at line 989 of file stm32l4xx_hal_smartcard.c.
HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState | ( | SMARTCARD_HandleTypeDef * | hsmartcard ) |
Return the SMARTCARD handle state.
- Parameters:
-
hsmartcard,: Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
- Return values:
-
SMARTCARD handle state
Definition at line 974 of file stm32l4xx_hal_smartcard.c.
Generated on Tue Jul 12 2022 17:38:54 by
