
R01UH0336EJ0102 Rev.1.02
Page 799 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
15.7.4
Noise Detection Flag (TSnNDF)
Name
Noise detection flag (TSnSTR2.TSnNDF)
Description
TSnNDF can detect that two or more pins of TSG2nPTSI2 to TSG2nPTSI0
have changed simultaneously (a noise is generated).
TSnNDF is set to 1 when two or more pins of TSG2nPTSI2 to TSG2nPTSI0
have changed simultaneously (a noise is generated), and a warning interrupt
(INTTSG2nIWN) is generated. The TSnNDF flag is cleared to 0 when 1 is
written to the TSnSTC.TSnNDR bit.
Example of
operation
Figure 15-14
Example of Noise Detection Flag Operation
Operating mode
TSnNDF can be used in all operating modes
Caution
TSnNDF is valid only when TSnCTL1.TSnNDC = 1 and TSnSTR0.TSnTE = 1.
TSG2nPTSI2 pin
"H"
P
CLK
TSnNDF
TSG2nPTSI1 pin
TSG2nPTSI0 pin
INTTSG2nIWN
interrupt
Change simultaneously.
Delay due to edge detection circuit (example)
Write 1 to TSnNDR.