
Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library 2-17
long SerialPutString(const char *string);
Puts a character string into the ASCII transmit buffer.
Returns 0 if successful, or -1 on an error.
Serial Status
long SerialClearToSend(void);
Returns non-zero if space is available in ASCII transmit buffer.
long SerialDataReady(void);
Returns non-zero if data is available in ASCII receive buffer.
long SerialReceiverFull(void);
Returns non-zero if ASCII receive buffer is full.
long SerialTransmitterEmpty(void);
Returns non-zero if ASCII transmit buffer is empty.
Timer Services
long TimerAccumulated(long channel);
Returns the time accumulated by the specified timer channel.
Accumulated time is in milliseconds. Valid channel arguments are 1 -
8.
long TimerEnable(long channel, long preset);
initializes the specified timer with the specified preset. Preset is in
milliseconds. Valid channel arguments are 1 - 8.
Returns 0 if successful, or -1 on an error.
Comentarios a estos manuales