R01UH0092EJ0110 Rev.1.10
Page 203 of 807
Jul 31, 2012
M16C/64C Group
14. Interrupts
14.2.11
NMI
/
SD
Digital Filter Register (NMIDF)
Change the NMIDF register under the following conditions:
•
The PM24 bit in the PM2 register is 0 (
NMI
interrupt disabled)
•
Bits INV02 and INV03 in the INVC0 register are 0 (three-phase motor control timer function not
used, three-phase motor control timer output disabled).
Once the PM24 bit is set to 1 (
NMI
interrupt enabled), it cannot be set to 0 by a program. Change the
NMIDF register before setting the PM24 bit to 1.
NMI/SD Digital Filter Register
Symbol
NMIDF
Address
0369h
Bit Symbol
Bit Name
RW
Reset Value
XXXX X000b
Function
—
(b7-b3)
No register bits. If necessary, set to 0. The read value is undefined.
—
b2 b1 b0
0 0 0 : No filter
0 0 1 : CPU clock divided by 2
0 1 0 : CPU clock divided by 4
0 1 1 : CPU clock divided by 8
1 0 0 : CPU clock divided by 16
1 0 1 : CPU clock divided by 32
1 1 0 : CPU clock divided by 64
1 1 1 : CPU clock divided by 128
NMI/SD filter sampling clock
select bit
NMIDF0
RW
NMIDF1
NMIDF2
RW
RW
b7 b6 b5 b4
b1
b2
b3
b0
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...