1.1.13.15 1.8.24.7 1.10.23.9 1.11.23.9 1.12.24.9 1.13.22.9 1.14.17.9 1.15.18.9 1.16.25.9 1.17.20.9 1.18.21.9 1.19.21.9 1.20.25.9 1.21.26.9 1.22.28.9 1.23.27.9 1.24.23.9 1.27.26.7 1.34.26.7 1.35.20.7 UARTx_WriteByte Function

C

/* x = UART instance number */

/* Blocking mode */

void UARTx_WriteByte( int data )

Summary

Submits a byte of data to the given UART peripheral to transfer

Description

This function submits a byte of data to the UART peripheral to transfer. This Function is available only in non-interrupt mode.

Precondition

UARTx_Initialize must have been called for the associated UART instance.

Parameters

Param Description
data Data byte to be transferred

Returns

None

Example

char myData = 'A';

UART1_WriteByte(myData);

Remarks

None