408
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
10.10.6 Free-running
mode
(1)
Outline of free-running mode
The operation timing of the free-running mode is shown below.
The operation for bits TRnCCS0 to TRnCCS3 of register TRnOPT0 is specified.
Figure 10-50:
Basic Operation Flow in Free-Running Mode
Remarks: 1.
This is an example when using the TRnCCR0 and TRnCCR1 registers. When using the
TRnCCR2 and TRnCCR3 registers, the operation is controlled in the same manner via
bits TRnCCS3 and TRnCCS2.
2.
n = 0, 1
START
TRnCCS1, TRnCCS0
settings
Initial settings
Clock selection
(TRnCTL0: TRnCKS2 to TRnCKS0)
Free-running mode setting
(TRnCTL1: TRnMD3 to TRnMD0 = 0101)
Match between
TRnCCR1 buffer
and counter
Match between
TRnCCR0 buffer
and counter
TIRn0 edge detection
settings
(TRnIS1, TRnIS0)
TRnCCS1 = 0
TRnCCS0 = 0
TRnCCS1 = 0
TRnCCS0 = 0
TRnCCS1 = 1
TRnCCS0 = 1
TRnCCS1 = 1
TRnCCS0 = 1
Timer operation enable
(TRnCE = 1)
Transfer of values of
TRnCCR0 and
TRnCCR1 to TRnCCR0
and TRnCCR1 buffers
Timer operation enable
(TRnCE = 1)
Transfer of value of
TRnCCR1 to TRnCCR1
buffer
Counter overflow
Timer operation enable
(TRnCE = 1)
Transfer of value of
TRnCCR0 to TRnCCR0
buffer
Match between
TRnCCR1 buffer
and counter
TIRn0 edge
detection, capture
of counter value
to TRnCCR0
Counter overflow
Counter overflow
Counter overflow
Match between
TRnCCR1 buffer
and counter
Timer operation enable
(TRnCE = 1)
TIRn1 and TIRn0 edge
detection settings
(TRnIS3, TRnIS2)
TIRn1 edge
detection, capture
of counter value
to TRnCCR1
TIRn0 edge
detection, capture
of counter value
to TRnCCR0
TIRn1 edge
detection, capture
of counter value
to TRnCCR1
TIRn1 edge detection
settings
(TRnIS3, TRnIS2)
•
•
→
→
→
Содержание MuPD70F3187
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Страница 16: ...16 User s Manual U16580EE3V1UD00 ...
Страница 28: ...28 User s Manual U16580EE3V1UD00 ...
Страница 32: ...32 User s Manual U16580EE3V1UD00 ...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 192: ...192 Chapter 5 Memory Access Control Function μPD70F3187 only User s Manual U16580EE3V1UD00 MEMO ...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Страница 1053: ......