English
Language : 

PIC18F97J60_11 Datasheet, PDF (230/492 Pages) Microchip Technology – 64/80/100-Pin, High-Performance, 1-Mbit Flash Microcontrollers with Ethernet
PIC18F97J60 FAMILY
REGISTER 19-5: MACON3: MAC CONTROL REGISTER 3
R/W-0
PADCFG2
bit 7
R/W-0
PADCFG1
R/W-0
PADCFG0
R/W-0
TXCRCEN
R/W-0
PHDREN
R/W-0
HFRMEN
R/W-0
FRMLNEN
R/W-0
FULDPX
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-5
bit 4
bit 3
bit 2
bit 1
bit 0
PADCFG<2:0>: Automatic Pad and CRC Configuration bits
111 = All short frames are zero-padded to 64 bytes and a valid CRC will then be appended
110 = No automatic padding of short frames
101 = MAC automatically detects VLAN protocol frames which have a 8100h type field and auto-
matically pad to 64 bytes. If the frame is not a VLAN frame, it is padded to 60 bytes. After padding,
a valid CRC is appended.
100 = No automatic padding of short frames
011 = All short frames are zero-padded to 64 bytes and a valid CRC is appended
010 = No automatic padding of short frames
001 = All short frames are zero-padded to 60 bytes and a valid CRC is appended
000 = No automatic padding of short frames
TXCRCEN: Transmit CRC Enable bit
1 = MAC appends a valid CRC to all frames transmitted, regardless of the PADCFG<2:0> bits.
TXCRCEN must be set if the PADCFG bits specify that a valid CRC is appended.
0 = MAC does not append a CRC. The last 4 bytes are checked and if it is an invalid CRC, it is
reported in the transmit status vector.
PHDREN: Proprietary Header Enable bit
1 = Frames presented to the MAC contain a 4-byte proprietary header which is not used when
calculating the CRC
0 = No proprietary header is present; the CRC covers all data (normal operation)
HFRMEN: Huge Frame Enable bit
1 = Jumbo frames and frames of any illegal size are allowed to be transmitted and received
0 = Frames bigger than MAMXFL are truncated when transmitted or received
FRMLNEN: Frame Length Checking Enable bit
1 = The type/length field of transmitted and received frames is checked. If it represents a length, the
frame size is compared and mismatches are reported in the transmit/receive status vector.
0 = Frame lengths are not compared with the type/length field
FULDPX: MAC Full-Duplex Enable bit
1 = MAC operates in Full-Duplex mode; application must also set PDPXMD (PHCON1<8>)
0 = MAC operates in Half-Duplex mode; application must also clear PDPXMD
DS39762F-page 230
 2011 Microchip Technology Inc.