UART Peripheral State functions.
More...
UART Peripheral State functions.
==============================================================================
##### Peripheral Control and State functions #####
==============================================================================
[..]
This subsection provides functions allowing to :
(+) Return the UART handle state.
(+) Return the UART handle error code
◆ hal_uart_get_error()
Return the UART handle error code.
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |
- Returns
- UART Error Code
◆ hal_uart_get_state()
Return the UART handle state.
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |
- Return values
-
◆ hal_uart_resume_reg()
Restore some registers related to UART configuration after sleep. This function must be used in conjunction with the hal_uart_suspend_reg().
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |
- Return values
-
◆ hal_uart_suspend_reg()
Suspend some registers related to UART configuration before sleep.
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |
- Return values
-