CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
298
User’s Manual U14492EJ3V0UD
9.2 Timer 1
9.2.1 Features (timer 1)
Timers 10, 11 (TM10, TM11) are 16-bit up/down counters that perform the following operations.
•
General-purpose timer mode
Free-running timer
PWM output
•
Up/down counter mode
UDC mode A
UDC mode B
9.2.2 Function overview (timer 1)
•
16-bit 2-phase encoder input up/down counter & general-purpose timer (TM1n): 2 channels
•
Compare register: 2
×
2 channels
•
Capture/compare register: 2
×
2 channels
•
Interrupt request source
•
Capture/compare match interrupt: 2 types
×
2 channels
•
Compare match interrupt request: 2 types
×
2 channels
•
Capture request signal: 2 types
×
2 channels
•
The TM1n value can be latched using the valid edge of the INTP1n0, INTP1n1 pins corresponding to the
capture/compare register as the capture trigger.
•
Count clocks selectable through division by prescaler (set the frequency of the count clock to 8 MHz or less)
•
Base clock (f
CLK
): 2 types (set f
CLK
to 16 MHz or less)
f
XX
/2 and f
XX
/4 can be selected
•
Prescaler division ratio
The following division ratios can be selected according to the base clock (f
CLK
).
Base Clock (f
CLK
)
Division Ratio
f
XX
/2 Selected
f
XX
/4 Selected
1/2
f
XX
/4
f
XX
/8
1/4
f
XX
/8
f
XX
/16
1/8
f
XX
/16
f
XX
/32
1/16
f
XX
/32
f
XX
/64
1/32
f
XX
/64
f
XX
/128
1/64
f
XX
/128
f
XX
/256
1/128
f
XX
/256
f
XX
/512
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...