Jump to main content

##

# 2.131.1 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 MCC.

## Precondition

None.

## Parameters

None.

## Returns

None.

## Example

    USART1_Initialize();

## Remarks

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