2.130.29 UARTx_TransmitComplete Function
C
/* x = UART instance number */
/* Blocking mode */
bool UARTx_TransmitComplete( void )
Summary
Checks for no current transmission is in progress.
Description
This function returns true if no current transmission is in progress, else returns false.
Precondition
None.
Parameters
None.
Returns
true - if transmit is not in progress or complete.
false - if transmit is in progress.
Example
char myData[] = {"hello"};
if(UART1_TransmitComplete())
{
UART1_Write(&myData, sizeof(myData));
}
Remarks
None