Pulse period/pulse width measurement mode
(b15)
b7
b7 b6
b5
b4
b3
(b8)
b0 b7
b2
b1 b0
Timer Bi mode register (i = 0 to 2) (Addresses 5B
1
0
Bit
0
Operating mode select bits
1
Measurement mode select bits
2
3
Nothing is assigned.
4
Timer Bi overflow flag
5
Count source select bits
6
7
Note: The timer Bi overflow flag is cleared to "0" by writing to the timer Bi mode register with the
count start bit = "1". The timer Bi overflow flag cannot be set to "1" by software.
7751 Group User's Manual
b0
Timer B0 register (Addresses 51
Timer B1 register (Addresses 53
Timer B2 register (Addresses 55
Bit
15 to 0 The measurement result of pulse period or
pulse width is read out.
Bit name
b1 b0
1 0 : Pulse period/Pulse width
b3 b2
0 0 : Pulse period measurement
0 1 : Pulse period measurement
1 0 : Pulse width measurement
1 1 : Not selected
0 : No overflow
(Note)
1 : Overflowed
b7 b6
0 0 : f
0 1 : f
1 0 : f
1 1 : f
APPENDIX
Appendix 3. Control registers
, 50
16
16
, 52
16
16
, 54
16
16
Functions
to 5D
)
16
16
Functions
measurement mode
(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)
/ f
2
4
/ f
16
32
/ f
64
128
/ f
512
1024
)
)
)
At reset
RW
Undefined
RO
At reset
RW
0
RW
0
RW
0
RW
0
RW
–
Undefined
Undefined
RO
0
RW
0
RW
20–27