SERIAL_FlushRX

This function flushes the receive buffer of the specified serial port.

Synopsis

void SERIAL_FlushRX( int port );
 

Parameters

Parameter

Description

port

Serial port number (0 based). Specify port 0 to redirect the output to the hsmtrace log.