24
Rabbit 2000 Development Kit
4.3.3 Non-Cofunction Blocking Output Functions
These are simple functions that do not use Dynamic C costatements. They immediately
begin to perform their task, not yielding to other tasks until all characters have been written.
int serXputc (char c);
Writes a character to the serial port.
Parameters
c
—Character to write
Return Value
1 for success, 0 if the character could not be written to the port.
int serXputs (char *s);
Calls
serXwrite (s, strlen (s))
.
Parameters
s
—Null-terminated character string source to write to the serial port.
Return Value
The number of characters written.
int serXwrite (void *data, int length);
Writes a block of
length
bytes to the serial port.
Parameters
data
—Destination data structure. The user must ensure data is allocated for at least length bytes.
length
—The number of bytes to read.
Return Value
The number of bytes written to the serial port.
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: ......