
Rev.2.10 Apr 14, 2006 page 72 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 8. Clock Generation Circuit
Interrupt CM02 Bit = 0 CM02 Bit = 1
_______
NMI interrupt Can be used Can be used
Serial interface 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 MCU exits wait mode by a peripheral function interrupt, set up the following 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 as soon as an
interrupt request is acknowledged and the CPU clock is supplied again.
When the MCU exits wait mode by the peripheral function interrupt, the CPU clock is the same clock as
the CPU clock executing the WAIT instruction.
Table 8.5 Interrupts to Exit Wait Mode and Use Conditions
Comentários a estes Manuais