User manual

RC200/203 Manual
www.celoxica.com Page 53
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);