
142
•
Bit 10—NMI Flag Bit (NMIF): Indicates that an NMI interrupt has occurred. When the NMIF
bit is set, DTC transfers are not allowed even if the DTER bit is set to 1. If, however, a transfer
has already started with the NMIM bit of the DTMR set to 1, execution will continue until that
transfer ends. To clear the NMIF bit, read the 1 from it, then write a 0.
The NMIF bit is initialized to 0 by power-on resets and in standby mode.
Bit 10 (NMIF)
Description
0
No NMI interrupts (initial value)
(Clear condition) Write a 0 after reading the NMIF bit
1
NMI interrupt has been generated
•
Bit 9—Address Error Flag (AE): Indicates that an address error by the DTC has occurred.
When the AE bit is set, DTC transfers are not allowed even if the DTER bit is set to 1. To clear
the AE bit, read the 1 from it, then write a 0.
The AE bit is initialized to 0 by power-on resets and in standby mode.
Bit 9 (AE)
Description
0
No address error by the DTC (initial value)
(Clear condition) Write a 0 after reading the AE bit
1
An address error by the DTC occurred
•
Bit 8—DTC Software Activation Enable Bit (SWDTE): This bit enables/disables DTC
activation by software.
The AE bit is initialized to 0 by resets and standby mode. For details, see section 8.3.2,
Activating Sources.
Bit 8 (SWDTE)
Description
0
DTC activation by software disabled (initial value)
1
DTC activation by software enabled
•
Bits 7–0—Software Activation Vectors 7–0 (DTVEC7–DTVEC0): These bits set the DTC
vector addresses for DTC activation by software. A vector address is calculated as H'0400 +
DTVEC[7:0]. Always specify 0 for DTVEC0. 8 bits are available, so you can specify values
H'00 (0)–H'FE (254).
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...