Renesas M16C/6NK Información técnica Pagina 98

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 412
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 97
Rev.2.10 Apr 14, 2006 page 74 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 8. Clock Generation Circuit
8.4.3.3 Exiting Stop Mode
_______
Stop mode is exited by a hardware reset, NMI interrupt or peripheral function interrupt.
_______
When the hardware reset or NMI interrupt is used to exit stop mode, set all ILVL2 to ILVL0 bits in the
interrupt control registers for the peripheral function interrupt to 000b (interrupt disabled) before setting
the CM10 bit in the CM1 register to 1.
When the peripheral function interrupt is used to exit stop mode, set the CM10 bit to 1 after the following
settings are completed.
(1) Set bits ILVL2 to ILVL0 in the interrupt control registers to decide the peripheral priority level of the
peripheral function interrupt.
Set the interrupt priority levels of the interrupts, not being used to exit stop mode, to 0 by setting the
all ILVL2 to ILVL0 bits to 000b (interrupt disabled).
(2) Set the I flag to 1.
(3) Start operation of peripheral function being used to exit wait mode.
When exiting stop mode by the peripheral function interrupt, the interrupt routine is performed when
an interrupt request is generated and the CPU clock is supplied again.
_______
When stop mode is exited by the peripheral function interrupt or NMI interrupt, the CPU clock source is
as follows, in accordance with the CPU clock source setting before the MCU had entered stop mode.
When the sub clock is the CPU clock before entering stop mode: Sub clock
When the main clock is the CPU clock source before entering stop mode:
Main clock divided by 8
When the on-chip oscillator clock is the CPU clock source before entering stop mode:
On-chip oscillator clock divided by 8
Vista de pagina 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 411 412

Comentarios a estos manuales

Sin comentarios