STM32L443xx HAL User Manual
|
Extended control functions. More...
Functions | |
void | HAL_SMARTCARDEx_BlockLength_Config (SMARTCARD_HandleTypeDef *hsmartcard, uint8_t BlockLength) |
Update on the fly the SMARTCARD block length in RTOR register. | |
void | HAL_SMARTCARDEx_TimeOut_Config (SMARTCARD_HandleTypeDef *hsmartcard, uint32_t TimeOutValue) |
Update on the fly the receiver timeout value in RTOR register. | |
HAL_StatusTypeDef | HAL_SMARTCARDEx_EnableReceiverTimeOut (SMARTCARD_HandleTypeDef *hsmartcard) |
Enable the SMARTCARD receiver timeout feature. | |
HAL_StatusTypeDef | HAL_SMARTCARDEx_DisableReceiverTimeOut (SMARTCARD_HandleTypeDef *hsmartcard) |
Disable the SMARTCARD receiver timeout feature. |
Extended control functions.
=============================================================================== ##### Peripheral Control functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to initialize the SMARTCARD. (+) HAL_SMARTCARDEx_BlockLength_Config() API allows to configure the Block Length on the fly (+) HAL_SMARTCARDEx_TimeOut_Config() API allows to configure the receiver timeout value on the fly (+) HAL_SMARTCARDEx_EnableReceiverTimeOut() API enables the receiver timeout feature (+) HAL_SMARTCARDEx_DisableReceiverTimeOut() API disables the receiver timeout feature
void HAL_SMARTCARDEx_BlockLength_Config | ( | SMARTCARD_HandleTypeDef * | hsmartcard, |
uint8_t | BlockLength | ||
) |
Update on the fly the SMARTCARD block length in RTOR register.
hsmartcard | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. |
BlockLength | SMARTCARD block length (8-bit long at most) |
None |
Definition at line 106 of file stm32l4xx_hal_smartcard_ex.c.
References __SMARTCARD_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_SMARTCARDEx_DisableReceiverTimeOut | ( | SMARTCARD_HandleTypeDef * | hsmartcard | ) |
Disable the SMARTCARD receiver timeout feature.
hsmartcard | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. |
HAL | status |
Definition at line 159 of file stm32l4xx_hal_smartcard_ex.c.
References __SMARTCARD_HandleTypeDef::gState, HAL_SMARTCARD_STATE_BUSY, HAL_SMARTCARD_STATE_READY, and __SMARTCARD_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_SMARTCARDEx_EnableReceiverTimeOut | ( | SMARTCARD_HandleTypeDef * | hsmartcard | ) |
Enable the SMARTCARD receiver timeout feature.
hsmartcard | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. |
HAL | status |
Definition at line 129 of file stm32l4xx_hal_smartcard_ex.c.
References __SMARTCARD_HandleTypeDef::gState, HAL_SMARTCARD_STATE_BUSY, HAL_SMARTCARD_STATE_READY, and __SMARTCARD_HandleTypeDef::Instance.
void HAL_SMARTCARDEx_TimeOut_Config | ( | SMARTCARD_HandleTypeDef * | hsmartcard, |
uint32_t | TimeOutValue | ||
) |
Update on the fly the receiver timeout value in RTOR register.
hsmartcard | Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module. |
TimeOutValue | receiver timeout value in number of baud blocks. The timeout value must be less or equal to 0x0FFFFFFFF. |
None |
Definition at line 118 of file stm32l4xx_hal_smartcard_ex.c.
References assert_param, __SMARTCARD_HandleTypeDef::Init, __SMARTCARD_HandleTypeDef::Instance, IS_SMARTCARD_TIMEOUT_VALUE, and SMARTCARD_InitTypeDef::TimeOutValue.