參數(shù)資料
型號: STMPE2401TBR
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 24 I/O, PIA-GENERAL PURPOSE, PBGA36
封裝: LEAD FREE, TFBGA-36
文件頁數(shù): 41/55頁
文件大?。?/td> 959K
代理商: STMPE2401TBR
Keypad controller
STMPE2401
46/55
13.7.1
Resistance
Maximum resistance between keypad output and keypad input, inclusive of switch
resistance, protection circuit resistance and connection, must be less than 3.2 K
13.7.2
Using the keypad controller
Before enabling the keypad controller operation, proper setup should be done by configuring
the input and output ports involved. This is achieved by programming the corresponding
GPIO control registers that determine the port direction and the necessary internal pull-up
or pull-down. For the GPIO ports that are used as keypad inputs, internal pull-up should be
enabled. For those that are used as keypad outputs, no internal pull-up or pull-down should
be enabled.
The scanning of column inputs should then be enabled for those GPIO ports that are
configured as keypad inputs by writing ‘1’s to the corresponding bits in the KPC_col register.
If any of the first three column inputs is to be used as dedicated key input, the corresponding
bits in the KPC_ctrl_msb register should be set to ‘1’. The bits in the KPC_row_msb and
KPC_row_lsb registers should also be set correctly to enable the row output scanning for
the corresponding GPIO ports programmed as keypad outputs.
The scan count and de-bounce count should also be programmed into the keypad control
registers before enabling the keypad controller operation. To enable the keypad controller
operation, the Enable_KPC bit in the system control register must be set to ‘1’ to provide the
required clock signals. The keypad controller will then start its operation by setting the
SCAN bit in the KPC_ctrl_lsb register to ‘1’.
The keypad controller operation can be disabled by setting the SCAN bit back to ‘0’. To
further reduce the power consumption, the clock signals can be cut off from the keypad
controller by setting the Enable_KPC bit to ‘0’.
ScanCount value is programmable to any value between 1-15 by writing into the scancount
register. If scan count is programmed to N, the Keypad Controller scans the entire matrix for
N times, collecting up to 2 matrix key and 4 dedicated keys, loads the keys into 1 set of
keypad data buffer and interrupts the host system.
相關(guān)PDF資料
PDF描述
STMPE801MTR 8 I/O, PIA-GENERAL PURPOSE, PDSO16
STMPS2262MTR 4 I/O, PIA-GENERAL PURPOSE, PDSO8
STN8810B2S12HPI 32-BIT, 264 MHz, RISC PROCESSOR, PBGA26
STN8810BES12HPBE 32-BIT, 264 MHz, RISC PROCESSOR, PBGA26
STP1012PGA-110 32-BIT, 110 MHz, RISC PROCESSOR, CPGA321
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
STMPE2403 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:24-bit Enhanced port expander with Keypad and PWM controller Xpander logic
STMPE2403TBR 功能描述:接口 - 專用 24-bit Enhanced RoHS:否 制造商:Texas Instruments 產(chǎn)品類型:1080p60 Image Sensor Receiver 工作電源電壓:1.8 V 電源電流:89 mA 最大功率耗散: 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:BGA-59
STMPE24M31QTR 功能描述:電容觸摸傳感器 S-Touch 24 Cap Sens 15fF 512 Steps 30pF RoHS:否 制造商:Microchip Technology 電源電壓: 通道數(shù)量: 封裝 / 箱體: 尺寸: 溫度范圍:
STMPE321 制造商:STMicroelectronics 功能描述:3-channel touchkey controller
STMPE321QTR 功能描述:觸摸屏轉(zhuǎn)換器和控制器 3-channel CAP Touch Key Controller RoHS:否 制造商:Microchip Technology 類型:Resistive Touch Controllers 輸入類型:3 Key 數(shù)據(jù)速率:140 SPS 分辨率:10 bit 接口類型:4-Wire, 5-Wire, 8-Wire, I2C, SPI 電源電壓:2.5 V to 5.25 V 電源電流:17 mA 工作溫度:- 40 C to + 85 C 封裝 / 箱體:SSOP-20