| Electronic Components Datasheet Search |
|
R5F3640MNFB Datasheet(PDF) 112 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640MNFB Datasheet(HTML) 112 Page - Renesas Technology Corp |
|
112 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 91 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 10. Clock Generation Circuit 10.4.2.4 Exiting Wait Mode The microcomputer is moved out of wait mode by a hardware reset, NMI interrupt, low voltage detec- tion interrupt or peripheral function interrupt. If the microcomputer is to exit wait mode by a hardware reset, NMI interrupt, or low voltage detection interrupt, set the peripheral function interrupt bits ILVL2 to ILVL0 to 000b (interrupts disabled) before executing the WAIT instruction. The peripheral function interrupts are affected by the CM02 bit. If the CM02 bit is 0 (peripheral func- tion clocks not turned off during wait mode), peripheral function interrupts can be used to exit wait mode. If the CM02 bit is 1 (peripheral function clocks turned off during wait mode), the peripheral functions using the peripheral function clocks stop operating, so that only the peripheral functions activated by external signals can be used to exit wait mode. Table 10.5 lists the Resets and Interrupts to Exit Wait Mode and Use Conditions. If the microcomputer is to be moved out of wait mode by a peripheral function interrupt, set up the fol- lowing before executing the WAIT instruction. (1) Set bits ILVL2 to ILVL0 in the interrupt control register, for peripheral function interrupts used to exit wait mode. Bits ILVL2 to ILVL0 in all other interrupt control registers, for peripheral function interrupts not used to exit wait mode, are set to 000b (interrupt disabled). (2) Set the I flag to 1. (3) Start operating the peripheral functions used to exit wait mode. When the peripheral function interrupt is used, an interrupt routine is performed after an interrupt request is generated and then the CPU clock is supplied again. When the microcomputer exits wait mode by the peripheral function interrupt, the CPU clock is the same clock as the CPU clock executing the WAIT instruction. Table 10.5 Resets and Interrupts to Exit Wait Mode and Use Conditions Reset, Interrupt CM02 = 0 CM02 = 1 NMI Interrupt Usable Usable Serial Interface Interrupt Usable when operating with internal or external clock Usable when operating with exter- nal clock Key Input Interrupt Usable Usable A/D Conversion Interrupt Usable in one-shot mode or single sweep mode Do not use Timer A Interrupt Timer B Interrupt Usable in all modes Usable in event counter mode or when the count source is fC32 INT Interrupt Usable Usable Low Voltage Detection Interrupt Usable Usable Hardware Reset 1 Usable Brown-out Reset Usable (See 6.1 Brown-out Reset) Watchdog Timer Reset Usable when count source protection mode is enabled (CSPRO = 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 |