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
Extended Peripheral Control functions
[SMARTCARD Extended Exported Functions]
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. |
Detailed Description
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
Function Documentation
void HAL_SMARTCARDEx_BlockLength_Config | ( | SMARTCARD_HandleTypeDef * | hsmartcard, |
uint8_t | BlockLength | ||
) |
Update on the fly the SMARTCARD block length in RTOR register.
- Parameters:
-
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)
- Return values:
-
None
Definition at line 107 of file stm32l4xx_hal_smartcard_ex.c.
HAL_StatusTypeDef HAL_SMARTCARDEx_DisableReceiverTimeOut | ( | SMARTCARD_HandleTypeDef * | hsmartcard ) |
Disable the SMARTCARD receiver timeout feature.
- Parameters:
-
hsmartcard,: Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
- Return values:
-
HAL status
Definition at line 164 of file stm32l4xx_hal_smartcard_ex.c.
HAL_StatusTypeDef HAL_SMARTCARDEx_EnableReceiverTimeOut | ( | SMARTCARD_HandleTypeDef * | hsmartcard ) |
Enable the SMARTCARD receiver timeout feature.
- Parameters:
-
hsmartcard,: Pointer to a SMARTCARD_HandleTypeDef structure that contains the configuration information for the specified SMARTCARD module.
- Return values:
-
HAL status
Definition at line 132 of file stm32l4xx_hal_smartcard_ex.c.
void HAL_SMARTCARDEx_TimeOut_Config | ( | SMARTCARD_HandleTypeDef * | hsmartcard, |
uint32_t | TimeOutValue | ||
) |
Update on the fly the receiver timeout value in RTOR register.
- Parameters:
-
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.
- Return values:
-
None
Definition at line 120 of file stm32l4xx_hal_smartcard_ex.c.
Generated on Tue Jul 12 2022 17:38:54 by
