| Electronic Components Datasheet Search |
|
7630 Datasheet(PDF) 82 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7630 Datasheet(HTML) 82 Page - Renesas Technology Corp |
|
82 / 238 page ![]() APPLICATION 2.2 Interrupts 2-16 7630 Group User’s Manual 2.2.4 Key-on wake-up interrupt Figure 2.2.12 and Figure 2.2.13 show setting method for registers related to the key-on wake-up interrupt. b7 b0 Port P4 direction register (P4D) [Address: 001116] Port P40 direction register Port P41 direction register Port P42 direction register Port P43 direction register Port P44 direction register Port P45 direction register Port P46 direction register Port P47 direction register b7 b0 Interrupt control register C (ICONC) [Address: 000716] Key-on wake-up interrupt enable bit Step 1: Disable the key-on wake-up interrupt or all interrupts to prevent unnecessary interrupts occurring during setting. In the former, set the Interrupt disable flag (I) to “1”. In the latter, clear the Key-on wake-up interrupt enable bit to “0”. Step 2: Set the ports of P4 used as key-on wake-up input pin to input mode. Step 3: Pull-up/down the ports of P4 used as key-on wake-up input pin. 0 : Input mode 1 : Output mode b7 b0 Port P4 pull-up/down control register (PUP4) [Address: 002C16] Port P40 pull-up/down transistor control bit Port P41 pull-up/down transistor control bit Port P42 pull-up/down transistor control bit Port P43 pull-up/down transistor control bit Port P44 pull-up/down transistor control bit Port P45 pull-up/down transistor control bit Port P46 pull-up/down transistor control bit Port P47 pull-up/down transistor control bit 0 : No pull-up/down 1 : Pull-up/down Step 4: Set the key-on wake-up polarity. b7 b0 Polarity control register (PCON) [Address: 002F16] 0 Key on wake-up polarity control bit 0 : Low level active (P4 pull-up) 1 : High level active (P4 pull-down) 0 Fig. 2.2.12 Setting method for registers related to key-on wake-up interrupt (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 |