1.20.21.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