English
Language : 

LAN9311 Datasheet, PDF (377/461 Pages) SMSC Corporation – Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
14.5.3.8
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
Switch Engine VLAN Command Register (SWE_VLAN_CMD)
Register #:
180Bh
Size:
32 bits
This register is used to read and write the VLAN or Port VID tables. A write to this address performs
the specified access.
For a read access, the Operation Pending bit in the Switch Engine VLAN Command Status Register
(SWE_VLAN_CMD_STS) indicates when the command is finished. The Switch Engine VLAN Read
Data Register (SWE_VLAN_RD_DATA) can then be read.
For a write access, the Switch Engine VLAN Write Data Register (SWE_VLAN_WR_DATA) register
should be written first. The Operation Pending bit in the Switch Engine VLAN Command Status
Register (SWE_VLAN_CMD_STS) indicates when the command is finished.
BITS
31:6
5
4
3:0
DESCRIPTION
RESERVED
VLAN RnW
This bit specifies a read(1) or a write(0) command.
PVIDnVLAN
When set, this bit selects the Port VID table. When cleared, this bit selects
the VLAN table.
VLAN/Port
This field specifies the VLAN(0-15) or port(0-2) to be read or written.
Note: Values outside of the valid range may cause unexpected results.
TYPE
RO
R/W
R/W
R/W
DEFAULT
-
0b
0b
0h
SMSC LAN9311/LAN9311i
377
DATASHEET
Revision 2.0 (02-14-13)