Hardware description
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()
.
5.10.1 Touch screen management tasks
extern macro proc RC200TouchScreenRun (
ClockRate
);
Parameters:
ClockRate
: Clock rate of the clock domain of the call to this macro, in Hz.
Timing:
Does not terminate in normal use.
Description:
Runs the device management tasks for the touch screen. You must run this macro
in parallel with accesses to the device.
5.10.2 Touch screen position (raw)
extern macro proc RC200TouchScreenReadRaw (
XPtr
,
YPtr,
TouchPtr
);
www.celoxica.com
Page 46
Содержание RC200
Страница 1: ...Platform Developer s Kit RC200 203 Manual ...
Страница 72: ......
Страница 76: ...RC200 203 PSL reference TFT 28 writing data 50 www celoxica com Page 76 ...