COMM-DRV/Lib: SetPaceTime() Sets the current inter-character pace time

Description-

the current inter-character pace time. All the high level functions that transmit data will delay the specified amount of time between each character.

Syntax-

stat = SetPaceTime(port,timeval);

On Entry-

int port;

Port previously opened with InitializePort() or OpenComPort().

int timeval;

Time in tics to delay between characters. The resolution of the timer tic is set by the function CdrvSetTimerResolution().

On Exit-

int stat;

0 If successful.

See Also-

GetPaceTime()

Example-

#include "comm.h"
int port=0;
 int stat;
if ((stat = SetPaceTime(port,20)) != 0)
   {
   printf("Port not initialized\n");
   /* Take remedial action */
   }