Timer B (Event Counter Mode) - Renesas M16C/26 Series Reference Book

16-bit single-chip microcomputer
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
M16C/26 Group

1.5.2.2 Timer B (Event Counter Mode)

1. The timer remains idle after reset. Set the mode, count source, counter value, etc. using the TBiMR
(i = 0 to 2) register and TBi register before setting the TBiS bit in the TABSR register to "1" (count
starts).
Always make sure the TBiMR register is modified while the TBiS bit remains "0" (count stops)
regardless whether after reset or not.
2. The counter value can be read out on-the-fly at any time by reading the TBi register. However, if this
register is read at the same time the counter is reloaded, the read value is always "FFFF
TBi register is read after setting a value in it while not counting but before the counter starts count-
ing, the read value is the one that has been set in the register.
Rev.0.90
2003.12.28
page 13 of 28
1.5 Precautions for Timers
." If the
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/20 series

Table of Contents