| Electronic Components Datasheet Search |
|
H838024 Datasheet(PDF) 132 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H838024 Datasheet(HTML) 132 Page - Renesas Technology Corp |
|
132 / 697 page ![]() Section 3 Exception Handling Rev. 7.00 Mar 10, 2005 page 90 of 652 REJ09B0042-0700 Wakeup Edge Select Register (WEGR) Bit Initial value Read/Write 7 WKEGS7 0 R/W 6 WKEGS6 0 R/W 5 WKEGS5 0 R/W 4 WKEGS4 0 R/W 3 WKEGS3 0 R/W 0 WKEGS0 0 R/W 2 WKEGS2 0 R/W 1 WKEGS1 0 R/W WEGR is an 8-bit read/write register that specifies rising or falling edge sensing for pins WKPn. WEGR is initialized to H'00 by a reset. Bit n— WKPn Edge Select (WKEGSn) Bit n selects WKPn pin input sensing. Bit n WKEGSn Description 0 WKPn pin falling edge detected (initial value) 1 WKPn pin rising edge detected (n = 7 to 0) 3.3.3 External Interrupts There are 13 external interrupts: WKP7 to WKP0, IRQ4, IRQ3, IRQ1, IRQ0, and IRQAEC. Interrupts WKP7 to WKP0 Interrupts WKP7 to WKP0 are requested by either rising or falling edge input to pins WKP 7 to WKP 0. When these pins are designated as pins WKP 7 to WKP 0 in port mode register 5 and a rising or falling edge is input, the corresponding bit in IWPR is set to 1, requesting an interrupt. Recognition of wakeup interrupt requests can be disabled by clearing the IENWP bit to 0 in IENR1. These interrupts can all be masked by setting the I bit to 1 in CCR. When WKP7 to WKP0 interrupt exception handling is initiated, the I bit is set to 1 in CCR. Vector number 9 is assigned to interrupts WKP7 to WKP0. All eight interrupt sources have the same vector number, so the interrupt-handling routine must discriminate the interrupt source. |
|
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 |