Operations; Common Operations - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group
18.3

Operations

18.3.1

Common Operations

18.3.1.1
Operating Clock
The count source for each timer acts as a clock, controlling such timer operations as counting and
reloading.
18.3.1.2
Counter Reload Timing
Timer Bi starts counting from the value (n) set in the TBi register. The TBi register consists of a counter
and a reload register. The counter starts decrementing the count source from n, reloads a value in the
reload register at the next count source after the value becomes 0000h, and continues decrementing.
The value written in the TBi register is reflected in the counter and the reload register at the following
timings.
When the count is stopped
Between when the count starts and the first count source is input
The value written to the TBi register is immediately written to the counter and the reload register.
After the count starts and the first count source is input
The value written to the TBi register is immediately written to the reload register.
The counter continues counting and reloads the value in the reload register at the next count
source after the value becomes 0000h.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
18. Timer B
Page 313 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents