Renesas M16C/64A Series User Manual page 352

Table of Contents

Advertisement

M16C/64A Group
Table 18.10
Registers and Settings in Pulse Period/Pulse Width Measurement Modes
Register
PCLKR
CPSRF
TBi1
PPWFS1 to
PPWFS2
TBCS0 to TBCS3
TABSR
TBSR
TBi
TBiMR
i = 0 to 5
Note:
1.
This table does not describe a procedure.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Bit
PCLK0
Select the count source.
CPSR
Write 1 to reset the clock prescaler.
Measurement result can be read when the bits in the PPWFS1 or
15 to 0
PPWFS2 register corresponding to timer Bi are 1.
PPWFS12 to
PPWFS10
Set to 1 to read the counter value while counting.
PPWFS22 to
PPWFS20
7 to 0
Select the count source.
Set to 1 when starting counting.
TBiS
Set to 0 when stopping counting.
Set the initial value.
The measurement result can be read when the bits in the
15 to 0
PPWFS1 or PPWFS2 register corresponding to timer Bi are 0.
The counter value can be read when the bits in the PPWFS1 or
PPWFS2 register corresponding to timer Bi are 1.
7 to 0
Refer to the TBiMR register below.
Function and Setting
18. Timer B
(1)
Page 319 of 800

Advertisement

Table of Contents
loading

Table of Contents