
RTL8305SC
Datasheet
5-port 10/100Mbps Single-Chip Dual MII Switch Controller
61
Track ID: JATR-1076-21 Rev. 1.2
7.1.12. PHY 0 Register 24: Port 0 Control Register 1 & VLAN ID [A]
Membership
Table 71. PHY 0 Register 24: Port 0 Control Register 1 & VLAN ID [A] Membership
Reg.bit
Name
Mode Description
Default
24.[15:12
]
Port 0 VLAN index
[3:0]
RW
In a port-based VLAN configuration, this register indexes to
port 0’s ‘Port VLAN Membership’, which can be defined in
one of the registers ‘VLAN ID [A] Membership’ to ‘VLAN ID
[P] Membership’.
Port 0 can only communicate with members within this VLAN.
This register also indexes to a default Port VID (PVID) for
each port. The PVID is used in tag insertion and filtering if the
tagged VID is not the same as the PVID.
The default value of this register is 0000, which indexes to the
VLAN entry [A] that is composed of VLAN ID[A]
Membership Bit [4:0] in PHY0 Reg.24.[4:0], and VLAN ID
[A] in PHY0 Reg.25.[11:0].
0000
24.11
Internal Use
RW
1
24.10
Internal Use
RW
1
24.9
Internal Use
RW
1
24.8
Internal Use
RO
0
24.7
Internal Use
RW
1
24.6
Internal Use
RW
1
24.5
Reserved
0
24.[4:0]
VLAN ID [A]
Membership Bit
[4:0]
RW
This 5-bit field specifies which ports are the members of
VLAN A. If a destination address look up fails, the packet
associated with this VLAN will be broadcast to the ports
specified in this field. Bit 0 stands for port 0, bit 4 stands for
port 4.E.g.:
10001 means port 4 and 0 are the members of VLAN A
10010 means port 4 and 1 are the members of VLAN A
11111 means all 5 ports are the members of VLAN A
1 0001
7.1.13. PHY 0 Register 25: Port 0 Control Register 2 & VLAN ID [A]
Table 72. PHY 0 Register 25: Port 0 Register Control 2 & VLAN ID [A]
Reg.bit
Name
Mode Description
Default
25.15
Internal Use
RW
1
25.14
Internal Use
RW
1
25.13
Internal Use
RW
1
25.12
Internal Use
RW
1
25.[11:0] VLAN ID [A]
RW
Defines the IEEE 802.1Q 12-bit VLAN identifier of VLAN A
0x000