1.35.21.24 USARTx_Initialize Function

C

/* x = USART instance number */

/* Blocking, non-blocking and ring buffer mode */
void USARTx_Initialize( void )

Summary

Initializes given instance of the USART peripheral.

Description

This function initializes the given instance of the USART peripheral as configured by the user in MHC.

Precondition

None.

Parameters

None.

Returns

None.

Example

USART1_Initialize();

Remarks

Stops the USART if it was already running and reinitializes it.