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.
USART Private functions. More...
Functions | |
| 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). | |
| static void | USART_SetConfig (USART_HandleTypeDef *husart) |
| Configures the USART peripheral. | |
| static void | USART_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
| DMA USART transmit process complete callback. | |
| static void | USART_DMATxHalfCplt (DMA_HandleTypeDef *hdma) |
| DMA USART transmit process half complete callback. | |
| static void | USART_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
| DMA USART receive process 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 Timeout) |
| This function handles USART Communication Timeout. | |
Detailed Description
USART Private functions.
Function Documentation
| static void USART_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART communication error callback.
- Parameters:
-
hdma,: Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1497 of file stm32f1xx_hal_usart.c.
| static void USART_DMAReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART receive process complete callback.
- Parameters:
-
hdma,: Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1435 of file stm32f1xx_hal_usart.c.
| static void USART_DMARxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART receive process half complete callback.
- Parameters:
-
hdma,: Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1484 of file stm32f1xx_hal_usart.c.
| static void USART_DMATransmitCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART transmit process complete callback.
- Parameters:
-
hdma,: Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1387 of file stm32f1xx_hal_usart.c.
| static void USART_DMATxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA USART transmit process half complete callback.
- Parameters:
-
hdma,: Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1422 of file stm32f1xx_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 1633 of file stm32f1xx_hal_usart.c.
| static HAL_StatusTypeDef USART_Receive_IT | ( | USART_HandleTypeDef * | husart ) | [static] |
Simplex Receive an amount of data 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 1655 of file stm32f1xx_hal_usart.c.
| static void USART_SetConfig | ( | USART_HandleTypeDef * | husart ) | [static] |
Configures the USART peripheral.
- Parameters:
-
husart,: Pointer to a USART_HandleTypeDef structure that contains the configuration information for the specified USART module.
- Return values:
-
None
Definition at line 1829 of file stm32f1xx_hal_usart.c.
| static HAL_StatusTypeDef USART_Transmit_IT | ( | USART_HandleTypeDef * | husart ) | [static] |
Simplex Send an amount of data 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
- Note:
- The USART errors are not managed to avoid the overrun error.
Definition at line 1586 of file stm32f1xx_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).
- 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 1727 of file stm32f1xx_hal_usart.c.
| static HAL_StatusTypeDef USART_WaitOnFlagUntilTimeout | ( | USART_HandleTypeDef * | husart, |
| uint32_t | Flag, | ||
| FlagStatus | Status, | ||
| uint32_t | Timeout | ||
| ) | [static] |
This function handles USART Communication Timeout.
- Parameters:
-
husart,: Pointer to a USART_HandleTypeDef structure that contains the configuration information for the specified USART module. Flag,: specifies the USART flag to check. Status,: The new Flag status (SET or RESET). Timeout,: Timeout duration
- Return values:
-
HAL status
Definition at line 1518 of file stm32f1xx_hal_usart.c.
Generated on Tue Jul 12 2022 15:37:32 by
1.7.2