![ARTERY AT32F435 Series Скачать руководство пользователя страница 584](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592584.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 584
Rev 2.03
upper CRC bits to index the HASH table. A value of 000000 corresponds to bit 0 in the HASH table
register, and a value of 111111 corresponds to bit 63 in the HASH table register. If the corresponding
bit in the HASH table relative to the CRC value is set to 1, it indicates that the frame has passed
through the HASH filter, otherwise, it has failed the HASH filter.
Multicast destination address filter
1.
The MAC can be programmed to receive all multicast frames by setting PMC=1 in the frame filter
register
2.
If the PMC is set to 0 and the HMC is set to 0, perfect address filtering can be done using the
MACADDR0/1/2 addresses.
3.
If the PMC is set to 0, and the HMC is set to 1, the 64-bit HASH table is used to perform imperfect
filtering.
Broadcast address filter
If the DBF is set in the frame filter register, the EMAC will reject all broadcast frames. If DBF=0, the
EMAC will accept all broadcast frames.
Unicast source address filter
If the bit 30 is set in the MAC address register 1/2/3, the filter will compare source address instead of
destination address of the received frames.
If the SAF bit is set in the frame filter address, the frames that failed the SA filter will be dropped by the
EMAC. In this case, the frames that pass through both SA and DA filtering can be forwarded to the
application, otherwise, they will be dropped.
Inverse filtering operation
The DAIF and SAIF bits in the frame filter register are used to invert the filtering output result for both
destination and source address filtering. The DAIF bit is applicable for both unicast and multicast
destination frames, while the SAIF bit for the unicast source address.