The VLAN TPID Word 0 (TPID0) 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 following 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, and 0x88A8. See Extended VLAN Support for more information about extended VLAN functions.
Figure 1. VLAN TPID Word 0 Register (0x0000_0028)
The following table shows the VLAN TPID Word 0 register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
31:16 | TPID value 1 | R/W | 0x0 | TPID Value 1: These bits represent one TPID value that is used for recognizing VLAN frames for both the transmit and receive paths. |
15:0 | TPID value 0 | R/W | 0x0 | TPID Value 0: These bits represent one TPID value that is used for recognizing VLAN frames for both the transmit and receive paths. |