User guide

71
SmartBook for Renesas R8C/Tiny Microcontrollers
www.MightyMicons.com
For the hardware trigger signal, the polarity can also be selected either as rising
or falling edge. Timer ignores any other trigger signals till it finishes the counting
down operation.
7.9 Programmable Wait One Shot Generation Mode:
This is similar to other one shot mode with a difference. In this mode, a delay can
be introduced before generating the target one shot pulse after the active trigger
signal.
Taking the Timer Z as reference, the delay can be set in the TZPR register and the
one shot active level is defined in the TZSC register.
When the Timer Z is configured for this mode, it introduces a delay that is defined
in the TZPR register before generating the required one shot pulse set by the
TZSC register at the output pin.
7.10 Input Capture Mode:
This mode is quite interesting one that enables the designers find out the pres-
ence of active input signal using the timer functions of the R8C/Tiny. The counter
arrangement is relatively more complicated than other timers for the obvious rea-
sons. Only 16 bit registers can handle this task.
When the selected timer is configured for this mode,
the timer starts counting from zero using the de-
fined internal clock signal. The input signal
under the question is applied to the respec-
tive input of the timer. The rising edge,
the falling edge, or both the edges can
capture the value of the timer when
counting up.
More information about this mode
is given here taking the Timer C as
reference. The same facilities are
also available in other timers:
Timer RC, Timer RD and Timer RF.
D
a
t
a
4
D
e
s
i
g
n
In program-
mable wait one shot
generation mode, a delay can
be introduced before generating
the target one shot pulse after the ac-
tive trigger signal. Input capture mode
enables the designers find out the presence
of active input signal using the timer functions
of the R8C/Tiny. The input
signal is applied to the respec-
tive input of the timer. The ris-
ing edge, the falling edge, or both
the edges can capture the value
of the timer when counting up.