94
eDisplay (OP7200)
Reads the current x,y coordinates of the touchscreen
PARAMETERS
xkey
is a pointer to the x coordinate
ykey
is a pointer to the y coordinate
mode
is the mode of operation:
0 (
RAW_MODE
)—raw mode, returns touchscreen x, y coordinate's true raw data value
1 (
CAL_MODE
)—calibration mode, returns touchscreen x, y coordinates as normalized data values to
match the LCD display resolution
SEE ALSO
TsActive, TsScanState, TsXYBuffer, brdInit
This function returns the status of whether the touchscreen is being pressed or touched.
RETURN VALUE
0—touchscreen is not being pressed
1—touchscreen is being pressed
SEE ALSO
TsXYvector, TsScanState, TsXYBuffer, brdInit
This function processes the current state of the touchscreen. The results can then be read with the
TsXYBuffer
function, which will return one of the following.
1. The current x,y location of where the touchscreen is being pressed
2. A value indicating that the touchscreen press has ended
3. A value of -1 to indicate no acvtivity has occurred
NOTE: When this function is called, the information should be processed before calling
this function again to avoid losing the information.
SEE ALSO
TsXYvector, TsActive, TsXYBuffer, brdInit
void TsXYvector(int *xkey, int *ykey, int mode);
int TsActive(void);
void TsScanState(void);
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 021001 A ...
Страница 6: ...eDisplay OP7200 ...
Страница 44: ...38 eDisplay OP7200 ...
Страница 117: ...User s Manual 111 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200 ...
Страница 128: ...122 eDisplay OP7200 ...
Страница 136: ...130 eDisplay OP7200 ...
Страница 144: ...138 eDisplay OP7200 ...
Страница 146: ...140 eDisplay OP7200 ...
Страница 150: ...144 eDisplay OP7200 ...
Страница 152: ......