| Electronic Components Datasheet Search |
|
3886 Datasheet(PDF) 137 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
3886 Datasheet(HTML) 137 Page - Renesas Technology Corp |
|
137 / 380 page ![]() 2-20 3886 Group User’s Manual APPLICATION 2.2 Interrupt 2.2.7 Key input interrupt A key input interrupt request is generated by applying “L” level to any port P3 pin that has been set to the input mode. In other words, it is generated when AND of the input level goes from “1” to “0”. (1) Connection example when Key input interrupt is used When using the Key input interrupt, compose an active-low key matrix which inputs to port P3. Figure 2.2.15 shows a connection example and the port P3 block diagram when using a key input interrupt. In the connection example in Figure 2.2.15, a key input interrupt request is generated by pressing one of the keys corresponding to ports P30 to P33. Fig. 2.2.15 Connection example and port P3 block diagram when using key input interrupt ✻ ✻✻ ✻ ✻✻ ✻ ✻✻ ✻ ✻✻ ✻ ✻✻ ✻ ✻✻ ✻ ✻✻ ✻ ✻✻ Port P30 latch Port P30 direction register = “0” Port P31 latch Port P31 direction register = “0” Port P32 latch Port P32 direction register = “0” Port P33 latch Port P33 direction register = “0” Port P34 latch Port P34 direction register = “1” Port P35 latch Port P35 direction register = “1” Port P36 latch Port P36 direction register = “1” Port P37 latch Port P37 direction register = “1” P30 input P31 input P32 input P33 input P34 output P35 output P36 output P37 output Port P3 Input reading circuit Comparator circuit Port PXx “L” level output [ P-channel transistor for pull-up [[ CMOS output buffer Key input interrupt request Port control register 1 Bit 4 = “1” Port P30 latch Port P30 direction register = “0” Port P31 latch Port P31 direction register = “0” Port P32 latch Port P32 direction register = “0” Port P33 latch Port P33 direction register = “0” Port P34 latch Port P34 direction register = “1” Port P35 latch Port P35 direction register = “1” Port P36 latch Port P36 direction register = “1” Port P37 latch Port P37 direction register = “1” P30 input P31 input P32 input P33 input P34 output P35 output P36 output P37 output Port control register 1 Bit 5 = “0” Port P3 Input reading circuit Comparator circuit Port PXx “L” level output ✻ P-channel transistor for pull-up ✻✻ CMOS output buffer Key input interrupt request Port control register 1 Bit 4 = “1” |
|
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 |