English
Language : 

82371AB Datasheet, PDF (183/284 Pages) Intel Corporation – PCI-TO-ISA / IDE XCELERATOR PIIX4
E
82371AB (PIIX4)
The Read Back Command may be used to latch multiple counter output latches (OL) by setting the COUNT# bit
D5=0 and selecting the desired counter(s). This single command is functionally equivalent to several counter
latch commands, one for each counter latched. Each counter’s latched count is held until it is read (or the
counter is reprogrammed). Once read, a counter is automatically unlatched. The other counters remain latched
until they are read. If multiple count Read Back Commands are issued to the same counter without reading the
count, all but the first are ignored (i.e. the count which will be read is the count at the time the first Read Back
Command was issued).
The Read Back Command may also be used to latch status information of selected counter(s) by setting
STATUS# bit D4=0. Status must be latched to be read. The status of a counter is accessed by a read from that
counter’s I/O port address.
If multiple counter status latch operations are performed without reading the status, all but the first are ignored.
The status returned from the read is the counter status at the time the first status Read Back Command was
issued.
Both count and status of the selected counter(s) may be latched simultaneously by setting both the COUNT#
and STATUS# bits [5:4]=00. This is functionally the same as issuing two consecutive, separate Read Back
Commands. The above discussions apply here also. Specifically, if multiple count and/or status Read Back
Commands are issued to the same counter(s) without any intervening reads, all but the first are ignored.
If both count and status of a counter are latched, the first read operation from that counter will return the latched
status, regardless of which was latched first. The next one or two reads (depending on whether the counter is
programmed for one or two type counts) return the latched count. Subsequent reads return unlatched count.
8.9. Real Time Clock
The Real Time Clock (RTC) module provides a date-and-time keeping device with alarm features and battery
backed-up operation. The RTC counts seconds, minutes, hours, days, day of the week, date, month, and year
with leap year compensation. Daylight savings compensation is options. Three interrupt features are available:
time of day alarm with once a second to once a month range, periodic rates of 122 µs to 500 ms, and end of
update cycle notification.
The RTC contains 256 bytes of battery-backed static RAM in two banks, namely, the standard bank and the
extended bank. The standard bank contains 10 bytes indicating time and date information, 4 bytes used as four
Control Register (A,B,C,D), and 114 bytes used as general purpose RAM. The extended bank has
128 bytes used as general purpose RAM.
Time, calendar, and alarm can be represented in either binary or BCD format. The format is determined by bit 2
of Control Register B. The hour is represented in 12 or 24 hour format and the format is selected by bit 1 of
Control Register B. Note that when changing the format, the time registers must be reinitialized to the
corresponding data format. See Control Register B in the following section for more information on the
configuration of the RTC functions.
The RTC module requires an external oscillating source of 32.768 KHz connected on the TRCX1 and RTCX2
pins. This clock signal is then divided down to 1 Hz signal. The divider chain is controlled by bits [6:4] of Control
Register A. Bits [3:0] of the Control Register A select one of the 15 taps from the divider chain to be used as a
periodic interrupt. See Control Register A in the following section for divider configuration and rate selections.
8.9.1. RTC REGISTERS AND RAM
The RTC internal registers and RAM are organized as two banks of 128 bytes each, called the standard and
extended banks. The first 14 bytes of the standard bank contain the RTC time and date information along with
four registers, A–D, that are used for configuration of the RTC. The extended bank contains a full
PRELIMINARY
183
4/9/97 2:23 PM PIIX4aDS
INTEL CONFIDENTIAL
(until publication date)