| 数据搜索系统,热门电子元器件搜索 |
|
M16C/29 数据表(PDF) 352 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M16C/29 数据表(HTML) 352 Page - Renesas Technology Corp |
|
352 / 499 page ![]() 19. Programmable I/O Ports p u o r G 9 2 / C 6 1 M page 328 8 5 4 f o 7 0 0 2 , 0 3 .r a M 2 1 . 1 . v e R 2 1 1 0 - 1 0 1 0 B 9 0 J E R Figure 19.12 Functioning of Digital Debounce Filter f8 P17 Data Bus 1. (Condition after reset). P17DDR=FF16. Pin input signal will be output directly. 2. Set the P17DDR register to 0316. The P17DDR register starts decrement along the f8 as a counter source, if the pin input level (e.g.,"L") and the signal output level (e.g.,"H") are not matched. 3. The P17DDR register will stops counting when the pin input level and the signal output level are matched (e.g., both levels are "H") while counting. 4. If the pin input level (e.g.,"L") and the signal output level (e.g.,"H") are not matched the P17DDR register will start decrement again after the setting value is reloaded. 5. When the P17DDR register is underflow, it stops counting and the signal output will output the same as pin input level (e.g."L"). 6. If the pin input level (e.g.,"H") and the signal output level (e.g., "L") are not matched again, the P17DDR register will start decrement again after the setting value is reloaded. 7. When the P17DDR register is underflow, it stops counting and the signal output will output the same as pin input level (e.g."H"). 8. If the pin input level (e.g.,"H") and the signal output level (e.g., "L") are not matched again, the P17DDR register will start decrement again after the setting value is reloaded. 9. Set the P17DDR register to FF16. The P17DDR register starts counting after the setting value is reloaded. Pin input signal will be output directly. Clock Port In Reload Value (write) Digital Debounce Filter Signal Out Count Value (read) To INT5 Data Bus f8 Reload Value Port In Signal Out Count Value Reload Value (continued) Port In (continued) Signal Out (continued) Count Value (continued) FF 03 FF 03 02 01 03 02 01 00 FF 03 FF 03 02 01 00 FF FF 03 02 FF 1 2 3 4 5 6 7 8 9 • Example of INT5 Digital Debounce Function (if P17DDR = 0316) |
|
链接网址 |
| 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 |