Download Print this page

Renesas M16C/50 Series User Manual page 322

Advertisement

M16C/5L Group, M16C/56 Group
16.2.4
Timer Bi-1 Register (TBi1) (i = 0 to 2)
Timer Bi-1 Register (i = 0 to 2)
(b15)
(b8)
b7
b0
b7
Access this register in 16-bit units.
When bits PPWFS12 to PPWFS10 in the PPWFS1 register are 1, the measurement result can be read
by reading the TBi-1 register. When these bits are 0, the value in this register is undefined.
16.2.5
Pulse Period/Pulse Width Measurement Mode Function Select Register 1
(PPWFS1)
Pulse Period/Pulse Width Measurement Mode Function Select Register 1
b7 b6 b5 b4
b3
b2
b1
Enabled in pulse period measurement mode or pulse width measurement mode.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
b0
Symbol
TB01
TB11
TB21
Mode
Pulse period
measurement mode
Measures a pulse period or width
Pulse width
measurement mode
b0
Symbol
PPWFS1
Bit Symbol
Bit Name
Timer B0 pulse period/pulse
PPWFS10
width measurement mode
function select bit
Timer B1 pulse period/pulse
PPWFS11
width measurement mode
function select bit
Timer B2 pulse period/pulse
PPWFS12
width measurement mode
function select bit
No register bits. If necessary, set to 0. The read value is undefined.
(b7-b3)
Address
01C1h to 01C0h
01C3h to 01C2h
01C5h to 01C4h
Function
Address
01C6h
Function
0 : Measurement result is stored
in the TB0 register.
The TB01 register is not used
1 : The counter value is read
from the TB0 register.
Measurement result is stored
in the TB01 register
0 : Measurement result is stored
in the TB1 register.
The TB11 register is not used
1 : The counter value is read
from the TB1 register.
Measurement result is stored
in the TB11 register
0 : Measurement result is stored
in the TB2 register.
The TB21 register is not used
1 : The counter value is read
from the TB2 register.
Measurement result is stored
in the TB21 register
16. Timer B
Reset Value
XXXXh
XXXXh
XXXXh
Setting Range
RW
0000h to FFFFh
RO
Reset Value
XXXX X000b
RW
RW
RW
RW
Page 285 of 803

Advertisement

loading