EMAC_INT_STA Контроллер Ethernet: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 17RGMII_LINK_STA_P Bit 16R/W1C 0x0 R MII Link Status Changed Interrupt Pending Unused Bits 15 : 14RX_EARLY_P Bit 13R/W1C 0x0 RX DMA Filled First data Buffer of the Receive Frame Interrupt Pending RX_OVERFLOW_P Bit 12R/W1C 0x0 RX FIFO Overflow Error Interrupt Pending RX_TIMEOUT_P Bit 11R/W1C 0x0 RX Timeout Interrupt Pending RX_DMA_STOPPED_P Bit 10R/W1C 0x0 When this bit asserted, the RX DMA FSM is stopped. RX_BUF_UA_P Bit 9R/W1C 0x0 RX Buffer UA Interrupt Pending RX_P Bit 8R/W1C 0x0 Frame RX Completed Interrupt Pending Unused Bits 7 : 6TX_EARLY_P Bit 5R/W1C 0x0 Frame is transmitted to FIFO totally Interrupt Pending TX_UNDERFLOW_P Bit 4R/W1C 0x0 TX FIFO Underflow Interrupt Pending TX_TIMEOUT_P Bit 3R/W1C 0x0 Transmitter Timeout Interrupt Pending TX_BUF_UA_P Bit 2R/W1C 0x0 TX Buffer UA Interrupt Pending TX_DMA_STOPPED_P Bit 1R/W1C 0x0 Transmission DMA Stopped Interrupt Pending TX_P Bit 0R/W1C 0x0 Frame Transmission Interrupt Pending Команда U-Boot для чтения регистра md 5020008 1md 5030008 1 Bit fields structuretypedef union emac_int_sta { struct { unsigned tx_p : 1; unsigned tx_dma_stopped_p : 1; unsigned tx_buf_ua_p : 1; unsigned tx_timeout_p : 1; unsigned tx_underflow_p : 1; unsigned tx_early_p : 1; unsigned unused0 : 2; unsigned rx_p : 1; unsigned rx_buf_ua_p : 1; unsigned rx_dma_stopped_p : 1; unsigned rx_timeout_p : 1; unsigned rx_overflow_p : 1; unsigned rx_early_p : 1; unsigned unused1 : 2; unsigned rgmii_link_sta_p : 1; unsigned unused2 : 15; } b; unsigned long w; } EMAC_INT_STA |