| Electronic Components Datasheet Search |
|
3822 Datasheet(PDF) 95 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
3822 Datasheet(HTML) 95 Page - Renesas Technology Corp |
|
95 / 328 page ![]() 2.2 Interrupts APPLICATION 2–29 3822 GROUP USER’S MANUAL 2.2.5 Key input interrupt The Key input interrupt request occurs when an “L” level voltage is applied to the pin set for the input mode of the port P2. For interrupt sources except the INT interrupts and the Key input interrupt, refer to “CHAPTER 1”. (1) Connection example when the Key input interrupt is used When using the Key input interrupt, after set ports P20 to P23 for the input mode, configure an “L” level valid key-matrix. Figure 2.2.15 shows a connection example when the key input interrupt is used, and a port P2 block diagram. In the connection example in Figure 2.2.15, an Key input interrupt request is caused by pressing the key corresponding to one of ports P20 to P23. Fig. 2.2.15 Connection example when key input interrupt is used, and port P2 block diagram V1: P-channel transistor for pull-up V2: CMOS output buffer Port P20 latch Port P2 direction register, b0 = “0” V1 V2 Port P21 latch Port P2 direction register, b1 = “0” V1 V2 Port P22 latch Port P2 direction register, b2 = “0” V1 V2 Port P23 latch Port P2 direction register, b3 = “0” V1 V2 Port P24 latch Port P2 direction register, b4 = “1” V1 V2 Port P25 latch Port P2 direction register, b5 = “1” V1 V2 Port P26 latch Port P2 direction register, b6 = “1” V1 V2 Port P27 latch Port P2 direction register, b7 = “1” V1 V2 P27 output Port PXx “L” level output PULL register A, b2 = “1” Port P2 input reading circuit Key input interrupt request P26 output P25 output P24 output P23 input P22 input P21 input P20 input |
|
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 |
| 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 |