|
STM32H735xx HAL User Manual
|
SMARTCARD control functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_SMARTCARDEx_EnableFifoMode (SMARTCARD_HandleTypeDef *hsmartcard) |
| Enable the FIFO mode. | |
| HAL_StatusTypeDef | HAL_SMARTCARDEx_DisableFifoMode (SMARTCARD_HandleTypeDef *hsmartcard) |
| Disable the FIFO mode. | |
| HAL_StatusTypeDef | HAL_SMARTCARDEx_SetTxFifoThreshold (SMARTCARD_HandleTypeDef *hsmartcard, uint32_t Threshold) |
| Set the TXFIFO threshold. | |
| HAL_StatusTypeDef | HAL_SMARTCARDEx_SetRxFifoThreshold (SMARTCARD_HandleTypeDef *hsmartcard, uint32_t Threshold) |
| Set the RXFIFO threshold. | |
SMARTCARD control functions.
===============================================================================
##### Peripheral FIFO Control functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to control the SMARTCARD
FIFO feature.
(+) HAL_SMARTCARDEx_EnableFifoMode() API enables the FIFO mode
(+) HAL_SMARTCARDEx_DisableFifoMode() API disables the FIFO mode
(+) HAL_SMARTCARDEx_SetTxFifoThreshold() API sets the TX FIFO threshold
(+) HAL_SMARTCARDEx_SetRxFifoThreshold() API sets the RX FIFO threshold
| HAL_StatusTypeDef HAL_SMARTCARDEx_DisableFifoMode | ( | SMARTCARD_HandleTypeDef * | hsmartcard | ) |
Disable the FIFO mode.
| hsmartcard | SMARTCARD handle. |
| HAL | status |
Definition at line 304 of file stm32h7xx_hal_smartcard_ex.c.
References __HAL_SMARTCARD_DISABLE, assert_param, __SMARTCARD_HandleTypeDef::FifoMode, __SMARTCARD_HandleTypeDef::gState, HAL_SMARTCARD_STATE_BUSY, HAL_SMARTCARD_STATE_READY, __SMARTCARD_HandleTypeDef::Instance, and SMARTCARD_FIFOMODE_DISABLE.
| HAL_StatusTypeDef HAL_SMARTCARDEx_EnableFifoMode | ( | SMARTCARD_HandleTypeDef * | hsmartcard | ) |
Enable the FIFO mode.
| hsmartcard | SMARTCARD handle. |
| HAL | status |
Definition at line 263 of file stm32h7xx_hal_smartcard_ex.c.
References __HAL_SMARTCARD_DISABLE, assert_param, __SMARTCARD_HandleTypeDef::FifoMode, __SMARTCARD_HandleTypeDef::gState, HAL_SMARTCARD_STATE_BUSY, HAL_SMARTCARD_STATE_READY, __SMARTCARD_HandleTypeDef::Instance, SMARTCARD_FIFOMODE_ENABLE, and SMARTCARDEx_SetNbDataToProcess().
| HAL_StatusTypeDef HAL_SMARTCARDEx_SetRxFifoThreshold | ( | SMARTCARD_HandleTypeDef * | hsmartcard, |
| uint32_t | Threshold | ||
| ) |
Set the RXFIFO threshold.
| hsmartcard | SMARTCARD handle. |
| Threshold | RX FIFO threshold value This parameter can be one of the following values: |
| HAL | status |
Definition at line 399 of file stm32h7xx_hal_smartcard_ex.c.
References __HAL_SMARTCARD_DISABLE, assert_param, __SMARTCARD_HandleTypeDef::gState, HAL_SMARTCARD_STATE_BUSY, HAL_SMARTCARD_STATE_READY, __SMARTCARD_HandleTypeDef::Instance, IS_SMARTCARD_RXFIFO_THRESHOLD, and SMARTCARDEx_SetNbDataToProcess().
| HAL_StatusTypeDef HAL_SMARTCARDEx_SetTxFifoThreshold | ( | SMARTCARD_HandleTypeDef * | hsmartcard, |
| uint32_t | Threshold | ||
| ) |
Set the TXFIFO threshold.
| hsmartcard | SMARTCARD handle. |
| Threshold | TX FIFO threshold value This parameter can be one of the following values: |
| HAL | status |
Definition at line 350 of file stm32h7xx_hal_smartcard_ex.c.
References __HAL_SMARTCARD_DISABLE, assert_param, __SMARTCARD_HandleTypeDef::gState, HAL_SMARTCARD_STATE_BUSY, HAL_SMARTCARD_STATE_READY, __SMARTCARD_HandleTypeDef::Instance, IS_SMARTCARD_TXFIFO_THRESHOLD, and SMARTCARDEx_SetNbDataToProcess().
1.7.6.1