English
Language : 

ACD82124 Datasheet, PDF (46/48 Pages) List of Unclassifed Manufacturers – 24 Ports 10/100 Fast Ethernet Switch Controller
6. COMMAND DESCRIPTION
Command 09H
Description: Add the specified MAC address into the
address table.
Parameter: Store the MAC address into DataReg5 -
DataReg0, with DataReg5 contains the MSB of the
MAC address and DataReg0 contains the LSB. Store
the associated port number into DataReg6.
Result: the MAC address will be stored into the ad-
dress table if there is space available. The result is
indicated by the Result register.
Command 0AH
Description: Set the Lock bit for the specified MAC
address.
Parameter: Store the MAC address into DataReg5 -
DataReg0, with DataReg5 contains the MSB of the
MAC address and DataReg0 contains the LSB.
Result: the state machine will seek for an entry with
matched MAC address, and set the Lock bit of the
entry. The result is indicated by the Result register.
Command 0BH
Description: Set the Filter flag for the specified MAC
address.
Parameter: Store the MAC address into DataReg5 -
DataReg0, with DataReg5 contains the MSB of the
MAC address and DataReg0 contains the LSB.
Result: the state machine will seek for an entry with
matched MAC address, and set the Filter bit of the
entry. The result is indicated by the Result register.
Command 0CH
Description: Delete the specified MAC address from
the address table.
Parameter: Store the MAC address into DataReg5 -
DataReg0, with DataReg5 contains the MSB of the
MAC address and DataReg0 contains the LSB.
Result: the MAC address will be removed from the
address table. The result is indicated by the Result
register.
Command 0DH
Description: Assign the associated port number to the
specified MAC address.
Parameter: Store the MAC address into DataReg5 -
DataReg0, with DataReg5 contains the MSB of the
MAC address and DataReg0 contains the LSB. Store
the port number into DataReg6.
Result: the port ID field of the entry containing the
specified MAC address will be changed accordingly.
The result is indicated by the Result register.
Command 10H
Description: Read the first entry of the address table.
Parameter: None
Result: The result is indicated by the Result register. If
the command is completed with no error, the content
of the first entry of the address book will be stored into
the Data registers. The MAC address will be stored
into DataReg5 - DataReg0, with DataReg5 contains
the MSB of the MAC address and DataReg0 contains
the LSB. The port number is stored in DataReg6, and
the Flag* bits are stored in DataReg7.The Read Pointer
will be set to point to second entry of the address book.
Note - the Flag bits are defined as:
b7 b6 b5 b4 b3 b2 b1 b0
Rsvd Rsvd Filter Lock New Old Age Valid
where:
•
•
•
•
•
•
•
Filter - 1 indicates the frame heading to
this address should be dropped.
Lock - 1 indicates the entry should never
be changed or aged out.
New - 1 indicates the entry is a newly
learned address.
Old - 1 indicates the address has been
aged out.
Age - 1 indicates the address has not
been visited for current age cycle.
Valid - 1 indicates the entry is a valid one.
Rsvd - Reserved bits.
46