Datasheet

2006-2012 Microchip Technology Inc. . DS39662E-page 15
ENC28J60
3.1.1 ECON1 REGISTER
The ECON1 register, shown in Register 3-1, is used to
control the main functions of the ENC28J60. Receive
enable, transmit request, DMA control and bank select
bits can all be found in ECON1.
REGISTER 3-1: ECON1: ETHERNET CONTROL REGISTER 1
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
TXRST RXRST DMAST CSUMEN TXRTS RXEN BSEL1 BSEL0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7 TXRST: Transmit Logic Reset bit
1 = Transmit logic is held in Reset
0 = Normal operation
bit 6 RXRST: Receive Logic Reset bit
1 = Receive logic is held in Reset
0 = Normal operations
bit 5 DMAST: DMA Start and Busy Status bit
1 = DMA copy or checksum operation is in progress
0 = DMA hardware is Idle
bit 4 CSUMEN: DMA Checksum Enable bit
1 = DMA hardware calculates checksums
0 = DMA hardware copies buffer memory
bit 3 TXRTS: Transmit Request to Send bit
1 = The transmit logic is attempting to transmit a packet
0 = The transmit logic is Idle
bit 2 RXEN: Receive Enable bit
1 = Packets which pass the current filter configuration will be written into the receive buffer
0 = All packets received will be ignored
bit 1-0 BSEL<1:0>: Bank Select bits
11 = SPI accesses registers in Bank 3
10 = SPI accesses registers in Bank 2
01 = SPI accesses registers in Bank 1
00 = SPI accesses registers in Bank 0