CHAPTER 9 TIMER/COUNTER FUNCTION
311
User’s Manual U15195EJ5V0UD
Table 9-7. Capture Trigger Signal (TM10) to 16-Bit Capture Register
Capture Register
Capture Trigger Signal
CC100 INTP100
CC101
INTP100 or INTP101
Remark
CC100 and CC101 are capture/compare registers. Which of these registers is used is
specified by capture/compare control register 0 (CCR0).
The valid edge of the capture trigger is specified by signal edge selection register 10 (SESA10). If both
the rising edge and the falling edge are selected as the capture triggers, it is possible to measure the
input pulse width externally. If a single edge is selected as the capture trigger, the input pulse cycle can
be measured.
(e) PWM output operation
PWM output operation is performed from the TO10 pin by setting TM10 to the general-purpose timer
mode (CMD bit = 0) using timer unit mode register 0 (TUM0).
The resolution is 16 bits, and the count clock can be selected from among seven internal clocks (f
CLK
/2,
f
CLK
/4, f
CLK
/8, f
CLK
/16, f
CLK
/32, f
CLK
/64, f
CLK
/128).
Figure 9-49. TM10 Block Diagram (During PWM Output Operation)
TM10 (16 bits)
Compare register
(CM100)
Compare register
(CM101)
S
INTCM100
INTCM101
ALVT10
TUM0 register
Clear
16
16
TO10
Q
R
f
CLK
/2
f
CLK
/4
f
CLK
/8
f
CLK
/16
f
CLK
/32
f
CLK
/64
f
CLK
/128
Caution Be sure to set the count clock of TM10 to 10 MHz or lower.
Remark
f
CLK
: Base clock
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...