Datasheet

Table Of Contents
Section 13 Timer G
Rev. 2.00 Jul. 04, 2007 Page 268 of 692
REJ09B0309-0200
Table 13.4 Input Capture Input Signal Input Edges Due to Input Capture Input Pin
Switching, and Conditions for Their Occurrence
Input Capture Input
Signal Input Edge
Conditions
Generation of rising edge TMIG is modified from 0 to 1 while the TMIG pin is high
NCS is modified from 0 to 1 while the TMIG pin is high, then TMIG is
modified from 0 to 1 before the signal is sampled five times by the
noise canceller
Generation of falling edge TMIG is modified from 1 to 0 while the TMIG pin is high
NCS is modified from 0 to 1 while the TMIG pin is low, then TMIG is
modified from 0 to 1 before the signal is sampled five times by the
noise canceller
NCS is modified from 0 to 1 while the TMIG pin is high, then TMIG is
modified from 1 to 0 after the signal is sampled five times by the noise
canceller
Note: When the PF0 pin is not set as an input capture input pin, the timer G input capture input
signal is low.
Switching input capture input noise canceller function
When performing noise canceller function switching by modifying NCS in the port mode
register F (PMRF), which controls the input capture input noise canceller, TMIG should first
be cleared to 0. Note that if NCS is modified without first clearing TMIG, an edge will be
regarded as having been input at the pin even though no valid edge has actually been input.
Input capture input signal input edges, and the conditions for their occurrence, are summarized
in table 13.5.
Table 13.5 Input Capture Input Signal Input Edges Due to Noise Canceller Function
Switching, and Conditions for Their Occurrence
Input Capture Input
Signal Input Edge
Conditions
Generation of rising edge TMIG pin is modified from 0 to 1 while TMIG is 1, then NCS is
modified from 0 to 1 before the signal is sampled five times by the
noise canceller
Generation of falling edge TMIG pin is modified from 1 to 0 while TMIG is 1, then NCS is
modified from 1 to 0 before the signal is sampled five times by the
noise canceller