40.6.1 Network Control Register
Name: | EMAC_NCR |
Offset: | 0x00 |
Reset: | 0x00000000 |
Property: | Read/Write |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
THALT | TSTART | BP | |||||||
Access | R/W | R/W | R/W | ||||||
Reset | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
WESTAT | INCSTAT | CLRSTAT | MPE | TE | RE | LLB | LB | ||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 10 – THALT Transmit Halt
Writing one to this bit halts transmission as soon as any ongoing frame transmission ends.
Bit 9 – TSTART Start Transmission
Writing one to this bit starts transmission.
Bit 8 – BP Back Pressure
If set in half duplex mode, forces collisions on all received frames.
Bit 7 – WESTAT Write Enable for Statistics Registers
Setting this bit to one makes the statistics registers writable for functional test purposes.
Bit 6 – INCSTAT Increment Statistics Registers
This bit is write only. Writing a one increments all the statistics registers by one for test purposes.
Bit 5 – CLRSTAT Clear Statistics Registers
This bit is write only. Writing a one clears the statistics registers.
Bit 4 – MPE Management Port Enable
Value | Description |
---|---|
0 | Forces MDIO to high impedance state and MDC low |
1 | Enables the management port |
Bit 3 – TE Transmit Enable
When set, enables the Ethernet transmitter to send data. When reset transmission, stops immediately, the transmit FIFO and control registers are cleared and the EMAC_TBQP register resets to point to the start of the transmit descriptor list.
Bit 2 – RE Receive Enable
When set, enables the EMAC to receive data. When reset, frame reception stops immediately and the receive FIFO is cleared. The EMAC_RBQP register is unaffected.
Bit 1 – LLB LoopBack Local
Connects txd to rxd, tx_en to rx_dv, forces full duplex and drives rx_clk and tx_clk with MCK divided by 4. rx_clk and tx_clk may glitch as the EMAC is switched into and out of internal loop back. It is important that receive and transmit circuits have already been disabled when making the switch into and out of internal loop back.
Bit 0 – LB LoopBack
Asserts the loopback signal to the PHY.