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.
Fork of TUKS-COURSE-TIMER by
Peripheral State and Error functions
[UART Exported Functions]
UART Peripheral State functions. More...
Functions | |
HAL_UART_StateTypeDef | HAL_UART_GetState (UART_HandleTypeDef *huart) |
Return the UART handle state. | |
uint32_t | HAL_UART_GetError (UART_HandleTypeDef *huart) |
Return the UART handle error code. |
Detailed Description
UART Peripheral State functions.
============================================================================== ##### Peripheral State and Error functions ##### ============================================================================== [..] This subsection provides functions allowing to : (+) Return the UART handle state. (+) Return the UART handle error code
Function Documentation
uint32_t HAL_UART_GetError | ( | UART_HandleTypeDef * | huart ) |
Return the UART handle error code.
- Parameters:
-
huart Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART.
- Return values:
-
UART Error Code
Definition at line 1529 of file stm32l4xx_hal_uart.c.
HAL_UART_StateTypeDef HAL_UART_GetState | ( | UART_HandleTypeDef * | huart ) |
Return the UART handle state.
- Parameters:
-
huart Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART.
- Return values:
-
HAL state
Definition at line 1514 of file stm32l4xx_hal_uart.c.
Generated on Tue Jul 12 2022 17:38:55 by
