1.1.13.26 1.10.23.1 1.11.23.1 1.12.24.1 1.13.22.1 1.14.17.1 1.15.18.1 1.17.20.1 1.22.28.1 1.24.23.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