215
9.5
Timer G
9.5.1
Overview
Timer G is an 8-bit timer with dedicated input capture functions for the rising/falling edges of
pulses input from the input capture input pin (input capture input signal). High-frequency
component noise in the input capture input signal can be eliminated by a noise canceler, enabling
accurate measurement of the input capture input signal duty cycle. If input capture input is not set,
timer G functions as an 8-bit interval timer.
1. Features
Features of timer G are given below.
Choice of four internal clock sources (
/64,
/32,
/2,
w/2)
Dedicated input capture functions for rising and falling edges
Level detection at counter overflow
It is possible to detect whether overflow occurred when the input capture input signal was high
or when it was low.
Selection of whether or not the counter value is to be cleared at the input capture input signal
rising edge, falling edge, or both edges
Two interrupt sources: one input capture, one overflow. The input capture input signal rising
or falling edge can be selected as the interrupt source.
A built-in noise canceler eliminates high-frequency component noise in the input capture input
signal.
Watch mode, subactive mode and subsleep mode operation is possible when
w/2 is selected
as the internal clock.
Use of module standby mode enables this module to be placed in standby mode independently
when not used.