Renesas M16C/60 Series Hardware Manual page 72

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
Table 1.8.5 Interrupts to Exit Wait Mode
Interrupt
_______
NMI interrupt
Serial I/O interrupt
Key input interrupt
A-D conversion interrupt
Timer A interrupt
Timer B interrupt
______
INT interrupt
CAN0 Wake-up interrupt
If the microcomputer is to be moved out of wait mode by a peripheral function interrupt, set up the
following before executing the WAIT instruction.
1. In the ILVL2 to ILVL0 bits of interrupt control register, set the interrupt priority level of the peripheral
function interrupt to be used to exit wait mode.
Also, for all of the peripheral function interrupts not used to exit wait mode, set the ILVL2 to ILVL0
bits to "000
2. Set the I flag to "1".
3. Enable the peripheral function whose interrupt is to be used to exit wait mode.
In this case, when an interrupt request is generated and the CPU clock is thereby turned on, an
interrupt routine is executed.
The CPU clock turned on when exiting wait mode by a peripheral function interrupt is the same CPU
clock that was on when the WAIT instruction was executed.
Rev.1.00
2003.05.30
page 58
CM02 = 0
Can be used
Can be used when operating with
internal or external clock
Can be used
Can be used in one-shot mode or
single sweep mode
Can be used in all modes
Can be used
Can be used
" (interrupt disable).
2
Clock Generation Circuit
CM02 = 1
Can be used
Can be used when operating with
external clock
Can be used
- (Do not use)
Can be used in event counter mode
or when the count source is f
Can be used
Can be used
c32

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents