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.
Functions | |
static void | USART_EndTransfer (USART_HandleTypeDef *husart) |
End ongoing transfer on USART peripheral (following error detection or Transfer completion). | |
static void | USART_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
DMA USART transmit process complete callback. | |
static void | USART_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
DMA USART receive process complete callback. | |
static void | USART_DMATxHalfCplt (DMA_HandleTypeDef *hdma) |
DMA USART transmit process half complete callback. | |
static void | USART_DMARxHalfCplt (DMA_HandleTypeDef *hdma) |
DMA USART receive process half complete callback. | |
static void | USART_DMAError (DMA_HandleTypeDef *hdma) |
DMA USART communication error callback. | |
static HAL_StatusTypeDef | USART_WaitOnFlagUntilTimeout (USART_HandleTypeDef *husart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout) |
Handle USART Communication Timeout. | |
static HAL_StatusTypeDef | USART_SetConfig (USART_HandleTypeDef *husart) |
Configure the USART peripheral. | |
static HAL_StatusTypeDef | USART_CheckIdleState (USART_HandleTypeDef *husart) |
Check the USART Idle State. | |
static void | USART_DMAAbortOnError (DMA_HandleTypeDef *hdma) |
DMA USART communication abort callback, when initiated by HAL services on Error (To be called at end of DMA Abort procedure following error occurrence). | |
static HAL_StatusTypeDef | USART_Transmit_IT (USART_HandleTypeDef *husart) |
Simplex send an amount of data in non-blocking mode. | |
static HAL_StatusTypeDef | USART_EndTransmit_IT (USART_HandleTypeDef *husart) |
Wraps up transmission in non-blocking mode. | |
static HAL_StatusTypeDef | USART_Receive_IT (USART_HandleTypeDef *husart) |
Simplex receive an amount of data in non-blocking mode. | |
static HAL_StatusTypeDef | USART_TransmitReceive_IT (USART_HandleTypeDef *husart) |
Full-Duplex Send receive an amount of data in full-duplex mode (non-blocking). |
Function Documentation
static HAL_StatusTypeDef USART_CheckIdleState | ( | USART_HandleTypeDef * | husart ) | [static] |
Check the USART Idle State.
- Parameters:
-
husart,: USART handle.
- Return values:
-
HAL status
Definition at line 1723 of file stm32l4xx_hal_usart.c.
static void USART_DMAAbortOnError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART communication abort callback, when initiated by HAL services on Error (To be called at end of DMA Abort procedure following error occurrence).
- Parameters:
-
hdma DMA handle.
- Return values:
-
None
Definition at line 1593 of file stm32l4xx_hal_usart.c.
static void USART_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART communication error callback.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 1573 of file stm32l4xx_hal_usart.c.
static void USART_DMAReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART receive process complete callback.
- Parameters:
-
hdma DMA handle.
- Return values:
-
None
Definition at line 1509 of file stm32l4xx_hal_usart.c.
static void USART_DMARxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART receive process half complete callback.
- Parameters:
-
hdma DMA handle.
- Return values:
-
None
Definition at line 1561 of file stm32l4xx_hal_usart.c.
static void USART_DMATransmitCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART transmit process complete callback.
- Parameters:
-
hdma DMA handle.
- Return values:
-
None
Definition at line 1463 of file stm32l4xx_hal_usart.c.
static void USART_DMATxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART transmit process half complete callback.
- Parameters:
-
hdma DMA handle.
- Return values:
-
None
Definition at line 1497 of file stm32l4xx_hal_usart.c.
static void USART_EndTransfer | ( | USART_HandleTypeDef * | husart ) | [static] |
End ongoing transfer on USART peripheral (following error detection or Transfer completion).
- Parameters:
-
husart USART handle.
- Return values:
-
None
Definition at line 1447 of file stm32l4xx_hal_usart.c.
static HAL_StatusTypeDef USART_EndTransmit_IT | ( | USART_HandleTypeDef * | husart ) | [static] |
Wraps up transmission in non-blocking mode.
- Parameters:
-
husart Pointer to a USART_HandleTypeDef structure that contains the configuration information for the specified USART module.
- Return values:
-
HAL status
Definition at line 1820 of file stm32l4xx_hal_usart.c.
static HAL_StatusTypeDef USART_Receive_IT | ( | USART_HandleTypeDef * | husart ) | [static] |
Simplex receive an amount of data in non-blocking mode.
- Note:
- Function called under interruption only, once interruptions have been enabled by HAL_USART_Receive_IT().
- Parameters:
-
husart USART handle
- Return values:
-
HAL status
Definition at line 1844 of file stm32l4xx_hal_usart.c.
static HAL_StatusTypeDef USART_SetConfig | ( | USART_HandleTypeDef * | husart ) | [static] |
Configure the USART peripheral.
- Parameters:
-
husart,: USART handle.
- Return values:
-
HAL status
Definition at line 1642 of file stm32l4xx_hal_usart.c.
static HAL_StatusTypeDef USART_Transmit_IT | ( | USART_HandleTypeDef * | husart ) | [static] |
Simplex send an amount of data in non-blocking mode.
- Note:
- Function called under interruption only, once interruptions have been enabled by HAL_USART_Transmit_IT().
- The USART errors are not managed to avoid the overrun error.
- Parameters:
-
husart USART handle.
- Return values:
-
HAL status
Definition at line 1771 of file stm32l4xx_hal_usart.c.
static HAL_StatusTypeDef USART_TransmitReceive_IT | ( | USART_HandleTypeDef * | husart ) | [static] |
Full-Duplex Send receive an amount of data in full-duplex mode (non-blocking).
- Note:
- Function called under interruption only, once interruptions have been enabled by HAL_USART_TransmitReceive_IT().
- Parameters:
-
husart,: USART handle.
- Return values:
-
HAL status
Definition at line 1896 of file stm32l4xx_hal_usart.c.
static HAL_StatusTypeDef USART_WaitOnFlagUntilTimeout | ( | USART_HandleTypeDef * | husart, |
uint32_t | Flag, | ||
FlagStatus | Status, | ||
uint32_t | Tickstart, | ||
uint32_t | Timeout | ||
) | [static] |
Handle USART Communication Timeout.
- Parameters:
-
husart USART handle. Flag Specifies the USART flag to check. Status the Flag status (SET or RESET). Tickstart Tick start value Timeout timeout duration.
- Return values:
-
HAL status
Definition at line 1611 of file stm32l4xx_hal_usart.c.
Generated on Tue Jul 12 2022 11:00:06 by
