MAX1233/MAX1234触摸屏控制器入门
[09-13 17:05:19] 来源:http://www.88dzw.com 控制技术 阅读:8648次
文章摘要:表21. 写入寄存器助记符 DEMO1234 CommandMnemonicSPI data inT W AC hexValueTest Write ADC_control register0x0040 hexValueT W DC hexValueTest Write DAC_control register0x0042 hexValueT W DD hexValueTest Write DAC_data register0x000b hexValueT W GC hexValueTest Write GPIO_control register0x004f hexValueT W GD he
MAX1233/MAX1234触摸屏控制器入门,标签:计算机控制技术,工厂电气控制技术,http://www.88dzw.com表21. 写入寄存器助记符
DEMO1234 Command |
Mnemonic | SPI data in |
T W AC hexValue |
Test Write ADC_control register | 0x0040 hexValue |
T W DC hexValue |
Test Write DAC_control register | 0x0042 hexValue |
T W DD hexValue |
Test Write DAC_data register | 0x000b hexValue |
T W GC hexValue |
Test Write GPIO_control register | 0x004f hexValue |
T W GD hexValue |
Test Write GPIO_data register | 0x000f hexValue |
T W GP hexValue |
Test Write GPIO_pullup register | 0x004e hexValue |
T W KC hexValue |
Test Write KEY_control register | 0x0041 hexValue |
T W KK hexValue |
Test Write KPCOLMASK register | 0x0051 hexValue |
T W KM hexValue |
Test Write KPKEYMASK register | 0x0050 hexValue |
表22. 触摸屏测量命令序列
DEMO1234 Command |
Action (Triggered by A/D3210 Bits) | SPI data in Sequence |
T M1 |
Measure X,Y | 0x0040 0x07010x8000 0x00000x8001 0x0000 |
T M2 |
Measure X,Y,Z1,Z2 | 0x0040 0x0b010x8000 0x00000x8001 0x00000x8002 0x00000x8003 0x0000 |
T M3 |
Measure X | 0x0040 0x0f010x8000 0x0000 |
T M4 |
Measure Y | 0x0040 0x13010x8001 0x0000 |
T M5 |
Measure Z1,Z2 | 0x0040 0x17010x8002 0x00000x8003 0x0000 |
T MD |
No measurement; drive Y+,Y- | 0x0040 0x3701 |
T ME |
No measurement; drive X+,X- | 0x0040 0x3b01 |
T MF |
No measurement; drive Y+,X- | 0x0040 0x3f01 |
6.2) 中断和状态引脚命令
表23. 引脚状态读取命令DEMO1234 Command |
Action | SPI data in |
P R 5 |
Read KEYIRQ-bar pin status | N/A |
I C 0 3 |
Enable KEYIRQ-bar falling-edge trigger pulse accumulator | N/A |
I C 0 1 |
Enable KEYIRQ-bar rising-edge trigger pulse accumulator | N/A |
I C 0 0 |
Disable KEYIRQ-bar pulse accumulator | N/A |
I R 0 |
Read the number of times KEYIRQ-bar has pulsed low | N/A |
I 0 0 |
Clear the KEYIRQ-bar pulse accumulator | N/A |
P R 6 |
Read PENIRQ-bar pin status | N/A |
I C 1 3 |
Enable PENIRQ-bar falling-edge trigger pulse accumulator | N/A |
I C 1 1 |
Enable PENIRQ-bar rising-edge trigger pulse accumulator | N/A |
I C 1 0 |
Disable PENIRQ-bar pulse accumulator | N/A |
I R 1 |
Read the number of times PENIRQ-bar has pulsed low | N/A |
I 0 1 |
Clear the PENIRQ-bar pulse accumulator | N/A |
P R 7 |
Read BUSY-bar pin status | N/A |
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页
Tag:控制技术,计算机控制技术,工厂电气控制技术,控制技术
《MAX1233/MAX1234触摸屏控制器入门》相关文章
- › MAX139构成的数字电压表电路图
- › MAX1916输出并联电路图
- › MAX1458的电桥激励电路图
- › MAX1595驱动白光LED电路图
- › MAX1912驱动白光LED电路图
- › MAX1577V/MAX1577Z驱动白光LED电路图
- 在百度中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
- 在谷歌中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
- 在soso中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
- 在搜狗中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
分类导航
最新更新