CHAPTER 9 TIMER/COUNTER FUNCTION
369
User’s Manual U15195EJ5V0UD
9.4.3 Function added to V850E/IA2
Timer 3 (TM3) of the V850E/IA2 has an added function to control TO3 output by using the INTP4 pin. This
additional function can be used to forcibly stop TO3 output, if any abnormality is detected, by inputting a signal to the
INTP4 pin. This TO3 output stop function can also be used even when the clock supply is stopped.
9.4.4 Basic configuration
Table 9-13. Timer 3 Configuration List
Count Clock
Timer
Note 1
Note 2
Register Read/Write
Generated
Interrupt Signal
Capture
Trigger
Timer
Output S/R
TM3 Read
INTTM3
−
−
CC30 Read/write INTCC30
INTP30
TO3
(S)
Timer 3
f
XX
/2,
f
XX
/4,
f
XX
/8,
f
XX
/16,
f
XX
/32,
f
XX
/64,
f
XX
/128,
f
XX
/256
f
XX
/4,
f
XX
/8,
f
XX
/16,
f
XX
/32,
f
XX
/64,
f
XX
/128,
f
XX
/256,
f
XX
/512
CC31 Read/write INTC31
INTP31
TO3
(R)
Notes 1.
When f
XX
is selected as the base clock (f
CLK
) of TM3
2.
When
f
XX
/2 is selected as the base clock (f
CLK
) of TM3
Remark
f
XX
: Internal system clock
S/R: Set/Reset
Figure 9-88 shows the block diagram of timer 3.
Figure 9-88. Block Diagram of Timer 3
R
Note
Q
S
Q
TM3 (16-bit)
Edge detection
Noise elimination
Timer 3 output
control register
(TO3C)
CC30
CC31
INTP31
INTP4
1/2
1/4
1/8
1/16
1/32
1/64
1/128
1/256
f
XX
/2
TI3/TCLR3/INTP30
INTTM3
INTCC30
INTCC31
TO3
Clear & start
Clear & start
f
CLK
Selector
Selector
Selector
f
XX
Note
Reset priority
Remarks 1.
TI3 input and TCLR3 input connected to port immediately before edge detection
2.
f
CLK
: Base clock (32 MHz (MAX.))
f
XX
: Internal system clock