Renesas M16C/20 Laptop User Manual


 
M16C/26 Group
Rev.0.90 2003.12.28 page 12 of 28
Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
1.5.2 Timer B
1.5.2.1 Timer B (Timer 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. A value of a counter, while counting, can be read in TBi register at any time. FFFF16 is read while
reloading. Setting value is read between setting values in TBi register at count stop and starting a
counter.
1.5 Precautions for Timers