Noise Detection Level Register (Ndetr) - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

27.2.9

Noise Detection Level Register (NDETR)

Bit :
NR7
Initial value :
R/W :
W
The NDETR is an 8-bit write-only register for specifying the noise detection level. The set value
must be 1/4 of the actual noise detection level. The noise detection window signal is set to 1 at a
falling edge of the OSCH signal, and reset to 0 after the time specified by the HHK period setting
bits has passed. The OSCH signal falls about 5 µs after a rising edge of the SEPH signal.
When the noise detection counter value matches the specified noise detection level, the noise
detection interrupt request flag is set to 1. When reset, the NDETR is initialized to H'00. The
NDETR is assigned to the same address as the NDETC.
Figure 27.13 shows the timing for noise detection.
Csync
SEPH
HM
H complement and
mask counter
Noise detection window
OSCH
NDETR
NDETC
AFCV
NDETIF
Figure 27.13 Noise Detection Window Setting and Noise Counting Timing
Rev. 1.0, 02/00, page 780 of 1141
7
6
NR6
NR5
0
0
W
Noise
Noise
5
4
NR4
NR3
0
0
W
W
Noise
Comple-
ment
Noise
Comple-
ment
3
2
NR2
NR1
0
0
W
W
Pulse
Noise
lost
Pulse
Noise
lost
Cleared to 0 by CPU
1
0
NR0
0
0
W
W
Noise counter
cleared

Advertisement

Table of Contents
loading

Table of Contents