1.1.13.15 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