Renesas M16C/6NK Manual Do Utilizador

Página de 340
Rev.1.10    Jul 01, 2005    page 51 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM)
7. Clock Generating Circuit
Under development
This document is under development and its contents are subject to change.
Interrupt
CM02 Bit = 0
CM02 Bit = 1
_______
NMI Interrupt
Can be used
Can be used
Serial I/O Interrupt
Can be used when operating with
Can be used when operating with
internal or external clock
external clock
Key Input Interrupt
Can be used
Can be used
A/D Conversion Interrupt
Can be used in one-shot mode or
- (Do not use)
single sweep mode
Timer A Interrupt
Can be used in all modes
Can be used in event counter mode
Timer B interrupt
or when the count source is fc32
______
INT Interrupt
Can be used
Can be used
CAN0/1 Wake-up Interrupt Can be used in CAN sleep mode
Can be used in CAN sleep mode
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) Set the ILVL2 to ILVL0 bits in the interrupt control register, for peripheral function interrupts used to
exit wait mode.
The ILVL2 to ILVL0 bits in all other interrupt control registers, for peripheral function interrupts not
used to exit wait mode, are set to “000b” (interrupt disable).
(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 as soon as an
interrupt request is acknowledged and 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 7.5  Interrupts to Exit Wait Mode