
EMAC_RX_FRM_FLT Контроллер Ethernet: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 DIS_ADDR_FILTER Bit 31R/W 0x0 Disable Address Filter Unused Bits 30 : 18DIS_BROADCAST Bit 17R/W 0x0 Disable Receive Broadcast Frames RX_ALL_MULTICAST Bit 16R/W 0x0 Receive All Multicast Frames Filter Unused Bits 15 : 14CTL_FRM_FILTER Bits 13 : 12R/W 0x0 Receive Control Frames Filter Unused Bits 11 : 10HASH_MULTICAST Bit 9R/W 0x0 Filter Multicast Frames Set HASH_UNICAST Bit 8R/W 0x0 Filter Unicast Frames Set Unused Bit 7SA_FILTER_EN Bit 6R/W 0x0 Receive SA Filter Enable SA_INV_FILTER Bit 5R/W 0x0 Receive SA Invert Filter Set DA_INV_FILTER Bit 4R/W 0x0 0: Normal filtering of frames is performed Unused Bits 3 : 2FLT_MD Bit 1R/W 0x0 0: If the HASH_MULTICAST or HASH_UNICAST is set, the frame is passed only when it matches the Hash filter RX_ALL Bit 0R/W 0x0 Receive All Frame Enable Команда U-Boot для чтения регистра md 5020038 1md 5030038 1 Bit fields structure
typedef union emac_rx_frm_flt
{
struct
{
unsigned rx_all : 1;
unsigned flt_md : 1;
unsigned unused0 : 2;
unsigned da_inv_filter : 1;
unsigned sa_inv_filter : 1;
unsigned sa_filter_en : 1;
unsigned unused1 : 1;
unsigned hash_unicast : 1;
unsigned hash_multicast : 1;
unsigned unused2 : 2;
unsigned ctl_frm_filter : 2;
unsigned unused3 : 2;
unsigned rx_all_multicast : 1;
unsigned dis_broadcast : 1;
unsigned unused4 : 13;
unsigned dis_addr_filter : 1;
} b;
unsigned long w;
} EMAC_RX_FRM_FLT
|
![]() |