535
User’s Manual U16580EE3V1UD00
Chapter 12
16-bit 2-Phase Encoder Input Up/Down Counter/General Purpose
Timer (TMENC10) (
μ
PD70F3187 only)
12.1 Features
Timer ENC10 (TMENC10) is a 16-bit up/down counter that performs the following operations.
•
General-purpose timer mode:
- Free-running timer
- PWM output
•
Up/down counter mode
- UDC mode A
- UDC mode B
Remark:
TMENC10 is available on
μ
PD70F3187 only.
12.2 Function
Outline
•
Compare register × 2
•
Capture/compare register × 2
•
Interrupt request source
- Capture/compare match interrupt × 2
- Compare match interrupt × 2
- Overflow interrupt × 1
- Underflow interrupt × 1
•
Capture request signal × 2
- The TMENC10 value can be latched using the valid edge of the TICC10, TICC11 pins
corresponding to the capture/compare register as the capture trigger.
•
Base clock (f
CLK
) = f
XX
/4
(f
CLK
= 16 MHz @ f
XX
= 64 MHz)
•
Count clocks selectable through division by prescaler
•
2-phase encoder input
The 2-phase encoder signal from external is used as the count clock of the timer counter with the
external clock input pins (TIUD1, TCUD1). The counter mode can be selected from among the four
following modes.
Mode 1:
Counts the input pulses of the count pulse input pin.
Up/down is specified by the level of one more input pin.
Mode 2:
Counts up/down using the respective input pulses of the up count pulse input pin and
down count pulse input pin.
Mode 3:
Counts up/down using the phase relationship of the pulses input to 2 pins.
Mode 4:
Counts up/down using the phase relationship of the pulses input to 2 pins. Counting is
done using the respective rising edges and the falling edges of the pulses.
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: ......