User`s manual

Users Manual 23
3.3.5 Single-User Cofunction Output Functions
These are Dynamic C cofunctions. If the output buffer they use is locked or becomes
empty during the course of their operation, they yield to other tasks, but do not return to
execute the next statement within their own costatement block until they have completed
their operation.
scofunc void cof_serXputc (char c);
Writes a single character to the serial port, yielding to other tasks when unsuccessful, and returning only
when the character is successfully written.
Parameters
cCharacter to write to the serial port.
Return Value
None
scofunc void cof_serXputs(char *s);
Writes a null-terminated character string to the serial port, yielding to other tasks when unsuccessful or
whenever the buffer is full, returning only when the string is successfully written.
Parameters
sNull-terminated character string written to the serial port.
Return Value
None
scofunc void cof_serXwrite (void *data, int length);
Writes a block of characters to the serial port, yielding to other tasks when unsuccessful or whenever the
buffer is full, returning only when all the data is successfully written.
Parameters
dataSource data structure to write to the serial port.
lengthNumber of characters in data to write.
Return Value
None