
44
A
I
D
Table-3: Command List
Command
Description
0x09
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
0x0A
0x0B
0x0C
0x0D
0x10
0x11
0x20
0x21
0x30
0x31
0x40
0x41
0x50
0x51
0x60
0x61
0x80
0x81
0xFF
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:
The DataRegXare 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 CmdRegis 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 RstRegis used to indicate the status of command
execution. The result code is listed as follows:
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
Table-2: Register Description
Reg.
Name
0
DataReg0
1
DataReg1
2
DataReg2
3
DataReg3
4
DataReg4
5
DataReg5
6
DataReg6
7
DataReg7
8
AddrReg0
9
AddrReg1
10
CmdReg
11
RsltReg
12
CfgReg
13
IntSrcReg
14
IntMskReg
Description
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
15
nLearnReg0
16
nLearnReg1
17
nLearnReg2
18
AgeTimeReg0
19
AgeTimeReg1
20
PosCfg