| 数据搜索系统,热门电子元器件搜索 |
|
R8C/2G 数据表(PDF) 145 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C/2G 数据表(HTML) 145 Page - Renesas Technology Corp |
|
145 / 344 page ![]() R8C/2G Group 13. Interrupts Rev.1.00 Apr 04, 2008 Page 125 of 318 REJ09B0387-0100 13.3 Key Input Interrupt A key input interrupt request is generated by one of the input edges of the K10 to K13 pins. Table 13.7 lists the Pin Configuration of Key Input Interrupt. The key input interrupt can be used as a key-on wake-up function to exit wait or stop mode. The KIiEN (i = 0 to 3) bit in the KIEN register can select whether the pins are used as KIi input. The KIiPL bit in the KIEN register can select the input polarity. When inputting “L” to the KIi pin which sets the KIiPL bit to 0 (falling edge), the input of the other pins K10 to K13 is not detected as interrupts. Also, when inputting “H” to the KIi pin, which sets the KIiPL bit to 1 (rising edge), the input of the other pins K10 to K13 is not detected as interrupts. Figure 13.17 shows a Block Diagram of Key Input Interrupt and Figure 13.18 shows the KIEN Register. NOTES: 1. The KI0 pin is selected by the KI0SEL bit in the PINSR4 register. Refer to 8. I/O Ports for details. 2. The KI1 pin is selected by the KI1SEL bit in the PINSR4 register. Refer to 8. I/O Ports for details. Figure 13.17 Block Diagram of Key Input Interrupt Table 13.7 Pin Configuration of Key Input Interrupt Pin name Input/Output Function KI0 (P0_7 or P1_0(1)) Input KI0 input KI1 (P1_1 or P6_6(2)) Input KI1 input KI2 (P1_2) Input KI2 input KI3 (P1_3) Input KI3 input KI3 Pull-up transistor KI2 Pull-up transistor KI3PL = 0 KI3PL = 1 PD1_3 bit KI3EN bit PU02 bit in PUR0 register PD1_3 bit in PD1 register KUPIC register Interrupt control circuit Key input interrupt request KI2PL = 0 KI2PL = 1 PD1_2 bit KI2EN bit KI1 Pull-up transistor KI1PL = 0 KI1PL = 1 PD1_1 bit KI1EN bit KI0 Pull-up transistor KI0PL = 0 KI0PL = 1 PD1_0 bit KI0EN bit KI0EN, KI1EN, KI2EN, KI3EN, KI0PL, KI1PL, KI2PL, KI3PL: Bits in KIEN register PD1_0, PD1_1, PD1_2, PD1_3: Bits in PD1 register |
|
链接网址 |
| 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 |