English
Language : 

M16C65 Datasheet, PDF (396/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.2 Timer B (Event Counter Mode)
18.5.2.1 Register Setting
The timer is stopped after reset. Set the mode, count source, counter value, etc., using the TBiMR
register and TBi register before setting the TBiS bit in the TABSR or the TBSR register to 1 (count
starts) (i = 0 to 5).
Always make sure the TBiMR register is modified while the TBiS bit is 0 (count stops), regardless of
whether after reset or not.
18.5.2.2 Read from Timer
While counting is in progress, the counter value can be read out at any time by reading the TBi regis-
ter. However, if this register is read at the same time the counter is reloaded, the read value is always
FFFFh. If the TBi register is read after setting a value in it while not counting but before the counter
starts counting, the read value is the value set in the register.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 361 of 791