| 数据搜索系统,热门电子元器件搜索 |
|
AR1010-I/ML 数据表(PDF) 41 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
AR1010-I/ML 数据表(HTML) 41 Page - Microchip Technology |
|
41 / 70 page ![]() 2009-2012 Microchip Technology Inc. Preliminary DS41393B-page 41 AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER 9.3.5 REGISTER_READ – 0x20 Reads a value from a controller register location. This can be used to determine a controller configuration setting. Configuration registers are defined as an Offset value from the Start address for the register group. Read a register as follows: 1. Issue the REGISTER_START_ADDRESS_REQUEST command to obtain the Start address for the register group. 2. Calculate the desired register’s absolute address by adding the register’s Offset value to Start address for the register group. 3. Issue this REGISTER_READ command, as follows, using the calculated register’s absolute address: Send: <0x55><0x04><0x20><Register Address High byte><Register Address Low byte><# of Registers to Read> Register Address High byte: 0x00 # of Registers to Read: 0x01 thru 0x08 Receive: <0x55><0x02 + # of Registers Read><Response><0x20><Register value>…<Register value> The AR1000 controller will ignore the value entered for the Register Address High Byte. However, 0x00 is recommended to safeguard against any possible future product development. 9.3.6 REGISTER_WRITE – 0x21 Write a value to a controller register location. This can be used to change a controller configuration setting. Configuration registers are defined as an Offset value from the Start address for the register group. Write a register as follows: 1. Issue the REGISTER_START_ADDRESS_REQUEST command to obtain the Start address for the register group. 2. Calculate the desired register’s absolute address by adding the register’s Offset value to Start address for the register group. 3. Issue this REGISTER_WRITE command, as follows, using the calculated register’s absolute address: Send: <0x55><0x04 + # Registers to Write><0x21><Register Address High byte><Register Address Low byte> <# of Registers to Write><Data>…<Data> Register Address High byte: 0x00 # of Registers to Read: 0x01 thru 0x08 Receive: <0x55><0x02><Response><0x21> The AR1000 controller will ignore the value entered for the Register Address High Byte. However, 0x00 is recommended to safeguard against any possible future product development. 9.3.7 REGISTER_START_ADDRESS_REQUEST – 0x22 Configuration registers are defined as an Offset value from the Start address for the register group. This command returns the Start address for the register group. Send: <0x55><0x01><0x22> Receive: <0x55><0x03><Response><0x22><Regi ster Start Address> 9.3.8 REGISTERS_WRITE_TO_EEPROM – 0x23 Save Configuration register values to EEPROM. This allows the controller to remember configurations settings through controller power cycles. Send: <0x55><0x01><0x23> Receive: <0x55><0x02><Response><0x23> 9.3.9 EEPROM_READ – 0X28 The controller has 256 bytes of on-board EEPROM. • The first 128 bytes (address range 0x00-0x7F) are reserved by the controller for the Configura- tion register settings and calibration data. • The second 128 bytes (address range 0x80-0xFF) are provided for the user’s application, if desired. This command provides a means to read values from the EEPROM. Send: <0x55><0x04><0x28><EEPROM Address High byte><EEPROM Address Low byte><# of EEPROM to Read> Register Address High byte: 0x00 # of Registers to Read: 0x01 thru 0x08 Receive: <0x55><0x02 + # EEPROM Read><Response><0x28><EEPROM value>…<EEPROM value> The AR1000 controller will ignore the value entered for the EEPROM Address High Byte. However, 0x00 is recommended to safeguard against any possible future product development. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |