|
STM32L4xx_HAL_Driver
1.14.0
|
Extended USART HAL module driver. This file provides firmware functions to manage the following extended functionalities of the Universal Synchronous Receiver Transmitter Peripheral (USART). More...
Go to the source code of this file.
Functions | |
| static void | USARTEx_SetNbDataToProcess (USART_HandleTypeDef *husart) |
| Calculate the number of data to process in RX/TX ISR. More... | |
| void | HAL_USARTEx_RxFifoFullCallback (USART_HandleTypeDef *husart) |
| USART RX Fifo full callback. More... | |
| void | HAL_USARTEx_TxFifoEmptyCallback (USART_HandleTypeDef *husart) |
| USART TX Fifo empty callback. More... | |
| HAL_StatusTypeDef | HAL_USARTEx_EnableSlaveMode (USART_HandleTypeDef *husart) |
| Enable the SPI slave mode. More... | |
| HAL_StatusTypeDef | HAL_USARTEx_DisableSlaveMode (USART_HandleTypeDef *husart) |
| Disable the SPI slave mode. More... | |
| HAL_StatusTypeDef | HAL_USARTEx_ConfigNSS (USART_HandleTypeDef *husart, uint32_t NSSConfig) |
| Configure the Slave Select input pin (NSS). More... | |
| HAL_StatusTypeDef | HAL_USARTEx_EnableFifoMode (USART_HandleTypeDef *husart) |
| Enable the FIFO mode. More... | |
| HAL_StatusTypeDef | HAL_USARTEx_DisableFifoMode (USART_HandleTypeDef *husart) |
| Disable the FIFO mode. More... | |
| HAL_StatusTypeDef | HAL_USARTEx_SetTxFifoThreshold (USART_HandleTypeDef *husart, uint32_t Threshold) |
| Set the TXFIFO threshold. More... | |
| HAL_StatusTypeDef | HAL_USARTEx_SetRxFifoThreshold (USART_HandleTypeDef *husart, uint32_t Threshold) |
| Set the RXFIFO threshold. More... | |
Extended USART HAL module driver. This file provides firmware functions to manage the following extended functionalities of the Universal Synchronous Receiver Transmitter Peripheral (USART).
==============================================================================
##### USART peripheral extended features #####
==============================================================================
(#) FIFO mode enabling/disabling and RX/TX FIFO threshold programming.
-@- When USART 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.
(#) Slave mode enabling/disabling and NSS pin configuration.
-@- When USART operates in Slave mode, Slave mode must be enabled prior
starting RX/TX transfers.This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32l4xx_hal_usart_ex.c.