Renesas M16C/64C User Manual page 354

Table of Contents

Advertisement

M16C/64C Group
Table 18.10
Registers and Settings in Pulse Period/Pulse Width Measurement Modes
Register
PCLKR
CPSRF
PCLKSTP1
TBi1
PPWFS1 to
PPWFS2
TBCS0 to TBCS3
TABSR
TBSR
TBi
TBiMR
i = 0 to 5
Note:
1.
This table does not describe a procedure.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Bit
PCLK0
Select the count source.
CPSR
Write 1 to reset the clock prescaler.
PCKSTP11
Set to 0 when using f1 or main clock.
PCKSTP17
Select the count source.
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 321 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents