The VLAN TPID Word 1 (TPID1) register is shown in the following figure. This register is only used when transmit and/or receive VLAN functions are included in the subsystem at build-time (C_TXVLAN_TAG = 1 and/or C_RXVLAN_TAG = 1 and/or C_TXVLAN_STRP= 1 and/or C_RXVLAN_STRP= 1 and/or C_TXVLAN_TRAN = 1 and/or C_RXVLAN_TRAN = 1). This register and the previous register allow four TPID values to be specified for recognizing VLAN frames for both the transmit and receive paths. The most common values for VLAN TPID are 0x8100, 0x9100, 0x9200, 0x88A8. See Extended VLAN Support for more information.
Figure 1. VLAN TPID Word 1 Register (0x0000_002C)
The following table shows the VLAN TPID Word 1 register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
31:16 | TPID value 3 | R/W | 0x0 | TPID Value 3: These bits represent one TPID value that is used to recognize VLAN frames for both the transmit and receive paths. |
15:0 | TPID value 2 | R/W | 0x0 | TPID Value 2: These bits represent one TPID value that is used to recognize VLAN frames for both the transmit and receive paths. |