acd80900 ETC-unknow, acd80900 Datasheet - Page 44

no-image

acd80900

Manufacturer Part Number
acd80900
Description
24 Ports 10/100 Fast Ethernet Switch Controller
Manufacturer
ETC-unknow
Datasheet
5. REGISTER DESCRIPTION
ACD80800 provides a bunch of registers for the CPU
to access the address table inside it. Command is sent
to ACD80800 by writing into the associated registers.
Before the CPU can pass a command to ACD80800,
it must check the result register (register 11) to see if
the command has been done. When the Result regis-
ter indicates the command has been done, the CPU
may need to retrieve the result of previous command
first. After that, the CPU has to write the associated
parameter of the command into the Data registers.
Then, the CPU can write the command type into the
command register. When a new command is written
into the command register, ACD80800 will change the
status of the Result register to 0. The Result register
will indicate the completion of the command at the end
of the execution. Before the completion of the execu-
tion, any command written into the command register
is ignored by ACD80800.
The registers accessible to the CPU are described by
table-2 :
Table-2: Register Description
Reg.
19
20
10
11
12
13
14
15
16
17
18
0
1
2
3
4
5
6
7
8
9
DataReg0
DataReg1
DataReg2
DataReg3
DataReg4
DataReg5
DataReg6
DataReg7
AddrReg0
AddrReg1
CmdReg
RsltReg
CfgReg
IntSrcReg
IntMskReg
nLearnReg0
nLearnReg1
nLearnReg2
AgeTimeReg0
AgeTimeReg1
PosCfg
Name
Byte 0 of data
Byte 1 of data
Byte 2 of data
Byte 3 of data
Byte 4 of data
Byte 5 of data
Byte 6 of data
Byte 7 of data
LSB of address value
MSB of address value
Command register
Result register
Configuration register
Interrupt source register
Interrupt mask register
Address learning disable
register for port 0 - 7
Address learning disable
register for port 8 - 15
Address learning disable
register for port 16 - 23
LSB of aging period register
MSB of aging period
register
Power On Strobe
configuration register 0
Description
The DataRegX are registers used to pass the param-
eter of the command to the ACD80800, and the result
of the command to the CPU.
The AddrRegX are registers used to specify the ad-
dress associated with the command.
The CmdReg is used to pass the type of command to
the ACD80800. The command types are listed in table-
3 . The details of each command is described in the
chapter of “Command Description.”
The RstReg is used to indicate the status of command
execution. The result code is listed as follows:
Table-3: Command List
Command
0xFF
0x0B
0x0C
0x0D
0x09
0x0A
0x10
0x11
0x20
0x21
0x30
0x31
0x40
0x41
0x50
0x51
0x60
0x61
0x80
0x81
01 - command is being executed and is
not done yet
10 - command is done with no error
1x - command is done, with error indi-
cated by x, where x is a 4-bit error code:
0001 for cannot find the entry as speci-
fied
Add the specified MAC address into the
address table
Set a lock for the specified MAC
address
Set a filtering flag for the specified MAC
address
Delete the specified MAC address from
the address table
Assign a port ID to the specified MAC
address
Read the first entry of the address table
Read next entry of address book
Read first valid entry
Read next valid entry
Read first new page
Read next new page
Read first aged page
Read next aged page
Read first locked page
Read next locked page
Read first filtered page
Read next filtered page
Read first page with specified PID
Read next page with specified PID
System reset
Description
44

Related parts for acd80900