MAX1233/MAX1234触摸屏控制器入门

[09-13 17:05:19]   来源:http://www.88dzw.com  控制技术   阅读:8648

文章摘要:表25. 更新后MINIQUSB+固件01.05.41中的中断脉冲累加器命令 DEMO1234 CommandActionIntGPIO InputFirmware Command$ 2 C3 00Query which of the C3 commands are supported; the return value is a 2-byte bitmap of commands C300 to C30F, msb first——C3 00I Q 0Query configuration of pulse accumulatorINT0GPIO-K5C3 01 00I Q 1Quer

MAX1233/MAX1234触摸屏控制器入门,标签:计算机控制技术,工厂电气控制技术,http://www.88dzw.com

表25. 更新后MINIQUSB+固件01.05.41中的中断脉冲累加器命令
DEMO1234 Command
Action Int GPIO Input
Firmware Command
$ 2 C3 00
Query which of the C3 commands are supported; the return value is a 2-byte bitmap of commands C300 to C30F, msb first
C3 00
I Q 0
Query configuration of pulse accumulator INT0 GPIO-K5
C3 01 00
I Q 1
Query configuration of pulse accumulator INT1 GPIO-K6
C3 01 01
I Q 2
Query configuration of pulse accumulator INT2 GPIO-K7
C3 01 02
I Q 3
Query configuration of pulse accumulator INT3 GPIO-K8
C3 01 03
I C 0 0
Configure pulse accumulator: disable interrupt INT0 GPIO-K5
C3 02 00 00
I C 1 0
Configure pulse accumulator: disable interrupt INT1 GPIO-K6
C3 02 01 00
I C 2 0
Configure pulse accumulator: disable interrupt INT2 GPIO-K7
C3 02 02 00
I C 3 0
Configure pulse accumulator: disable interrupt INT3 GPIO-K8
C3 02 03 00
I C 0 1
Configure pulse accumulator: rising-edge trigger INT0 GPIO-K5
C3 02 00 01
I C 1 1
Configure pulse accumulator: rising-edge trigger INT1 GPIO-K6
C3 02 01 01
I C 2 1
Configure pulse accumulator: rising-edge trigger INT2 GPIO-K7
C3 02 02 01
I C 3 1
Configure pulse accumulator: rising-edge trigger INT3 GPIO-K8
C3 02 03 01
I C 0 3
Configure pulse accumulator: falling-edge trigger INT0 GPIO-K5
C3 02 00 03
I C 1 3
Configure pulse accumulator: falling-edge trigger INT1 GPIO-K6
C3 02 01 03
I C 2 3
Configure pulse accumulator: falling-edge trigger INT2 GPIO-K7
C3 02 02 03
I C 3 3
Configure pulse accumulator: falling-edge trigger INT3 GPIO-K8
C3 02 03 03
I R 0
Read pulse accumulator INT0 GPIO-K5
C3 03 00
I R 1
Read pulse accumulator INT1 GPIO-K6
C3 03 01
I R 2
Read pulse accumulator INT2 GPIO-K7
C3 03 02
I R 3
Read pulse accumulator INT3 GPIO-K8
C3 03 03
I 0 0
Clear pulse accumulator INT0 GPIO-K5
C3 04 00
I 0 1
Clear pulse accumulator INT1 GPIO-K6
C3 04 01
I 0 2
Clear pulse accumulator INT2 GPIO-K7
C3 04 02
I 0 3
Clear pulse accumulator INT3 GPIO-K8
C3 04 03
I S 0 xx
Set pulse accumulator count xx = 0 to 255 INT0 GPIO-K5
C3 05 00 xx
I S 1 xx
Set pulse accumulator count xx = 0 to 255 INT1 GPIO-K6
C3 05 01 xx
I S 2 xx
Set pulse accumulator count xx = 0 to 255 INT2 GPIO-K7
C3 05 02 xx
I S 3 xx
Set pulse accumulator count xx = 0 to 255 INT3 GPIO-K8
C3 05 03 xx

7) 结论

这些实例简要介绍了怎样使用MAX1233/MAX1234的主要功能模块,利用简化的控制台C++程序来测量并控制硬件。如果需要深入了解详细信息,请参考MAX1233/MAX1234数据资料。

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 


Tag:控制技术计算机控制技术,工厂电气控制技术控制技术