341
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
(12) TMRn option register 6 (TRnOPT6)
The TRnOPT6 register is an 8-bit register that controls the various flags of timer Rn.
This register can be read and written in 8-bit or 1-bit units.
RESET input or setting TRnCE = 0 clears this register to 00H.
Remark:
For the functions of the various flags, refer to
.
Figure 10-23:
TMRn Option Register 6 (TRnOPT6)
Remark:
n = 0, 1
After reset:
00H
R/W
Address:
TR0OPT6 FFFFF58CH
TR1OPT6 FFFFF5CCH
7
6
5
4
3
2
1
0
TRnOPT6
0
0
0
0
0
TRnTBF
TRnSUF
TRnRSF
(n = 0, 1)
TRnTBF
True Bar Active Detection Flag
0
Normal phase and inverted phase are not simultaneously active.
1
Normal phase and inverted phase are simultaneously active.
This flag detects when the normal phase and inverted phase are simultaneously active,
while any of bits TRnTBA2 to TRnTBA0 of the TRnIOC4 register is 1. When bits TRnTBA2
to TRnTBA0 = 000B, simultaneous active is not detected.
Remarks: 1.
The TRnTBF flag is set (1) upon detection that any of the normal phases
(TORn1, TORn3, TORn5) and inverted phases (TORn2, TORn4, TORn6)
are simultaneously active, and an error interrupt (INTTRnER) is output at
such time.
2.
This flag can be cleared by writing “0” to it.
TRnSUF
Timer R Sub-Counter Up/Down Detection Flag
0
Sub-counter is counting up
1
Sub-counter is counting down
The TRnSUF flag detects sub-counter counting from 0000H until (TRnCCR0 register
value
-
2) as up count, and counting from TRnCCR0 register value until 0002H as down
count.
Remarks: 1.
The TRnSUF flag is a read-only flag.
2.
The TRnSUF flag is valid only in the high-accuracy T-PWM mode.
TRnRSF
Reload Suspension Flag
0
Write access to TRnCCR0 to TRnCCR5 and TRnOPT1 registers is enabled
(no reload request, or completion of reload).
1
Write access to TRnCCR0 to TRnCCR5 and TRnOPT1 registers is disabled
(reload request was output).
The TRnRSF flag indicates output of a reload request. It indicates that the data to be
transferred next will be held in the TRnCCR0 to TRnCCR5 and TRnOPT1 registers.
The TRnRSF flag is set (1) upon write to the TRnCCR1 register, and cleared (0) upon
reload completion.
Summary of Contents for MuPD70F3187
Page 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Page 16: ...16 User s Manual U16580EE3V1UD00 ...
Page 28: ...28 User s Manual U16580EE3V1UD00 ...
Page 32: ...32 User s Manual U16580EE3V1UD00 ...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Page 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Page 1053: ......