347
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
(1)
Anytime rewrite
Anytime rewrite is set by setting TRnOPT0 register bit TRnCMS = 1. The TRnOPT1 register bit
TRnRDE setting is ignored.
In this mode, the value written to each compare register is immediately transferred to the internal
buffer register and compared to the counter value.
Following write to a compare register (TRnCCR0 register, etc.), the value is transferred to the
internal buffer register after the lapse of 4 clocks (f
TMRn
). However, since only the TRnCCR1
register has a 2-stage configuration, the actual transfer timing is after the lapse of 5 clocks (f
TMRn
).
Figure 10-25:
Anytime Rewrite Timing
Remarks: 1.
D01, D02: TRnCCR0 register setting value (0000H to FFFFH)
D11, D12: TRnCCR1 register setting value (0000H to FFFFH)
D21:
TRnCCR2 register setting value (0000H to FFFFH)
D31:
TRnCCR3 register setting value (0000H to FFFFH)
2.
Timing chart using interval timer mode as an example
3.
n = 0, 1
Counter
TRnCCR0
TRnCCR1
TRnCCR2
TRnCCR3
INTTRnCC0
INTTRnCC1
INTTRnCC2
INTTRnCC3
TRnCCR0
buffer
TRnCCR1
buffer
TRnCCR2
buffer
TRnCCR3
buffer
0000H
D
11
D
11
D
12
D
11
D
11
D
12
D
12
D
21
D
21
D
21
D
01
D
01
D
02
D
02
D
01
D
12
D
21
0000H
D
01
D
02
0000H
D
21
D
31
0000H
D
31
D
31
D
31
D
31
TRnRSF
TRnCE
31
D
L
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: ......