User guide

72
SmartBook for Renesas R8C/Tiny Microcontrollers
www.MightyMicons.com
Under this mode, the 16 bit timer is initialized to operate in free running counter
with the selected internal clock. Input signal is applied at the pin, INT3/TCIN of
the controller. Polarity of the input signal that should capture the free running
counter also to be defined.
After the start command, the timer starts counting upwards from zero. When the
defined polarity of the input signal arrives at the input, the current timer count is
copied to the input capture register, TM0 and an interrupt, INT3 is generated.
If the timer overflows, another interrupt will be generated to indicate that con-
dition. A digital filter can also be introduced at the timer input to generate
the stable signals.
7.11 Output Compare Mode:
This mode generates square pulses at the output pins when
the timer contents match with the data stored in the compare
registers. This facility is available only with 16 bit timer circuits
like Timer C, Timer RC, Timer RD, Timer RE and Timer RF.
D
a
t
a
4
D
e
s
i
g
n
Output
compare mode
generates square
pulses at the output pins
when the timer contents
match with
the data
stored in the
compare regis-
ters.