User`s manual
User’s Manual 19
3.3.1 Open and Close Functions
The open and close functions enable and disable serial communication over the specified
port.
int serXopen (long baud);
Currently only 8N1 transmission (8 data bits, no parity, 1 stop bit) is supported. The open function sets
up the interrupt service routine vector.
Parameters
baud—desired baud rate in bits per second
Return Value
1—The baud rate set on the Rabbit is the same as the input baud rate.
0—The baud rate set on the rabbit does not match the input baud rate.
int serXclose ( );
Disables the serial port interrupt service routine.
Parameters
None.
Return Value
1