Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3245 Datasheet(PDF) 17 Page - STMicroelectronics

Part # AN3245
Description  A hardware and software guide for the STMPE1801 Xpander
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3245 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN3245 Datasheet HTML 11Page - STMicroelectronics AN3245 Datasheet HTML 12Page - STMicroelectronics AN3245 Datasheet HTML 13Page - STMicroelectronics AN3245 Datasheet HTML 14Page - STMicroelectronics AN3245 Datasheet HTML 15Page - STMicroelectronics AN3245 Datasheet HTML 16Page - STMicroelectronics AN3245 Datasheet HTML 17Page - STMicroelectronics AN3245 Datasheet HTML 18Page - STMicroelectronics AN3245 Datasheet HTML 19Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 17 / 19 page
background image
AN3245
Software
Doc ID 17747 Rev 1
17/19
2.2.4
Key lock with combination keys
STMPE1801 provides key lock features when a combination key is defined. Without a
programmed combination key, this feature is not active. Once activated all subsequent key
presses are ignored. Key lock remains until a combination keys press is detected.
Key lock is enabled when:
1.
Bit[1] of the KPC_CMD register is written '1' and
2.
All keys are released.
Read back of '1' at bit [1] of the KPC_CMD register only means that the key lock command
is active. It doesn't mean that the device has already entered into key lock mode.
Read back of '0' at bit [1] of the KPC_CMD register means that the key lock command is not
active or the device has exited from key lock mode.
2.3
Hotkey de-bounce
It is possible that a signal from a mechanical connector (e.g. a 3.5 mm earphone jack) is
connected to the STMPE1801 input as a hotkey input. In such a case, excessive noise is
expected from the hotkey input due to the mechanical movement.
STMPE1801 provides a programmable hotkey de-bounce ranging from 30 µs to 210 µs
(SYS_CTRL Register 0x02). If this is not sufficient, it is also possible to connect the noise
input to one of the 4 dedicated keys (GPIO_0, GPIO_1, GPIO_2, and GPIO_3 pins) to which
de-bounce can be programmed from 10 ms to 127 ms (KPC_CTRL_MID Register 0x34).
If the above de-bounce is still not sufficient, the host can implement the filtering or de-
bouncing by polling the status bit in the interrupt status register (0x09).
2.4
Power modes transition
Table 3 highlights the states of keypad FIFO, GPIO, Interrupt, and PWM during the various
power modes:
–
Operational mode
–
Hibernation mode
–
Reset
Table 3.
Power modes vs. GPIO/Keypad/Interrupt data
Operational
mode
Hibernation mode
Reset (HW, SW, POR,
general call)
Keypad configuration
and FIFO data
Active
Sustained
(FIFO is read and cleared
prior to entering
hibernation mode)
Cleared
GPIO configuration, pin
state, and data
Active
Sustained
Cleared
Interrupt configuration
and data
Active
Sustained
Cleared



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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