Specifications

Hardware description
Parameters:
XPtr: Pointer to an lvalue of type unsigned 12.
YPtr: Pointer to an lvalue of type unsigned 12.
TouchPtr: Pointer to an lvalue of type unsigned 1.
Timing:
1 clock cycle.
Description:
Returns the last sensed position of the pointing device on the touch screen, in raw
coordinates. The coordinates range from 0 to 4095 and are independent of display
resolution.
The value returned in
*TouchPtr is the current state of the pointing device, where
1 means the pointer is touching the screen.
5.10.3 Touch screen position (scaled)
extern macro proc RC200TouchScreenReadScaled (XPtr, YPtr, TouchPtr);
Parameters:
XPtr: Pointer to an lvalue of type unsigned 10.
YPtr: Pointer to an lvalue of type unsigned 9.
TouchPtr: Pointer to an lvalue of type unsigned 1.
Timing:
1 clock cycle.
Description:
Returns the last sensed position of the pointing device on the touch screen, scaled
to 640 x 480 resolution (the same as the LCD screen underneath). Note that the
calibration of this scaling is only approximate; for precision use, each should be
individually calibrated. The value returned in
*TouchPtr is the current state of
the pointing device, where 1 means the pointer is touching the screen.
5.11 Video output macros
To use the video output macros, you need to:
1. Run
RC200VideoOutRun() in parallel with the rest of your video output code.
2. Call
RC200VideoOutEnable().
5.11.1 Video output management tasks
extern macro proc RC200VideoOutRun (Mode, ClockRate);
www.celoxica.com
Page 47