M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 333

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timer B
318
Operation
Figure 2.3.6. Operation timing of event counter mode
2.3.3 Operation of Timer B (event counter mode)
In event counter mode, choose functions from those listed in Table 2.3.2. Operations of the circled items are
described below. Figure 2.3.6 shows the operation timing, and Figure 2.3.7 shows the set-up procedure.
Count start flag
Timer Bi interrupt
request bit
Table 2.3.2. Choosed functions
Note: j = i – 1, but j = 2 when i = 0,j = 5 when i = 3
(1) Setting the count start flag to “1” causes the counter to count the falling edges of the count
(2) If an underflow occurs, the content of the reload register is reloaded, and the count continues.
(3) Setting the count start flag to “0” causes the counter to hold its value and to stop.
Count source
source.
At this time, the timer Bi interrupt request bit goes to “1”.
FFFF
0000
Item
“1”
“0”
“1”
“0”
16
16
n
n = reload register content
(1) Start count
Set to “1” by software
O
Input signal to the TBi
Timer overflow(TBj overflow)
Input signal to the TBi
Input signal to the TBi
Cleared to “0” when interrupt request is accepted, or cleared by software
(2) Underflow
IN
IN
IN
pin (counting falling edges)
pin (counting rising edges)
pin (counting rising edges and falling edges)
Cleared to “0” by
software
Set-up
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(3) Stop count
Start count again
Set to “1” by softwar
Mitsubishi microcomputers
M16C / 62 Group
Time

Related parts for M30622MA-XXXFP