English
Language : 

M16C65 Datasheet, PDF (395/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
18.5 Notes on Timer B
18.5.1 Timer B (Timer Mode)
18.5.1.1 Register Setting
The timer is stopped after reset. Set the mode, count source, counter value, etc., using registers
TBiMR, TBi, TBCS0 to TBCS3, TCKDIVC0, and PCLKR before setting the TBiS bit in the TABSR or
the TBSR register to 1 (count starts) (i = 0 to 5).
Always make sure registers TBiMR, TBCS0 to TBCS3, TCKDIVC0, and PCLKR are modified while
the TBiS bit is 0 (count stops), regardless of whether after reset or not.
18.5.1.2 Read from Timer
The value of the counter while counting can be read from the TBi register at any time. FFFFh is read
while reloading. If the counter is read before it starts counting and after a value is set in the TBi regis-
ter while not counting, the set value is read.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 360 of 791