English
Language : 

M16C62_M Datasheet, PDF (359/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Timer B
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.3.2 Operation of Timer B (timer mode)
In timer mode, choose functions from those listed in Table 2.3.1. Operations of the circled items are
described below. Figure 2.3.4 shows the operation timing, and Figure 2.3.5 shows the set-up procedure.
Table 2.3.1. Choosed functions
Item
Set-up
Count source
O Internal count source (f1 / f8 / f32 / fc32)
Operation (1) Setting the count start flag to “1” causes the counter to perform a down count on the count
source.
(2) If an underflow occurs, the content of the reload register is reloaded, and the counter contin-
ues counting. At this time, the timer Bi interrupt request bit goes to “1”.
(3) Setting the count start flag to “0” causes the counter to hold its value and to stop.
n = reload register content
FFFF16 (1) Start count
(2) Underflow
n
(3) Stop count
Start count
again
000016
Count start flag “1”
“0”
Timer Bi interrupt “1”
request bit
“0”
Set to “1” by software
Cleared to “0” by
software
Time
Set to “1” by software
Cleared to “0” when interrupt request is accepted, or cleared by software
Figure 2.3.4. Operation timing of timer mode
2-42