User’s Manual U16896EJ2V0UD
336
CHAPTER 10 INTERVAL TIMER, WATCH TIMER
The V850ES/KE1+ includes interval timer BRG and a watch timer. Interval timer BRG can also be used as the
source clock of the watch timer. The watch timer can also be used as interval timer WT.
Two interval timer channels and one watch timer channel can be used at the same time.
10.1 Interval Timer BRG
10.1.1 Functions
Interval timer BRG has the following functions.
•
Interval timer BRG:
An interrupt request signal (INTBRG) is generated at a specified
interval.
•
Generation of count clock for watch timer: When the main clock is used as the count clock for the watch timer,
a count clock (f
BRG
) is generated.
10.1.2 Configuration
The following shows the block diagram of interval timer BRG.
Figure 10-1. Block Diagram of Interval Timer BRG
f
X
f
X
/8
f
X
/4
f
X
/2
f
X
BGCS0
BGCS1
TODIS
BGCE
3-bit
prescaler
8-bit counter
Clear
Match
f
BGCS
Count clock
for watch timer
INTBRG
1/2
PRSM register
PRSCM register
2
Internal bus
f
BRG
Clock
control
Output
control
Selector
Remark
f
X
:
Main clock oscillation frequency
f
BGCS
:
Interval timer BRG count clock frequency
f
BRG
:
Watch timer count clock frequency
INTBRG: Interval timer BRG interrupt request signal