1.16.25.1 1.18.21.1 1.19.21.1 1.20.25.1 1.21.26.1 1.23.27.1 UARTx_AutoBaudSet Function

C

/* Blocking, non-blocking and ring buffer mode */

void UARTx_AutoBaudSet( bool enable )

Summary

Enables the auto-baud detection.

Description

This API enables the auto-baud detection in hardware.

Precondition

UARTx_Initialize must have been called for the associated UART instance.

Parameters

Param Description
true enable auto-baud detection
false not supported, should not be used

Returns

None

Example

// Start up auto-baud sensing feature
UART1_AutoBaudSet(true);

while(UART1_AutoBaudQuery()==true);

Remarks

None