| 数据搜索系统,热门电子元器件搜索 |
|
AN431 数据表(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN431 数据表(HTML) 6 Page - STMicroelectronics |
|
6 / 15 page ![]() ANALOG KEYBOARD 6/15 EXTENSION FOR WAKE UP ST6 family members with the Analog input capacity can also generate a wake-up opera- tion (from WAIT or STOP modes) on the pressing of a key. This can be achieved by a modification of the circuit shown in figure 1. The pull-up resistor is not connected to VDD but to an additional I/O port bit. During key polling, this additional port bit is set to output mode active high, thus effectively switching VDD to the pull-up resistor. The resistance of the pull-up resistor must be high enough to give no significant voltage drop, or the result- ing error must be calculated and taken into account. The other I/O bit is used as the Ana- log input to the ADC as in the original circuit. During the wait for the key press, the first I/O pin, used to pull the pull-up resistor high to VDD while polling, is switched into a high im- pedance state (e.g. open drain output mode). The second I/O pin, used as the ADC input while polling, is switched to the interrupt input with pull-up mode. The internal pull-up is in the range of 100k, in comparison to the 1k - 10k of the external resistor used during poll- ing. If any key is now pressed an interrupt will be generated if the voltage at the second I/O pin is below the Schmitt trigger low level threshold. The serial resistors in the keyboard chain must not be too high in this case, there- fore the maximum number of keys is reduced in comparison to the normal mode. Figure 3. Keyboard wake-up circuit Figure 4. Keyboard reading Figure 5. Interrupt configuration |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |