Timer 1; Features (Timer 1); Function Overview (Timer 1) - NEC PD703114 User Manual

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

9.2 Timer 1

9.2.1 Features (timer 1)

Timer 10 (TM10) is a 16-bit up/down counter that performs the following operations.
• General-purpose timer mode (See 9.2.5 (1) Operation in general-purpose timer mode.)
Free-running timer
PWM output
• Up/down counter mode (See 9.2.5 (2) Operation in UDC mode.)
UDC mode A (mode 1, mode 2, mode 3, mode 4)
UDC mode B (mode 1, mode 2, mode 3, mode 4)

9.2.2 Function overview (timer 1)

16-bit 2-phase encoder input up/down counter & general-purpose timer (TM10)
Compare registers: 2
Capture/compare registers: 2
Interrupt request sources
• Capture/compare match interrupt: 2 types
• Compare match interrupt request: 2 types
Capture request signal: 2 types
• The TM10 value can be latched using the valid edge of the INTP100 and INTP101 pins corresponding to
the capture/compare register as the capture trigger.
Count clock selectable through division by prescaler (set the frequency of the count clock to 10 MHz or less)
Base clock (f
): 1 type (set f
CLK
f
/2
XX
Prescaler division ratio
The following division ratios can be selected according to the base clock (f
294
CHAPTER 9 TIMER/COUNTER FUNCTION
to 20 MHz or less)
CLK
Division Ratio
Base Clock (f
1/2
1/4
1/8
1/16
1/32
1/64
1/128
User's Manual U15195EJ5V0UD
).
CLK
)
CLK
f
/4
XX
f
/8
XX
f
/16
XX
f
/32
XX
f
/64
XX
f
/128
XX
f
/256
XX

Advertisement

Table of Contents
loading

Table of Contents