STM32L443xx HAL User Manual
|
SMARTCARD HAL module driver. This file provides extended firmware functions to manage the following functionalities of the SmartCard. + Initialization and de-initialization functions + Peripheral Control functions. More...
#include "stm32l4xx_hal.h"
Go to the source code of this file.
Defines | |
#define | RX_FIFO_DEPTH 8U |
#define | TX_FIFO_DEPTH 8U |
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. |
SMARTCARD HAL module driver. This file provides extended firmware functions to manage the following functionalities of the SmartCard. + Initialization and de-initialization functions + Peripheral Control functions.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
============================================================================= ##### SMARTCARD peripheral extended features ##### ============================================================================= [..] The Extended SMARTCARD HAL driver can be used as follows: (#) After having configured the SMARTCARD basic features with HAL_SMARTCARD_Init(), then program SMARTCARD advanced features if required (TX/RX pins swap, TimeOut, auto-retry counter,...) in the hsmartcard AdvancedInit structure. (#) FIFO mode enabling/disabling and RX/TX FIFO threshold programming. -@- When SMARTCARD operates in FIFO mode, FIFO mode must be enabled prior starting RX/TX transfers. Also RX/TX FIFO thresholds must be configured prior starting RX/TX transfers.
Definition in file stm32l4xx_hal_smartcard_ex.c.