KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
RTL8139C RX Config Register (RT_RXCONFIG) bits

Macros

#define RT_ERTH(n)
 Early RX Threshold multiplier n/16 or 0 for none.
 
#define RT_RXC_MulERINT   0x00020000
 0 for Early Receive Interrupt only on familiar protocols 1 for any
 
#define RT_RXC_RER8   0x00010000
 1 sets the acceptance of runt error packets
 
#define RT_RXC_RXFTH(n)
 2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for none
 
#define RT_RXC_RBLEN(n)
 Set Rx ring buffer len to 16b + 2^(3+n) kb.
 
#define RT_RXC_MXDMA(n)
 2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for unlimited
 
#define RT_RXC_WRAP   0x00000080
 0 to use wrapping mode or 1 to not (Ignored for 64Kb buffer length)
 
#define RT_RXC_9356SEL   0x00000040
 0 if EEPROM is 9346, 1 if 9356.
 
#define RT_RXC_AER   0x00000020
 Accept Error Packets.
 
#define RT_RXC_AR   0x00000010
 Accept Runt (8-64 byte) Packets.
 
#define RT_RXC_AB   0x00000008
 Accept Broadcast Packets.
 
#define RT_RXC_AM   0x00000004
 Accept Multicast Packets.
 
#define RT_RXC_APM   0x00000002
 Accept Physical Match Packets.
 
#define RT_RXC_AAP   0x00000001
 Accept Physical Address Packets.
 

Detailed Description

From RTL8139C(L) datasheet v1.4.

Macro Definition Documentation

◆ RT_ERTH

#define RT_ERTH ( n)
Value:
((n) <<24)

Early RX Threshold multiplier n/16 or 0 for none.

◆ RT_RXC_9356SEL

#define RT_RXC_9356SEL   0x00000040

0 if EEPROM is 9346, 1 if 9356.

RO

◆ RT_RXC_AAP

#define RT_RXC_AAP   0x00000001

Accept Physical Address Packets.

◆ RT_RXC_AB

#define RT_RXC_AB   0x00000008

Accept Broadcast Packets.

◆ RT_RXC_AER

#define RT_RXC_AER   0x00000020

Accept Error Packets.

◆ RT_RXC_AM

#define RT_RXC_AM   0x00000004

Accept Multicast Packets.

◆ RT_RXC_APM

#define RT_RXC_APM   0x00000002

Accept Physical Match Packets.

◆ RT_RXC_AR

#define RT_RXC_AR   0x00000010

Accept Runt (8-64 byte) Packets.

◆ RT_RXC_MulERINT

#define RT_RXC_MulERINT   0x00020000

0 for Early Receive Interrupt only on familiar protocols 1 for any

◆ RT_RXC_MXDMA

#define RT_RXC_MXDMA ( n)
Value:
((n) << 8)

2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for unlimited

◆ RT_RXC_RBLEN

#define RT_RXC_RBLEN ( n)
Value:
((n) <<11)

Set Rx ring buffer len to 16b + 2^(3+n) kb.

◆ RT_RXC_RER8

#define RT_RXC_RER8   0x00010000

1 sets the acceptance of runt error packets

◆ RT_RXC_RXFTH

#define RT_RXC_RXFTH ( n)
Value:
((n) <<13)

2^(4+n) bytes from 0-6 (16b - 1Kb) or 7 for none

◆ RT_RXC_WRAP

#define RT_RXC_WRAP   0x00000080

0 to use wrapping mode or 1 to not (Ignored for 64Kb buffer length)