AM79C978 Advanced Micro Devices, AM79C978 Datasheet - Page 112

no-image

AM79C978

Manufacturer Part Number
AM79C978
Description
Single-Chip 1/10 Mbps PCI Home Networking Controller
Manufacturer
Advanced Micro Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AM79C978AKC
Manufacturer:
AMD
Quantity:
15
Part Number:
AM79C978AKC
Manufacturer:
AMD
Quantity:
8 000
Part Number:
AM79C978AKC/W
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM79C978AKCW
Manufacturer:
AMD
Quantity:
6 605
since RAP has just been loaded with the value of 0004h,
the RDP read will yield the contents of CSR4. A read of
the BDP at this time (offset of 16h when WIO mode has
been selected, 1Ch when DWIO mode has been select-
ed) will yield the contents of BCR4, since the RAP is
used as the pointer into both BDP and RDP space.
RAP: Register Address Port
Bit
31-16
15-8
7-0
Control and Status Registers (CSRs)
The CSR space is accessible by performing accesses
to the RDP (Register Data Port). The particular CSR
that is read or written during an RDP access will depend
upon the current setting of the RAP. RAP serves as a
pointer into the CSR space.
CSR0: Controller Status and Control Register
Certain bits in CSR0 indicate the cause of an interrupt.
The register is designed so that these indicator bits are
cleared by writing ones to those bit locations. This
means that the software can read CSR0 and write back
the value just read to clear the interrupt condition.
Bit
31-16
15
112
Name
RES
RES
RAP
Name
RES
ERR
zeros and read as undefined.
written as zeros.
of these 8 bits determines which
CSR or BCR will be accessed
when an I/O access to the RDP
or BDP port, respectively, is per-
formed.
A write access to undefined CSR
or BCR locations may cause un-
expected reprogramming of the
Am79C978 control registers. A
read access will yield undefined
values.
These bits are always read/write
accessible. RAP is cleared by
H_RESET or S_RESET and is
unaffected by setting the STOP
bit.
zeros and read as undefined.
CERR, MISS, and MERR. ERR
remains set as long as any of the
error flags are true.
Description
Reserved locations. Written as
Reserved locations. Read and
Register Address Port. The value
Description
Reserved locations. Written as
Error. Error is set by the OR of
Am79C978
14
13
12
RES
CERR
MISS
This bit is always read accessible
only. Write operations are ig-
nored.
When the MII port is selected,
CERR is only reported when the
external PHY is operating as a
half-duplex 10BASE-T PHY.
CERR assertion will not result in
an interrupt being generated.
CERR assertion will set the ERR
bit.
This bit is always read/write ac-
cessible. CERR is cleared by the
host by writing a 1. Writing a 0
has no effect. CERR is cleared by
H_RESET, S_RESET, or by set-
ting the STOP bit.
When MISS is set, INTA is as-
serted if IENA is 1 and the mask
bit MISSM (CSR3, bit 12) is 0.
MISS assertion will set the ERR
bit, regardless of the settings of
IENA and MISSM.
ways
Read returns zero.
set by the Am79C978 controller
when the device operates in half-
duplex mode and the collision in-
puts to the GPSI port fail to acti-
vate within 20 network bit times
after the chip terminates trans-
mission (SQE Test). This feature
is a transceiver test feature.
CERR reporting is disabled when
the GPSI port is active and the
Am79C978 controller operates in
full-duplex mode.
Missed Frame. Missed Frame is
set by the Am79C978 controller
when it has lost an incoming re-
ceive frame resulting from a Re-
ceive
available. This bit is the only im-
mediate indication that receive
data has been lost since there is
no current receive descriptor.
The
(CSR112) also increments each
time a receive frame is missed.
Reserved locations. This bit is al-
Collision Error. Collision Error is
Missed
Descriptor
read/write
Frame
not
accessible.
Counter
being

Related parts for AM79C978