English
Language : 

AR1000 Datasheet, PDF (22/37 Pages) Microchip Technology – Resistive Touch Screen Controller
7.14 Command Response
A received command will be responded to as follows.
<Header><DataSize><Response><Command><Data>…<Data>
<Header> is defined as a value of 0x55 and is used to mark the beginning of the response packet.
<DataSize> is the number of bytes being sent in the response packet, after <DataSize>.
<Response> is a returned status to the received command.
Value Description
0x00 Success
0x01 Unrecognized Command
0x03 Unrecognized Header
0x04 Command Timeout (entire command not received within 100ms)
0xFC Calibration Cancel
<Command> is a confirmation of the command being responded to.
<Data> represent from zero to eight bytes of returned data.
7.15 Commands
Command
Command Description
Value
0x12
Enable Touch
0x13 Disable Touch
0x14 Calibrate Mode
0x20 Register Read
0x21 Register Write
0x22 Register Start Address Request
0x23 Registers Write to Eeprom
0x28 EEPROM Read
0x29 EEPROM Write
0x2B EEPROM Write to Registers
Table 9 : Command Set Summary
7.15.1 Enable Touch - 0x12
Controller will send touch coordinate reports for valid touch conditions.
Send : <0x55><0x01><0x12>
Receive : <0x55><0x02><Response><0x12>
7.15.2 Disable Touch - 0x13
Controller will not send any touch coordinate reports. A touch will, however, still wake up the controller if asleep.
Send : <0x55><0x01><0x13>
Receive : <0x55><0x02><Response><0x13>
DS41393A-Page 18
© 2009 Microchip Technology, Inc.