CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ6V0UD
201
Figure 7-1. Block Diagram of TM0 and TM1
Internal bus
Internal bus
TIn1
Noise
eliminator
Count clock
Note
TIn0
TOEn
TOCn1
LVRn
LVSn
TOCn4
OSPEn
OSPTn
OVFn
TMCn1
TMCn2
Prescaler mode
register n0 (PRMn0)
PRMn1 PRMn0
TMCn3
CRCn0
CRCn1
CRCn2
Capture/compare control
register n (CRCn)
16-bit capture/compare
register n0 (CRn0)
Output
controller
16-bit timer register (TMn)
16-bit capture/compare
register n1 (CRn1)
CRCn2
Match
Match
Clear
16-bit timer mode
control register n
(TMCn)
TOn
INTTMn1
INTTMn0
3
Timer output control
register n (TOCn)
f
XX
/2
Selector
Selector
Selector
Selector
PRMn2
Prescaler mode
register n1 (PRMn1)
Noise
eliminator
Noise
eliminator
Note
The count clock is set by the PRMn0 and PRMn1 registers.
Remark
n = 0, 1
(1) Interval timer
Generates an interrupt at predetermined time intervals.
(2) PPG output
Can output a square wave whose frequency and output-pulse width can be changed arbitrarily.
(3) Pulse width measurement
Can measure the pulse width of a signal input from an external source.
(4) External event counter
Can measure the number of pulses of a signal input from an external source.
(5) Square wave output
Can output a square wave of any frequency.
(6) One-shot pulse output
Can output a one-shot pulse with any output pulse width.
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...