26
Rabbit 2000 Development Kit
4.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
c
—Character 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
s
—Null-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
data
—Source data structure to write to the serial port.
length
—Number of characters in data to write.
Return Value
None
Summary of Contents for 2000
Page 1: ...Rabbit 2000 Microprocessor Development Kit Getting Started 010118 D...
Page 4: ...Rabbit 2000 Development Kit...
Page 9: ...4 Rabbit 2000 Development Kit...
Page 21: ...16 Rabbit 2000 Development Kit...
Page 35: ...30 Rabbit 2000 Development Kit...
Page 36: ...Getting Started Manual Schematics...
Page 38: ...B NONE B NONE...
Page 39: ...B NONE B NONE...
Page 41: ...B NONE B NONE...
Page 43: ......