Initialization and de-initialization functions.
More...
Initialization and de-initialization functions.
===============================================================================
##### Initialization and de-initialization functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to initialize the UARTx.
(+) For the asynchronous mode the parameters below can be configured:
(++) Baud Rate
(++) Data Bit
(++) Stop Bit
(++) Parity
(++) Hardware flow control
[..]
The hal_uart_init() API follow the UART asynchronous configuration procedures.
◆ hal_uart_deinit()
De-initialize the UART peripheral.
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |
- Return values
-
◆ hal_uart_init()
Initialize the UART according to the specified parameters in the uart_init_t and initialize the associated handle.
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |
- Return values
-
◆ hal_uart_msp_deinit()
De-initialize the UART MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_uart_msp_deinit can be implemented in the user file.
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |
◆ hal_uart_msp_init()
Initialize the UART MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_uart_msp_init can be implemented in the user file.
- Parameters
-
[in] | p_uart | Pointer to a UART handle which contains the configuration information for the specified UART module. |