User manual
RC200/203 Manual
www.celoxica.com Page 51
Parameters: FlowControl: A code selecting the flow control. Possible values:
RC200RS232FlowControlNone
RC200RS232FlowControlSoft
RC200RS232FlowControlHard
These correspond to the following settings: No flow control;
Software flow control (XON/XOFF); Hardware flow (RTS/CTS)
Timing: 1 clock cycle.
Description: Changes the flow control of the RS-232 interface.
5.9.2 Reading from the RS-232 port
extern macro proc RC200RS232Read (DataPtr);
Parameters: DataPtr: Pointer to an lvalue of type unsigned 8.
Timing:
1 or more clock cycles (the read is blocked until data is
ready).
Description:
Reads a single item of data from the RS232 port and stores it
in the
lvalue pointed at by DataPtr.
5.9.3 Writing to the RS-232 port
extern macro proc RC200RS232Write (Data);
Parameters: Data: data value of type unsigned 8.
Timing: 1 or more clock cycles (until the data is sent).
Description:
Writes a single item of data to the RS-232 port from the
expression
Data.
5.10 Touch screen macros
You can use the touch screen macros to determine the position of the pointing device.
RC200TouchScreenReadRaw() determines the position in raw coordinates.
RC200TouchScreenReadScaled() determines the position scaled to 640 x 480 resolution.
You need to run these macros in parallel with
RC200TouchScreenRun().