STM32F4xx_HAL_Driver  1.8.3
Peripheral State and Errors functions

SMARTCARD State and Errors functions. More...

+ Collaboration diagram for Peripheral State and Errors functions:

Functions

HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState (const SMARTCARD_HandleTypeDef *hsc)
 Return the SMARTCARD handle state. More...
 
uint32_t HAL_SMARTCARD_GetError (const SMARTCARD_HandleTypeDef *hsc)
 Return the SMARTCARD error code. More...
 

Detailed Description

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.

Function Documentation

◆ HAL_SMARTCARD_GetError()

uint32_t HAL_SMARTCARD_GetError ( const SMARTCARD_HandleTypeDef hsc)

Return the SMARTCARD error code.

Parameters
hscPointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD.
Return values
SMARTCARDError Code

Definition at line 1793 of file stm32f4xx_hal_smartcard.c.

◆ HAL_SMARTCARD_GetState()

HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState ( const SMARTCARD_HandleTypeDef hsc)

Return the SMARTCARD handle state.

Parameters
hscPointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for SMARTCARD module.
Return values
HALstate

Definition at line 1778 of file stm32f4xx_hal_smartcard.c.