English
Language : 

M16C65 Datasheet, PDF (390/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
18. Timer B
Table 18.10 Registers and the Setting in Pulse Period/Pulse Width Measurement Modes (1)
Register
Bit
Setting
PCLKR
PCLK0
Select the count source.
CPSRF
CPSR
Write a 1 to reset the clock prescaler.
TBi1
7 to 0
Measurement result can be read when the bits in the PPWFS1 or
PPWFS2 register corresponding to timer Bi are 1.
PPWFS1 to
PPWFS12 to
Set to 1 to read the counter value while counting.
PPWFS2
PPWFS10
PPWFS22 to
PPWFS20
TCKDIVC0
TCDIV00
Select a clock used prior to timer AB frequency dividing.
TBCS0 to TBCS3 7 to 0
Select the count source.
TABSR
TBiS
Set to 1 when starting counting.
TBSR
Set to 0 when stopping counting.
TBi
7 to 0
Set the initial value.
The measurement result can be read when the bits in the
PPWFS1 or PPWFS 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.
TBiMR
7 to 0
Refer to the following TBiMR register.
i = 0 to 5
Note:
1. This table does not describe a procedure.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 355 of 791