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.
UART Private functions. More...
Functions | |
| static void | UART_SetConfig (UART_HandleTypeDef *huart) |
| Configures the UART peripheral. | |
| static HAL_StatusTypeDef | UART_Transmit_IT (UART_HandleTypeDef *huart) |
| Sends an amount of data in non blocking mode. | |
| static HAL_StatusTypeDef | UART_EndTransmit_IT (UART_HandleTypeDef *huart) |
| Wraps up transmission in non blocking mode. | |
| static HAL_StatusTypeDef | UART_Receive_IT (UART_HandleTypeDef *huart) |
| Receives an amount of data in non blocking mode. | |
| static void | UART_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
| DMA UART transmit process complete callback. | |
| static void | UART_DMATxHalfCplt (DMA_HandleTypeDef *hdma) |
| DMA UART transmit process half complete callback. | |
| static void | UART_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
| DMA UART receive process complete callback. | |
| static void | UART_DMARxHalfCplt (DMA_HandleTypeDef *hdma) |
| DMA UART receive process half complete callback. | |
| static void | UART_DMAError (DMA_HandleTypeDef *hdma) |
| DMA UART communication error callback. | |
| static HAL_StatusTypeDef | UART_WaitOnFlagUntilTimeout (UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Timeout) |
| This function handles UART Communication Timeout. | |
Detailed Description
UART Private functions.
Function Documentation
| static void UART_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART 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 1637 of file stm32f1xx_hal_uart.c.
| static void UART_DMAReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART 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 1593 of file stm32f1xx_hal_uart.c.
| static void UART_DMARxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART 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 1624 of file stm32f1xx_hal_uart.c.
| static void UART_DMATransmitCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART 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 1552 of file stm32f1xx_hal_uart.c.
| static void UART_DMATxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART 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 1580 of file stm32f1xx_hal_uart.c.
| static HAL_StatusTypeDef UART_EndTransmit_IT | ( | UART_HandleTypeDef * | huart ) | [static] |
Wraps up transmission in non blocking mode.
- Parameters:
-
huart,: pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
- Return values:
-
HAL status
Definition at line 1772 of file stm32f1xx_hal_uart.c.
| static HAL_StatusTypeDef UART_Receive_IT | ( | UART_HandleTypeDef * | huart ) | [static] |
Receives an amount of data in non blocking mode.
- Parameters:
-
huart,: Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
- Return values:
-
HAL status
Definition at line 1798 of file stm32f1xx_hal_uart.c.
| static void UART_SetConfig | ( | UART_HandleTypeDef * | huart ) | [static] |
Configures the UART peripheral.
- Parameters:
-
huart,: Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
- Return values:
-
None
Definition at line 1869 of file stm32f1xx_hal_uart.c.
| static HAL_StatusTypeDef UART_Transmit_IT | ( | UART_HandleTypeDef * | huart ) | [static] |
Sends an amount of data in non blocking mode.
- Parameters:
-
huart,: Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
- Return values:
-
HAL status
Definition at line 1723 of file stm32f1xx_hal_uart.c.
| static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout | ( | UART_HandleTypeDef * | huart, |
| uint32_t | Flag, | ||
| FlagStatus | Status, | ||
| uint32_t | Timeout | ||
| ) | [static] |
This function handles UART Communication Timeout.
- Parameters:
-
huart,: Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. Flag,: specifies the UART flag to check. Status,: The new Flag status (SET or RESET). Timeout,: Timeout duration
- Return values:
-
HAL status
Definition at line 1656 of file stm32f1xx_hal_uart.c.
Generated on Tue Jul 12 2022 15:37:32 by
1.7.2