Renesas M16C/64C User Manual page 352

Table of Contents

Advertisement

M16C/64C Group
TBiIN input
Count operations
0000h
TBiS bit in the
TABSR register or
TBSR register
IR bit
in the TBiIC register
i = 0 to 5
The above assumes the following:
Bits MR1 to MR0 in the TBiMR register = 10b (the falling edge and rising edge of an external signal).
The TCK1 bit in the TBiMR register = 0 (input signals from the TBiIN pin counted).
The value in the TBi register (n) = 0004h.
Figure 18.5
Operation Example in Event Counter Mode
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Count start
n
Underflow
and reload
n+1
Set to 0 by accepting an interrupt request, or by a program.
18. Timer B
Count stop
by TBiS bit
Page 319 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents