<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 模擬技術(shù) > 設(shè)計(jì)應(yīng)用 > MAX1233/MAX1234觸摸屏控制器入門

          MAX1233/MAX1234觸摸屏控制器入門

          作者: 時間:2012-03-17 來源:網(wǎng)絡(luò) 收藏
          T R B2
          Test Read BAT2 register
          0x8006 0x0000
          T R DC
          Test Read DAC_control register
          0x8042 0x0000
          T R DD
          Test Read DAC_data register
          0x800b 0x0000
          T R GC
          Test Read GPIO_control register
          0x804f 0x0000
          T R GD
          Test Read GPIO_data register
          0x800f 0x0000
          T R GP
          Test Read GPIO_pullup register
          0x804e 0x0000
          T R K1
          Test Read KPDATA1 register
          0x8010 0x0000
          T R K2
          Test Read KPDATA2 register
          0x8011 0x0000
          T R KB
          Test Read KPD register
          0x8004 0x0000
          T R KC
          Test Read KEY_control register
          0x8041 0x0000
          T R KK
          Test Read KPCOLMASK register
          0x8051 0x0000
          T R KM
          Test Read KPKEYMASK register
          0x8050 0x0000
          T R T1
          Test Read TEMP1 register
          0x8009 0x0000
          T R T2
          Test Read TEMP2 register
          0x800a 0x0000

          表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 0x0701
          0x8000 0x0000
          0x8001 0x0000
          T M2
          Measure X,Y,Z1,Z2
          0x0040 0x0b01
          0x8000 0x0000
          0x8001 0x0000
          0x8002 0x0000
          0x8003 0x0000
          T M3
          Measure X
          0x0040 0x0f01
          0x8000 0x0000
          T M4
          Measure Y
          0x0040 0x1301
          0x8001 0x0000
          T M5
          Measure Z1,Z2
          0x0040 0x1701
          0x8002 0x0000
          0x8003 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) 中斷和狀態(tài)引腳命令

          表23. 引腳狀態(tài)讀取命令
          DEMO1234 Command
          Action
          SPI data in
          P R 5
          Read KEYIRQ-bar pin statusN/A
          I C 0 3
          Enable KEYIRQ-bar falling-edge trigger pulse accumulatorN/A
          I C 0 1
          Enable KEYIRQ-bar rising-edge trigger pulse accumulatorN/A
          I C 0 0
          Disable KEYIRQ-bar pulse accumulatorN/A
          I R 0
          Read the number of times KEYIRQ-bar has pulsed lowN/A
          I 0 0
          Clear the KEYIRQ-bar pulse accumulatorN/A
          P R 6
          Read PENIRQ-bar pin statusN/A
          I C 1 3
          Enable PENIRQ-bar falling-edge trigger pulse accumulatorN/A
          I C 1 1
          Enable PENIRQ-bar rising-edge trigger pulse accumulatorN/A
          I C 1 0
          Disable PENIRQ-bar pulse accumulatorN/A
          I R 1
          Read the number of times PENIRQ-bar has pulsed lowN/A
          I 0 1
          Clear the PENIRQ-bar pulse accumulatorN/A
          P R 7
          Read BUSY-bar pin statusN/A

          6.3) 加入到更新后的MINIQUSB+固件中的命令

          表24. 更新后MINIQUSB+固件01.05.40支持的SPI命令

          關(guān)鍵詞: MAX1233 MAX1234 觸摸屏 控制器

          評論


          相關(guān)推薦

          技術(shù)專區(qū)

          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();
          DEMO1234 Command
          ActionCPOLCPHACS-Bar ControlAF Length
          S C L0
          Configure SPI for CPOL=00GPIO-K91 byte
          S C L1
          Configure SPI for CPOL=11GPIO-K91 byte
          S C A0
          Configure SPI for CPHA=00GPIO-K91 byte
          S C A1
          Configure SPI for CPHA=11GPIO-K91 byte
          S C C0
          Configure SPI for 8-bitGPIO-K91 byte
          S C C1
          Configure SPI for 8-bit auto-CS-barAutomatic1 byte
          S C C2
          Configure SPI for 16-bit auto-CS-barAutomatic2 bytes
          S C C3
          Configure SPI for 24-bit auto-CS-barAutomatic3 bytes
          S C C4
          Configure SPI for 32-bit auto-CS-barAutomatic4 bytes
          $ 2 AE 00
          Configure SPI for 8-bit00GPIO-K91 byte
          $ 2 AE 01
          Configure SPI for 8-bit01GPIO-K91 byte
          $ 2 AE 02
          Configure SPI for 8-bit10GPIO-K91 byte
          $ 2 AE 03
          Configure SPI for 8-bit11GPIO-K91 byte
          $ 2 AE 08
          Configure SPI for 8-bit auto-CS-bar00Automatic1 byte
          $ 2 AE 09
          Configure SPI for 8-bit auto-CS-bar01Automatic1 byte
          $ 2 AE 0A
          Configure SPI for 8-bit auto-CS-bar10Automatic1 byte
          $ 2 AE 0B
          Configure SPI for 8-bit auto-CS-bar11Automatic1 byte