m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 172

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
Fig. 8.5.1 Structures of timer Bi register and timer Bi mode register in pulse period/pulse width
Note: Reading from this register must be performed in a unit of 16 bits.
Note: The timer Bi overflow flag is cleared to “0” when a value is written to the timer Bi mode register with the count start bit = “1.”
Timer B0 register (Addresses 51
Timer B1 register (Addresses 53
Timer B2 register (Addresses 55
Timer Bi mode register (i = 0 to 2) (Addresses 5B
15 to 0 The measurement result of pulse period or pulse width is read out.
Bit
Bit
0
1
2
3
4
5
6
7
This flag cannot be set to “1” by software.
measurement mode
Operating mode select bits
Measurement mode select bits
Count-type select bit
Timer Bi overflow flag (Note)
Count source select bits
Bit name
16
16
16
, 50
, 52
, 54
7905 Group User’s Manual Rev.1.0
16
16
16
)
)
)
b1 b0
0 : No overflow
1 : Overflowed
1 0 : Pulse period/Pulse width measurement mode
b3 b2
0 : Counter clear type
1 : Free-run type
b7 b6
0 0 : Pulse period measurement
0 1 : Pulse period measurement
1 0 : Pulse width measurement
1 1 : Do not select.
0 0 : f
0 1 : f
1 0 : f
1 1 : f
8.5 Pulse period/Pulse width measurement mode
Function
(Interval between falling edges of measurement pulse)
(Interval between rising edges of measurement pulse)
(Interval from a falling edge to a rising edge, and from
a rising edge to a falling edge of measurement pulse)
2
16
64
512
16
(b15)
to 5D
b7
16
)
Function
(b8)
b0
b7 b6 b5 b4 b3 b2 b1 b0
b7
Undefined
Undefined
At reset
At reset
0
0
0
0
0
0
0
TIMER B
R/W
R/W
RW
RW
RW
RW
RW
RW
RW
1 0
RO
RO
b0
8-21

Related parts for m37905