Horizontal Sync Signal Counter; Horizontal Sync Signal Counter Configuration - NEC PD17062 Datasheet

Mos integrated circuit 4-bit single-chip microcontroller containing pll frequency synthesizer and image display controller
Table of Contents

Advertisement

21. HORIZONTAL SYNC SIGNAL COUNTER

21.1 HORIZONTAL SYNC SIGNAL COUNTER CONFIGURATION

The horizontal sync signal counter counts the frequency of a horizontal sync signal for TV or similar
equipment. When a TV broadcasting signal is received, a prescribed horizontal sync signal is output. Using
this fact, the horizontal sync signal counter checks whether there is a broadcast station at a particular
frequency.
The horizontal sync signal counter consists of a 6-bit HSYNC counter (HSC), gate clock generator, gate
control register (HSCGT), gate input amplifier, and test gate open register (HSCGOSTT).
A signal supplied to the P0B
amplifier passes through a gate which opens for a specific time interval specified by the gate control register.
After passing through the gate, the amplifier output is counted in the 6-bit HSYNC counter. When the gate
is closed, the HSYNC counter stops counting and sets 1 in the test gate open register. The HSYNC counter
is a read-only register. Reading the HSYNC counter finds out how many pulses are counted when the gate
is open. Dividing the number of pulses by the time during which the gate is open (1.69 ms) can obtain the
frequency of the horizontal sync signal. The P0B
P0B
port. When it is used as a horizontal sync signal counter, the P0B
3
it is used as a port, the HSCGT must be set with 0000B. When the P0B
sync signal counter, it is read always as 0.
Fig. 21-1 Horizontal Sync Signal Counter Block Diagram
To a port
Gate input
amplifier
HSCGOSTT
RF92Hb
3
(R/W)
274
/HSCNT pin is amplified by the self-biased input amplifier. The output of the
3
/HSCNT pin is also used as an I/O port. It is assigned to the
3
Gate
Selector
must be set as an input port. When
3
is used as an input to the horizontal
3
Peripheral address 04H (R)
HSYNC counter
HSCGT
RF91Hb
(R/W)
Gate clock generator
PD17062
,b
1
0

Advertisement

Table of Contents
loading

Table of Contents