Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
Register 37: Ethernet MAC VLAN Hash Table (EMACVLANHASH), offset 0x588
The 16-bit hash table is used for group address filtering based on VLAN tag when the
VTHM
bit of
the EMACVLANTG register is set. For hash filtering, the content of the 16-bit VLAN tag or 12-bit
VLAN ID (enabled by
ETV
in the EMACVLANTG register) in the incoming frame is passed through
the CRC logic and the upper four bits of the calculated CRC are used to index the contents of the
EMACVLANHASH register. For example, a hash value of 0x8 selects bit 8 of the VLAN Hash table.
The hash value of the destination address is calculated in the following way:
1. Calculate the 32-bit CRC for the VLAN tag or ID (See IEEE 802.3, Section 3.2.8 for the steps to
calculate CRC32).
2. Perform bitwise reversal for the value obtained in Step 1.
3. Take the upper four bits from the value obtained in Step 2.
If the corresponding bit value of the register is 0x1, the frame is accepted. Otherwise, it is rejected.
Ethernet MAC VLAN Hash Table (EMACVLANHASH)
Base 0x400E.C000
Offset 0x588
Type RW, reset 0x0000.0000
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
reserved
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
VLHT
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
Description
Reset
Type
Name
Bit/Field
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
0x0
RO
reserved
31:16
VLAN Hash Table
This field contains the 16-bit VLAN Hash Table.
0x0
RW
VLHT
15:0
1725
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller