Rev. 2.0, 11/00, page 802 of 1037
(5) Noise Detection Window Setting Register (NWR)
0
0
1
0
W
2
0
W
3
0
4
0
W
5
0
6
1
7
—
—
—
—
W
W
W
NWR5
NWR4
NWR3
NWR2
NWR1
NWR0
1
Bit :
Initial value :
R/W :
NWR sets the period (window) when the drop-out of the pulse of the horizontal sync signal is
detected and the noise is counted. Set the timing of the noise detection window in bits 5 to 0.
Bits 7 and 6 are reserved.
NWR is an 8-bit write-only register. If a read is attempted, an undetermined value is read
out. It is initialized to H'C0 by a reset, stand-by or module stop.
Set the value of the noise detection window timing according to the following equation.
((Value of NWR5 to NWR0) + 1)
×
2/
φ
s = 1/4
×
TH
Where, TH is the pulse width of the horizontal sync signal (
µ
s), and
φ
s is the servo clock
(fosc/2).
It is recommended that this timing value is set at about 1/4 of the cycle of the horizontal sync
signal.
(6) Noise Detection Register (NDR)
0
0
1
0
W
2
0
W
3
0
4
0
W
0
W
5
6
0
7
NDR4
NDR3
NDR2
NDR1
NDR0
0
W
NDR7
W
W
W
NDR6
NDR5
Bit :
Initial value :
R/W :
NDR sets the noise detection level when the noise of the horizontal sync signal is detected
(when NWR is set). Set the noise detection level in bits 7 to 0.
NDR is an 8-bit write-only register. No read is valid. If a read is attempted, an
undetermined value is read out. It is initialized to H'00 by a reset, stand-by or module stop.
The noise detector takes counts of the drop-outs of the horizontal sync signals and the noises
within the pulses, and if they amount to a count greater than four times of the value set in
NDR7 to NDR0, the detector sets the NOIS flag in the sync signal control register (SYNCR).
Set the noise detection level at 1/4 of the noise counts in one frame.
The noise counter is cleared whenever Vsync was detected twice.
See section 28.15.6, Noise Detection, for the details of the noise detection window and the
noise detection level.
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...