cs5535 National Semiconductor Corporation, cs5535 Datasheet - Page 101
cs5535
Manufacturer Part Number
cs5535
Description
Geode Cs5535 Companion Multi-function South Bridge
Manufacturer
National Semiconductor Corporation
Datasheet
1.CS5535.pdf
(555 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cs5535-KSZ
Manufacturer:
CIRRUSLOGIC
Quantity:
20 000
Part Number:
cs5535-UDC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
cs5535-UDCF
Manufacturer:
AMD
Quantity:
20 000
- Current page: 101 of 555
- Download datasheet (4Mb)
Revision 0.8
PIT Functional Description
4.7.1
Programming of the 8254 PIT is initiated by first writing one
control word via I/O Address 043h into the PIT Mode Con-
trol Word register. It is followed by writing one or two data
bytes via the I/O address of the intended counter. If the
Control register is loaded once, the counters may be over-
written with different values without accessing the Control
register again. Table 4-11 lists the I/O addresses of the var-
ious registers.
The Control register in the 8254 PIT is write-only, but cer-
tain control information can be determined by the read-
back (read-status) command.
4.7.1.1
To load a counter with new values, a control word needs to
output that defines the intended counter, number and type
of bytes to write, the counting mode and the counting for-
mat. Bits [5:4] of the Control Word register (see Section
5.8.2.7 on page 329) indicate whether low-order or high-
order or both are going to be written. If low-order or high-
order counter byte only is specified to be written, then only
that byte can be read during a read access. According to
bits [5:4] of the Control Word register, one needs to write
either the low-order or the high-order or both into the
counter after passing the control word. If bits [5:4] of the
Control Word register is 11, then a low-order byte needs to
be written first, followed by a high-order byte. For small
counting values or counting values that are multiples of
256, it is sufficient to pass the low-order or high-order
counter byte. Bits [3:1] of the Control Word register define
the counting mode of the counter selected by bits [5:4]. Bit
I/O Address
040h
041h
042h
043h
Programming the 8254 PIT
Table 4-11. 8254 PIT Register Ports
Write to the Counters
Control Word
Counter 0
Counter 1
Counter 2
Register
Bits [7:6] = Select counter to latch
7
Figure 4-15. PIT Counter Latch Command Format
(Continued)
6
Access Type
Read / Write
Read / Write
Read/ Write
Write
5
0
4
0
101
0 of the Control Word register defines the binary or BCD
counting format. The maximum loadable count value is not
FFFFh (binary counting) or 9999 (BCD counting), but 0. On
the next CLK pulse the counter concerned jumps to FFFFh
or 9999. Once the value is decreased to 0 again, it outputs
a signal according to the programmed mode. Therefore,
the value 0 corresponds to 2^16 for binary counting and
10^4 for BCD counting.
Read from the Counters
There are three options for reading a counter in the 8254
PIT:
1)
2)
3)
To read a counter, the third option (Direct Read) should not
be used. The Counter Latch command or Read-back com-
mand should be used to transfer the current state of the
counter into its output latches. One or two successive read
counter instructions for the port address of the counter con-
cerned reads these latches. If only the low-order or high-
order byte was written when the counter was loaded with
the initial counting value, then read the current counting
value of the initially written byte by a single read counter
instruction. If both the low-order and high-order counter
bytes are written previously, then to read the current
counter value, two read counter instructions are needed.
The 8254 PIT returns the low-order byte of the 16-bit
counter with the first read counter instruction, and then the
high-order byte with the second read counter instruction. If
the content of the counter has been transferred once by a
counter latch command into the output latches, then this
value is held there until the CPU executes one or two
counter read instructions, or until the corresponding
counter is reprogrammed. Successive counter latch com-
mands are ignored if the output latches haven’t been read
before. Figure 4-15 shows the format of the control word for
the counter latch command.
3
x
Counter Latch command
Read-back (read-status) command
Direct Read
2
x
1
x
0
x
www.national.com
Related parts for cs5535
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Freescale Semiconductor Technical Data
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Self-calibrating 12-bit Plus Sign Serial I/o A/d Converters With Mux And Sample/hold
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinum Tm Fractional N Rf / Integer N If Dual Low Power Frequency Synthesizer
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinum? 2.0 Ghz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinumtm 160 Mhz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Dual N-channel Enhancement Mode Field Effect Transistor
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Video Amplifier System (obsolete)
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Synchronous Step-up DC/DC Converter For White Led Applications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
CLC420 - High Speed, Voltage Feedback op Amp, Package: Lcc, Pin Nb=20
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Monolithic Triple 4.5 CRT Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Differential Video Amplifier
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
ADC10061 - 10-Bit 600 NS A/D Converter With Input Multiplexer And Sample/Hold, Package: Soic Wide, Pin Nb=20
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
DS36277 - Dominant Mode Multipoint Transceiver, Package: Soic Narrow, Pin Nb=8
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Printer Solenoid Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Quad High Speed Trapezoidal Bus Transceiver
Manufacturer:
National Semiconductor Corporation
Datasheet: