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
[USART Exported Functions]
USART Peripheral State and Error functions. More...
Functions | |
HAL_USART_StateTypeDef | HAL_USART_GetState (USART_HandleTypeDef *husart) |
Return the USART handle state. | |
uint32_t | HAL_USART_GetError (USART_HandleTypeDef *husart) |
Return the USART error code. |
Detailed Description
USART Peripheral State and Error functions.
============================================================================== ##### Peripheral State and Error functions ##### ============================================================================== [..] This subsection provides functions allowing to : (+) Return the USART handle state (+) Return the USART handle error code
Function Documentation
uint32_t HAL_USART_GetError | ( | USART_HandleTypeDef * | husart ) |
Return the USART error code.
- Parameters:
-
husart : pointer to a USART_HandleTypeDef structure that contains the configuration information for the specified USART.
- Return values:
-
USART handle Error Code
Definition at line 1425 of file stm32l4xx_hal_usart.c.
HAL_USART_StateTypeDef HAL_USART_GetState | ( | USART_HandleTypeDef * | husart ) |
Return the USART handle state.
- Parameters:
-
husart : pointer to a USART_HandleTypeDef structure that contains the configuration information for the specified USART.
- Return values:
-
USART handle state
Definition at line 1414 of file stm32l4xx_hal_usart.c.
Generated on Tue Jul 12 2022 17:38:55 by
