enc624j600_driver.h File Reference

ENC624J600 Ethernet controller. More...

#include "core/nic.h"

Go to the source code of this file.

Data Structures

struct  Enc624j600Context
 ENC424J600 driver context. More...
 

Macros

#define ENC624J600_ETH_RX_BUFFER_SIZE   1536
 
#define ENC624J600_TX_BUFFER_START   0x0000
 
#define ENC624J600_TX_BUFFER_STOP   0x17FE
 
#define ENC624J600_RX_BUFFER_START   0x1800
 
#define ENC624J600_RX_BUFFER_STOP   0x5FFE
 
#define ENC624J600_CMD_B0SEL   0xC0
 
#define ENC624J600_CMD_B1SEL   0xC2
 
#define ENC624J600_CMD_B2SEL   0xC4
 
#define ENC624J600_CMD_B3SEL   0xC6
 
#define ENC624J600_CMD_SETETHRST   0xCA
 
#define ENC624J600_CMD_FCDISABLE   0xE0
 
#define ENC624J600_CMD_FCSINGLE   0xE2
 
#define ENC624J600_CMD_FCMULTIPLE   0xE4
 
#define ENC624J600_CMD_FCCLEAR   0xE6
 
#define ENC624J600_CMD_SETPKTDEC   0xCC
 
#define ENC624J600_CMD_DMASTOP   0xD2
 
#define ENC624J600_CMD_DMACKSUM   0xD8
 
#define ENC624J600_CMD_DMACKSUMS   0xDA
 
#define ENC624J600_CMD_DMACOPY   0xDC
 
#define ENC624J600_CMD_DMACOPYS   0xDE
 
#define ENC624J600_CMD_SETTXRTS   0xD4
 
#define ENC624J600_CMD_ENABLERX   0xE8
 
#define ENC624J600_CMD_DISABLERX   0xEA
 
#define ENC624J600_CMD_SETEIE   0xEC
 
#define ENC624J600_CMD_CLREIE   0xEE
 
#define ENC624J600_CMD_RBSEL   0xC8
 
#define ENC624J600_CMD_WGPRDPT   0x60
 
#define ENC624J600_CMD_RGPRDPT   0x62
 
#define ENC624J600_CMD_WRXRDPT   0x64
 
#define ENC624J600_CMD_RRXRDPT   0x66
 
#define ENC624J600_CMD_WUDARDPT   0x68
 
#define ENC624J600_CMD_RUDARDPT   0x6A
 
#define ENC624J600_CMD_WGPWRPT   0x6C
 
#define ENC624J600_CMD_RGPWRPT   0x6E
 
#define ENC624J600_CMD_WRXWRPT   0x70
 
#define ENC624J600_CMD_RRXWRPT   0x72
 
#define ENC624J600_CMD_WUDAWRPT   0x74
 
#define ENC624J600_CMD_RUDAWRPT   0x76
 
#define ENC624J600_CMD_RCR   0x00
 
#define ENC624J600_CMD_WCR   0x40
 
#define ENC624J600_CMD_RCRU   0x20
 
#define ENC624J600_CMD_WCRU   0x22
 
#define ENC624J600_CMD_BFS   0x80
 
#define ENC624J600_CMD_BFC   0xA0
 
#define ENC624J600_CMD_BFSU   0x24
 
#define ENC624J600_CMD_BFCU   0x26
 
#define ENC624J600_CMD_RGPDATA   0x28
 
#define ENC624J600_CMD_WGPDATA   0x2A
 
#define ENC624J600_CMD_RRXDATA   0x2C
 
#define ENC624J600_CMD_WRXDATA   0x2E
 
#define ENC624J600_CMD_RUDADATA   0x30
 
#define ENC624J600_CMD_WUDADATA   0x32
 
#define ENC624J600_ETXST   0x00
 
#define ENC624J600_ETXLEN   0x02
 
#define ENC624J600_ERXST   0x04
 
#define ENC624J600_ERXTAIL   0x06
 
#define ENC624J600_ERXHEAD   0x08
 
#define ENC624J600_EDMAST   0x0A
 
#define ENC624J600_EDMALEN   0x0C
 
#define ENC624J600_EDMADST   0x0E
 
#define ENC624J600_EDMACS   0x10
 
#define ENC624J600_ETXSTAT   0x12
 
#define ENC624J600_ETXWIRE   0x14
 
#define ENC624J600_EUDAST   0x16
 
#define ENC624J600_EUDAND   0x18
 
#define ENC624J600_ESTAT   0x1A
 
#define ENC624J600_EIR   0x1C
 
#define ENC624J600_ECON1   0x1E
 
#define ENC624J600_EHT1   0x20
 
#define ENC624J600_EHT2   0x22
 
#define ENC624J600_EHT3   0x24
 
#define ENC624J600_EHT4   0x26
 
#define ENC624J600_EPMM1   0x28
 
#define ENC624J600_EPMM2   0x2A
 
#define ENC624J600_EPMM3   0x2C
 
#define ENC624J600_EPMM4   0x2E
 
#define ENC624J600_EPMCS   0x30
 
#define ENC624J600_EPMO   0x32
 
#define ENC624J600_ERXFCON   0x34
 
#define ENC624J600_MACON1   0x40
 
#define ENC624J600_MACON2   0x42
 
#define ENC624J600_MABBIPG   0x44
 
#define ENC624J600_MAIPG   0x46
 
#define ENC624J600_MACLCON   0x48
 
#define ENC624J600_MAMXFL   0x4A
 
#define ENC624J600_MICMD   0x52
 
#define ENC624J600_MIREGADR   0x54
 
#define ENC624J600_MAADR3   0x60
 
#define ENC624J600_MAADR2   0x62
 
#define ENC624J600_MAADR1   0x64
 
#define ENC624J600_MIWR   0x66
 
#define ENC624J600_MIRD   0x68
 
#define ENC624J600_MISTAT   0x6A
 
#define ENC624J600_EPAUS   0x6C
 
#define ENC624J600_ECON2   0x6E
 
#define ENC624J600_ERXWM   0x70
 
#define ENC624J600_EIE   0x72
 
#define ENC624J600_EIDLED   0x74
 
#define ENC624J600_EGPDATA   0x80
 
#define ENC624J600_ERXDATA   0x82
 
#define ENC624J600_EUDADATA   0x84
 
#define ENC624J600_EGPRDPT   0x86
 
#define ENC624J600_EGPWRPT   0x88
 
#define ENC624J600_ERXRDPT   0x8A
 
#define ENC624J600_ERXWRPT   0x8C
 
#define ENC624J600_EUDARDPT   0x8E
 
#define ENC624J600_EUDAWRPT   0x90
 
#define ENC624J600_PHCON1   0x00
 
#define ENC624J600_PHSTAT1   0x01
 
#define ENC624J600_PHANA   0x04
 
#define ENC624J600_PHANLPA   0x05
 
#define ENC624J600_PHANE   0x06
 
#define ENC624J600_PHCON2   0x11
 
#define ENC624J600_PHSTAT2   0x1B
 
#define ENC624J600_PHSTAT3   0x1F
 
#define ENC624J600_ETXST_VAL   0x7FFF
 
#define ENC624J600_ETXLEN_VAL   0x7FFF
 
#define ENC624J600_ERXST_VAL   0x7FFF
 
#define ENC624J600_ERXTAIL_VAL   0x7FFF
 
#define ENC624J600_ERXHEAD_VAL   0x7FFF
 
#define ENC624J600_EDMAST_VAL   0x7FFF
 
#define ENC624J600_EDMALEN_VAL   0x7FFF
 
#define ENC624J600_EDMADST_VAL   0x7FFF
 
#define ENC624J600_ETXSTAT_R12   0x1000
 
#define ENC624J600_ETXSTAT_R11   0x0800
 
#define ENC624J600_ETXSTAT_LATECOL   0x0400
 
#define ENC624J600_ETXSTAT_MAXCOL   0x0200
 
#define ENC624J600_ETXSTAT_EXDEFER   0x0100
 
#define ENC624J600_ETXSTAT_DEFER   0x0080
 
#define ENC624J600_ETXSTAT_R6   0x0040
 
#define ENC624J600_ETXSTAT_R5   0x0020
 
#define ENC624J600_ETXSTAT_CRCBAD   0x0010
 
#define ENC624J600_ETXSTAT_COLCNT   0x000F
 
#define ENC624J600_EUDAST_VAL   0x7FFF
 
#define ENC624J600_EUDAND_VAL   0x7FFF
 
#define ENC624J600_ESTAT_INT   0x8000
 
#define ENC624J600_ESTAT_FCIDLE   0x4000
 
#define ENC624J600_ESTAT_RXBUSY   0x2000
 
#define ENC624J600_ESTAT_CLKRDY   0x1000
 
#define ENC624J600_ESTAT_R11   0x0800
 
#define ENC624J600_ESTAT_PHYDPX   0x0400
 
#define ENC624J600_ESTAT_R9   0x0200
 
#define ENC624J600_ESTAT_PHYLNK   0x0100
 
#define ENC624J600_ESTAT_PKTCNT   0x00FF
 
#define ENC624J600_EIR_CRYPTEN   0x8000
 
#define ENC624J600_EIR_MODEXIF   0x4000
 
#define ENC624J600_EIR_HASHIF   0x2000
 
#define ENC624J600_EIR_AESIF   0x1000
 
#define ENC624J600_EIR_LINKIF   0x0800
 
#define ENC624J600_EIR_R10   0x0400
 
#define ENC624J600_EIR_R9   0x0200
 
#define ENC624J600_EIR_R8   0x0100
 
#define ENC624J600_EIR_R7   0x0080
 
#define ENC624J600_EIR_PKTIF   0x0040
 
#define ENC624J600_EIR_DMAIF   0x0020
 
#define ENC624J600_EIR_R4   0x0010
 
#define ENC624J600_EIR_TXIF   0x0008
 
#define ENC624J600_EIR_TXABTIF   0x0004
 
#define ENC624J600_EIR_RXABTIF   0x0002
 
#define ENC624J600_EIR_PCFULIF   0x0001
 
#define ENC624J600_ECON1_MODEXST   0x8000
 
#define ENC624J600_ECON1_HASHEN   0x4000
 
#define ENC624J600_ECON1_HASHOP   0x2000
 
#define ENC624J600_ECON1_HASHLST   0x1000
 
#define ENC624J600_ECON1_AESST   0x0800
 
#define ENC624J600_ECON1_AESOP1   0x0400
 
#define ENC624J600_ECON1_AESOP0   0x0200
 
#define ENC624J600_ECON1_PKTDEC   0x0100
 
#define ENC624J600_ECON1_FCOP1   0x0080
 
#define ENC624J600_ECON1_FCOP0   0x0040
 
#define ENC624J600_ECON1_DMAST   0x0020
 
#define ENC624J600_ECON1_DMACPY   0x0010
 
#define ENC624J600_ECON1_DMACSSD   0x0008
 
#define ENC624J600_ECON1_DMANOCS   0x0004
 
#define ENC624J600_ECON1_TXRTS   0x0002
 
#define ENC624J600_ECON1_RXEN   0x0001
 
#define ENC624J600_ERXFCON_HTEN   0x8000
 
#define ENC624J600_ERXFCON_MPEN   0x4000
 
#define ENC624J600_ERXFCON_NOTPM   0x1000
 
#define ENC624J600_ERXFCON_PMEN   0x0F00
 
#define ENC624J600_ERXFCON_PMEN_DISABLED   0x0000
 
#define ENC624J600_ERXFCON_PMEN_CHECKSUM   0x0100
 
#define ENC624J600_ERXFCON_PMEN_UNICAST   0x0200
 
#define ENC624J600_ERXFCON_PMEN_NOT_UNICAST   0x0300
 
#define ENC624J600_ERXFCON_PMEN_MULTICAST   0x0400
 
#define ENC624J600_ERXFCON_PMEN_NOT_MULTICAST   0x0500
 
#define ENC624J600_ERXFCON_PMEN_BROADCAST   0x0600
 
#define ENC624J600_ERXFCON_PMEN_NOT_BROADCAST   0x0700
 
#define ENC624J600_ERXFCON_PMEN_HASH   0x0800
 
#define ENC624J600_ERXFCON_PMEN_MAGIC_PKT   0x0900
 
#define ENC624J600_ERXFCON_CRCEEN   0x0080
 
#define ENC624J600_ERXFCON_CRCEN   0x0040
 
#define ENC624J600_ERXFCON_RUNTEEN   0x0020
 
#define ENC624J600_ERXFCON_RUNTEN   0x0010
 
#define ENC624J600_ERXFCON_UCEN   0x0008
 
#define ENC624J600_ERXFCON_NOTMEEN   0x0004
 
#define ENC624J600_ERXFCON_MCEN   0x0002
 
#define ENC624J600_ERXFCON_BCEN   0x0001
 
#define ENC624J600_MACON1_R15_14   0xC000
 
#define ENC624J600_MACON1_R11_8   0x0F00
 
#define ENC624J600_MACON1_LOOPBK   0x0010
 
#define ENC624J600_MACON1_R3   0x0008
 
#define ENC624J600_MACON1_R3_DEFAULT   0x0008
 
#define ENC624J600_MACON1_RXPAUS   0x0004
 
#define ENC624J600_MACON1_PASSALL   0x0002
 
#define ENC624J600_MACON1_R0   0x0001
 
#define ENC624J600_MACON1_R0_DEFAULT   0x0001
 
#define ENC624J600_MACON2_DEFER   0x4000
 
#define ENC624J600_MACON2_BPEN   0x2000
 
#define ENC624J600_MACON2_NOBKOFF   0x1000
 
#define ENC624J600_MACON2_R9_8   0x0300
 
#define ENC624J600_MACON2_PADCFG   0x00E0
 
#define ENC624J600_MACON2_PADCFG_NO   0x0000
 
#define ENC624J600_MACON2_PADCFG_60_BYTES   0x0020
 
#define ENC624J600_MACON2_PADCFG_64_BYTES   0x0060
 
#define ENC624J600_MACON2_PADCFG_AUTO   0x00A0
 
#define ENC624J600_MACON2_TXCRCEN   0x0010
 
#define ENC624J600_MACON2_PHDREN   0x0008
 
#define ENC624J600_MACON2_HFRMEN   0x0004
 
#define ENC624J600_MACON2_R1   0x0002
 
#define ENC624J600_MACON2_R1_DEFAULT   0x0002
 
#define ENC624J600_MACON2_FULDPX   0x0001
 
#define ENC624J600_MABBIPG_BBIPG   0x007F
 
#define ENC624J600_MABBIPG_BBIPG_DEFAULT_HD   0x0012
 
#define ENC624J600_MABBIPG_BBIPG_DEFAULT_FD   0x0015
 
#define ENC624J600_MAIPG_R14_8   0x7F00
 
#define ENC624J600_MAIPG_R14_8_DEFAULT   0x0C00
 
#define ENC624J600_MAIPG_IPG   0x007F
 
#define ENC624J600_MAIPG_IPG_DEFAULT   0x0012
 
#define ENC624J600_MACLCON_R13_8   0x3F00
 
#define ENC624J600_MACLCON_R13_8_DEFAULT   0x3700
 
#define ENC624J600_MACLCON_MAXRET   0x000F
 
#define ENC624J600_MICMD_MIISCAN   0x0002
 
#define ENC624J600_MICMD_MIIRD   0x0001
 
#define ENC624J600_MIREGADR_R12_8   0x1F00
 
#define ENC624J600_MIREGADR_R12_8_DEFAULT   0x0100
 
#define ENC624J600_MIREGADR_PHREG   0x001F
 
#define ENC624J600_MISTAT_R3   0x0008
 
#define ENC624J600_MISTAT_NVALID   0x0004
 
#define ENC624J600_MISTAT_SCAN   0x0002
 
#define ENC624J600_MISTAT_BUSY   0x0001
 
#define ENC624J600_ECON2_ETHEN   0x8000
 
#define ENC624J600_ECON2_STRCH   0x4000
 
#define ENC624J600_ECON2_TXMAC   0x2000
 
#define ENC624J600_ECON2_SHA1MD5   0x1000
 
#define ENC624J600_ECON2_COCON   0x0F00
 
#define ENC624J600_ECON2_COCON_NONE   0x0000
 
#define ENC624J600_ECON2_COCON_33_33_MHZ   0x0100
 
#define ENC624J600_ECON2_COCON_25_00_MHZ   0x0200
 
#define ENC624J600_ECON2_COCON_20_00_MHZ   0x0300
 
#define ENC624J600_ECON2_COCON_16_67_MHZ   0x0400
 
#define ENC624J600_ECON2_COCON_12_50_MHZ   0x0500
 
#define ENC624J600_ECON2_COCON_10_00_MHZ   0x0600
 
#define ENC624J600_ECON2_COCON_8_333_MHZ   0x0700
 
#define ENC624J600_ECON2_COCON_8_000_MHZ   0x0800
 
#define ENC624J600_ECON2_COCON_6_250_MHZ   0x0900
 
#define ENC624J600_ECON2_COCON_5_000_MHZ   0x0A00
 
#define ENC624J600_ECON2_COCON_4_000_MHZ   0x0B00
 
#define ENC624J600_ECON2_COCON_3_125_MHZ   0x0C00
 
#define ENC624J600_ECON2_COCON_100_KHZ   0x0E00
 
#define ENC624J600_ECON2_COCON_50_KHZ   0x0F00
 
#define ENC624J600_ECON2_AUTOFC   0x0080
 
#define ENC624J600_ECON2_TXRST   0x0040
 
#define ENC624J600_ECON2_RXRST   0x0020
 
#define ENC624J600_ECON2_ETHRST   0x0010
 
#define ENC624J600_ECON2_MODLEN   0x000C
 
#define ENC624J600_ECON2_MODLEN_512_BITS   0x0000
 
#define ENC624J600_ECON2_MODLEN_768_BITS   0x0004
 
#define ENC624J600_ECON2_MODLEN_1024_BITS   0x0008
 
#define ENC624J600_ECON2_AESLEN   0x0003
 
#define ENC624J600_ECON2_AESLEN_128_BITS   0x0000
 
#define ENC624J600_ECON2_AESLEN_192_BITS   0x0001
 
#define ENC624J600_ECON2_AESLEN_256_BITS   0x0002
 
#define ENC624J600_ERXWM_RXFWM   0xFF00
 
#define ENC624J600_ERXWM_RXEWM   0x00FF
 
#define ENC624J600_EIE_INTIE   0x8000
 
#define ENC624J600_EIE_MODEXIE   0x4000
 
#define ENC624J600_EIE_HASHIE   0x2000
 
#define ENC624J600_EIE_AESIE   0x1000
 
#define ENC624J600_EIE_LINKIE   0x0800
 
#define ENC624J600_EIE_R10_7   0x0780
 
#define ENC624J600_EIE_PKTIE   0x0040
 
#define ENC624J600_EIE_DMAIE   0x0020
 
#define ENC624J600_EIE_R4   0x0010
 
#define ENC624J600_EIE_R4_DEFAULT   0x0010
 
#define ENC624J600_EIE_TXIE   0x0008
 
#define ENC624J600_EIE_TXABTIE   0x0004
 
#define ENC624J600_EIE_RXABTIE   0x0002
 
#define ENC624J600_EIE_PCFULIE   0x0001
 
#define ENC624J600_EIDLED_LACFG   0xF000
 
#define ENC624J600_EIDLED_LACFG_OFF   0x0000
 
#define ENC624J600_EIDLED_LACFG_ON   0x1000
 
#define ENC624J600_EIDLED_LACFG_LINK   0x2000
 
#define ENC624J600_EIDLED_LACFG_COL   0x3000
 
#define ENC624J600_EIDLED_LACFG_TX   0x4000
 
#define ENC624J600_EIDLED_LACFG_RX   0x5000
 
#define ENC624J600_EIDLED_LACFG_TX_RX   0x6000
 
#define ENC624J600_EIDLED_LACFG_DUPLEX   0x7000
 
#define ENC624J600_EIDLED_LACFG_SPEED   0x8000
 
#define ENC624J600_EIDLED_LACFG_LINK_TX   0x9000
 
#define ENC624J600_EIDLED_LACFG_LINK_RX   0xA000
 
#define ENC624J600_EIDLED_LACFG_LINK_TX_RX   0xB000
 
#define ENC624J600_EIDLED_LACFG_LINK_COL   0xC000
 
#define ENC624J600_EIDLED_LACFG_LINK_DUPLEX_TX_RX   0xE000
 
#define ENC624J600_EIDLED_LACFG_LINK_SPEED_TX_RX   0xF000
 
#define ENC624J600_EIDLED_LBCFG   0x0F00
 
#define ENC624J600_EIDLED_LBCFG_OFF   0x0000
 
#define ENC624J600_EIDLED_LBCFG_ON   0x0100
 
#define ENC624J600_EIDLED_LBCFG_LINK   0x0200
 
#define ENC624J600_EIDLED_LBCFG_COL   0x0300
 
#define ENC624J600_EIDLED_LBCFG_TX   0x0400
 
#define ENC624J600_EIDLED_LBCFG_RX   0x0500
 
#define ENC624J600_EIDLED_LBCFG_TX_RX   0x0600
 
#define ENC624J600_EIDLED_LBCFG_DUPLEX   0x0700
 
#define ENC624J600_EIDLED_LBCFG_SPEED   0x0800
 
#define ENC624J600_EIDLED_LBCFG_LINK_TX   0x0900
 
#define ENC624J600_EIDLED_LBCFG_LINK_RX   0x0A00
 
#define ENC624J600_EIDLED_LBCFG_LINK_TX_RX   0x0B00
 
#define ENC624J600_EIDLED_LBCFG_LINK_COL   0x0C00
 
#define ENC624J600_EIDLED_LBCFG_LINK_DUPLEX_TX_RX   0x0E00
 
#define ENC624J600_EIDLED_LBCFG_LINK_SPEED_TX_RX   0x0F00
 
#define ENC624J600_EIDLED_DEVID   0x00E0
 
#define ENC624J600_EIDLED_DEVID_DEFAULT   0x0020
 
#define ENC624J600_EIDLED_REVID   0x001F
 
#define ENC624J600_EGPDATA_R15_8   0xFF00
 
#define ENC624J600_EGPDATA_VAL   0x00FF
 
#define ENC624J600_ERXDATA_R15_8   0xFF00
 
#define ENC624J600_ERXDATA_VAL   0x00FF
 
#define ENC624J600_EUDADATA_R15_8   0xFF00
 
#define ENC624J600_EUDADATA_VAL   0x00FF
 
#define ENC624J600_EGPRDPT_VAL   0x7FFF
 
#define ENC624J600_EGPWRPT_VAL   0x7FFF
 
#define ENC624J600_ERXRDPT_VAL   0x7FFF
 
#define ENC624J600_ERXWRPT_VAL   0x7FFF
 
#define ENC624J600_EUDARDPT_VAL   0x7FFF
 
#define ENC624J600_EUDAWRPT_VAL   0x7FFF
 
#define ENC624J600_PHCON1_PRST   0x8000
 
#define ENC624J600_PHCON1_PLOOPBK   0x4000
 
#define ENC624J600_PHCON1_SPD100   0x2000
 
#define ENC624J600_PHCON1_ANEN   0x1000
 
#define ENC624J600_PHCON1_PSLEEP   0x0800
 
#define ENC624J600_PHCON1_RENEG   0x0200
 
#define ENC624J600_PHCON1_PFULDPX   0x0100
 
#define ENC624J600_PHSTAT1_FULL100   0x4000
 
#define ENC624J600_PHSTAT1_HALF100   0x2000
 
#define ENC624J600_PHSTAT1_FULL10   0x1000
 
#define ENC624J600_PHSTAT1_HALF10   0x0800
 
#define ENC624J600_PHSTAT1_ANDONE   0x0020
 
#define ENC624J600_PHSTAT1_LRFAULT   0x0010
 
#define ENC624J600_PHSTAT1_ANABLE   0x0008
 
#define ENC624J600_PHSTAT1_LLSTAT   0x0004
 
#define ENC624J600_PHSTAT1_EXTREGS   0x0001
 
#define ENC624J600_PHANA_ADNP   0x8000
 
#define ENC624J600_PHANA_ADFAULT   0x2000
 
#define ENC624J600_PHANA_ADPAUS1   0x0800
 
#define ENC624J600_PHANA_ADPAUS0   0x0400
 
#define ENC624J600_PHANA_AD100FD   0x0100
 
#define ENC624J600_PHANA_AD100   0x0080
 
#define ENC624J600_PHANA_AD10FD   0x0040
 
#define ENC624J600_PHANA_AD10   0x0020
 
#define ENC624J600_PHANA_ADIEEE   0x001F
 
#define ENC624J600_PHANA_ADIEEE_DEFAULT   0x0001
 
#define ENC624J600_PHANLPA_LPNP   0x8000
 
#define ENC624J600_PHANLPA_LPACK   0x4000
 
#define ENC624J600_PHANLPA_LPFAULT   0x2000
 
#define ENC624J600_PHANLPA_LPPAUS1   0x0800
 
#define ENC624J600_PHANLPA_LPPAUS0   0x0400
 
#define ENC624J600_PHANLPA_LP100T4   0x0200
 
#define ENC624J600_PHANLPA_LP100FD   0x0100
 
#define ENC624J600_PHANLPA_LP100   0x0080
 
#define ENC624J600_PHANLPA_LP10FD   0x0040
 
#define ENC624J600_PHANLPA_LP10   0x0020
 
#define ENC624J600_PHANLPA_LPIEEE   0x001F
 
#define ENC624J600_PHANE_PDFLT   0x0010
 
#define ENC624J600_PHANE_LPARCD   0x0002
 
#define ENC624J600_PHANE_LPANABL   0x0001
 
#define ENC624J600_PHCON2_EDPWRDN   0x2000
 
#define ENC624J600_PHCON2_EDTHRES   0x0800
 
#define ENC624J600_PHCON2_FRCLNK   0x0004
 
#define ENC624J600_PHCON2_EDSTAT   0x0002
 
#define ENC624J600_PHSTAT2_PLRITY   0x0010
 
#define ENC624J600_PHSTAT3_R6   0x0040
 
#define ENC624J600_PHSTAT3_R6_DEFAULT   0x0040
 
#define ENC624J600_PHSTAT3_SPDDPX2   0x0010
 
#define ENC624J600_PHSTAT3_SPDDPX1   0x0008
 
#define ENC624J600_PHSTAT3_SPDDPX0   0x0004
 
#define ENC624J600_RSV_UNICAST_FILTER   0x00100000
 
#define ENC624J600_RSV_PATTERN_MATCH_FILTER   0x00080000
 
#define ENC624J600_RSV_MAGIC_PACKET_FILTER   0x00040000
 
#define ENC624J600_RSV_HASH_FILTER   0x00020000
 
#define ENC624J600_RSV_NOT_ME_FILTER   0x00010000
 
#define ENC624J600_RSV_RUNT_FILTER   0x00008000
 
#define ENC624J600_RSV_VLAN_TYPE   0x00004000
 
#define ENC624J600_RSV_UNKNOWN_OPCODE   0x00002000
 
#define ENC624J600_RSV_PAUSE_CONTROL_FRAME   0x00001000
 
#define ENC624J600_RSV_CONTROL_FRAME   0x00000800
 
#define ENC624J600_RSV_DRIBBLE_NIBBLE   0x00000400
 
#define ENC624J600_RSV_BROADCAST_PACKET   0x00000200
 
#define ENC624J600_RSV_MULTICAST_PACKET   0x00000100
 
#define ENC624J600_RSV_RECEIVED_OK   0x00000080
 
#define ENC624J600_RSV_LENGTH_OUT_OF_RANGE   0x00000040
 
#define ENC624J600_RSV_LENGTH_CHECK_ERROR   0x00000020
 
#define ENC624J600_RSV_CRC_ERROR   0x00000010
 
#define ENC624J600_RSV_CARRIER_EVENT   0x00000004
 
#define ENC624J600_RSV_PACKET_IGNORED   0x00000001
 

Functions

error_t enc624j600Init (NetInterface *interface)
 ENC624J600 controller initialization. More...
 
void enc624j600InitHook (NetInterface *interface)
 ENC624J600 custom configuration. More...
 
void enc624j600Tick (NetInterface *interface)
 ENC624J600 timer handler. More...
 
void enc624j600EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void enc624j600DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
bool_t enc624j600IrqHandler (NetInterface *interface)
 ENC624J600 interrupt service routine. More...
 
void enc624j600EventHandler (NetInterface *interface)
 ENC624J600 event handler. More...
 
error_t enc624j600SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
 Send a packet. More...
 
error_t enc624j600ReceivePacket (NetInterface *interface)
 Receive a packet. More...
 
error_t enc624j600UpdateMacAddrFilter (NetInterface *interface)
 Configure MAC address filtering. More...
 
void enc624j600UpdateMacConfig (NetInterface *interface)
 Adjust MAC configuration parameters for proper operation. More...
 
error_t enc624j600SoftReset (NetInterface *interface)
 Reset ENC624J600 controller. More...
 
void enc624j600WriteReg (NetInterface *interface, uint8_t address, uint16_t data)
 Write ENC624J600 register. More...
 
uint16_t enc624j600ReadReg (NetInterface *interface, uint8_t address)
 Read ENC624J600 register. More...
 
void enc624j600WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data)
 Write PHY register. More...
 
uint16_t enc624j600ReadPhyReg (NetInterface *interface, uint8_t address)
 Read PHY register. More...
 
void enc624j600WriteBuffer (NetInterface *interface, uint8_t opcode, const NetBuffer *buffer, size_t offset)
 Write SRAM buffer. More...
 
void enc624j600ReadBuffer (NetInterface *interface, uint8_t opcode, uint8_t *data, size_t length)
 Read SRAM buffer. More...
 
void enc624j600SetBit (NetInterface *interface, uint8_t address, uint16_t mask)
 Set bit field. More...
 
void enc624j600ClearBit (NetInterface *interface, uint8_t address, uint16_t mask)
 Clear bit field. More...
 
uint32_t enc624j600CalcCrc (const void *data, size_t length)
 CRC calculation using the polynomial 0x4C11DB7. More...
 
void enc624j600DumpReg (NetInterface *interface)
 Dump registers for debugging purpose. More...
 
void enc624j600DumpPhyReg (NetInterface *interface)
 Dump PHY registers for debugging purpose. More...
 

Variables

const NicDriver enc624j600Driver
 ENC624J600 driver. More...
 

Detailed Description

ENC624J600 Ethernet controller.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.4.4

Definition in file enc624j600_driver.h.

Macro Definition Documentation

◆ ENC624J600_CMD_B0SEL

#define ENC624J600_CMD_B0SEL   0xC0

Definition at line 51 of file enc624j600_driver.h.

◆ ENC624J600_CMD_B1SEL

#define ENC624J600_CMD_B1SEL   0xC2

Definition at line 52 of file enc624j600_driver.h.

◆ ENC624J600_CMD_B2SEL

#define ENC624J600_CMD_B2SEL   0xC4

Definition at line 53 of file enc624j600_driver.h.

◆ ENC624J600_CMD_B3SEL

#define ENC624J600_CMD_B3SEL   0xC6

Definition at line 54 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFC

#define ENC624J600_CMD_BFC   0xA0

Definition at line 89 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFCU

#define ENC624J600_CMD_BFCU   0x26

Definition at line 91 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFS

#define ENC624J600_CMD_BFS   0x80

Definition at line 88 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFSU

#define ENC624J600_CMD_BFSU   0x24

Definition at line 90 of file enc624j600_driver.h.

◆ ENC624J600_CMD_CLREIE

#define ENC624J600_CMD_CLREIE   0xEE

Definition at line 70 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DISABLERX

#define ENC624J600_CMD_DISABLERX   0xEA

Definition at line 68 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACKSUM

#define ENC624J600_CMD_DMACKSUM   0xD8

Definition at line 62 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACKSUMS

#define ENC624J600_CMD_DMACKSUMS   0xDA

Definition at line 63 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACOPY

#define ENC624J600_CMD_DMACOPY   0xDC

Definition at line 64 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACOPYS

#define ENC624J600_CMD_DMACOPYS   0xDE

Definition at line 65 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMASTOP

#define ENC624J600_CMD_DMASTOP   0xD2

Definition at line 61 of file enc624j600_driver.h.

◆ ENC624J600_CMD_ENABLERX

#define ENC624J600_CMD_ENABLERX   0xE8

Definition at line 67 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCCLEAR

#define ENC624J600_CMD_FCCLEAR   0xE6

Definition at line 59 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCDISABLE

#define ENC624J600_CMD_FCDISABLE   0xE0

Definition at line 56 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCMULTIPLE

#define ENC624J600_CMD_FCMULTIPLE   0xE4

Definition at line 58 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCSINGLE

#define ENC624J600_CMD_FCSINGLE   0xE2

Definition at line 57 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RBSEL

#define ENC624J600_CMD_RBSEL   0xC8

Definition at line 71 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RCR

#define ENC624J600_CMD_RCR   0x00

Definition at line 84 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RCRU

#define ENC624J600_CMD_RCRU   0x20

Definition at line 86 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RGPDATA

#define ENC624J600_CMD_RGPDATA   0x28

Definition at line 92 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RGPRDPT

#define ENC624J600_CMD_RGPRDPT   0x62

Definition at line 73 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RGPWRPT

#define ENC624J600_CMD_RGPWRPT   0x6E

Definition at line 79 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RRXDATA

#define ENC624J600_CMD_RRXDATA   0x2C

Definition at line 94 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RRXRDPT

#define ENC624J600_CMD_RRXRDPT   0x66

Definition at line 75 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RRXWRPT

#define ENC624J600_CMD_RRXWRPT   0x72

Definition at line 81 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RUDADATA

#define ENC624J600_CMD_RUDADATA   0x30

Definition at line 96 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RUDARDPT

#define ENC624J600_CMD_RUDARDPT   0x6A

Definition at line 77 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RUDAWRPT

#define ENC624J600_CMD_RUDAWRPT   0x76

Definition at line 83 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETEIE

#define ENC624J600_CMD_SETEIE   0xEC

Definition at line 69 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETETHRST

#define ENC624J600_CMD_SETETHRST   0xCA

Definition at line 55 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETPKTDEC

#define ENC624J600_CMD_SETPKTDEC   0xCC

Definition at line 60 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETTXRTS

#define ENC624J600_CMD_SETTXRTS   0xD4

Definition at line 66 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WCR

#define ENC624J600_CMD_WCR   0x40

Definition at line 85 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WCRU

#define ENC624J600_CMD_WCRU   0x22

Definition at line 87 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WGPDATA

#define ENC624J600_CMD_WGPDATA   0x2A

Definition at line 93 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WGPRDPT

#define ENC624J600_CMD_WGPRDPT   0x60

Definition at line 72 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WGPWRPT

#define ENC624J600_CMD_WGPWRPT   0x6C

Definition at line 78 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WRXDATA

#define ENC624J600_CMD_WRXDATA   0x2E

Definition at line 95 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WRXRDPT

#define ENC624J600_CMD_WRXRDPT   0x64

Definition at line 74 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WRXWRPT

#define ENC624J600_CMD_WRXWRPT   0x70

Definition at line 80 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WUDADATA

#define ENC624J600_CMD_WUDADATA   0x32

Definition at line 97 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WUDARDPT

#define ENC624J600_CMD_WUDARDPT   0x68

Definition at line 76 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WUDAWRPT

#define ENC624J600_CMD_WUDAWRPT   0x74

Definition at line 82 of file enc624j600_driver.h.

◆ ENC624J600_ECON1

#define ENC624J600_ECON1   0x1E

Definition at line 115 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_AESOP0

#define ENC624J600_ECON1_AESOP0   0x0200

Definition at line 244 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_AESOP1

#define ENC624J600_ECON1_AESOP1   0x0400

Definition at line 243 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_AESST

#define ENC624J600_ECON1_AESST   0x0800

Definition at line 242 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_DMACPY

#define ENC624J600_ECON1_DMACPY   0x0010

Definition at line 249 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_DMACSSD

#define ENC624J600_ECON1_DMACSSD   0x0008

Definition at line 250 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_DMANOCS

#define ENC624J600_ECON1_DMANOCS   0x0004

Definition at line 251 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_DMAST

#define ENC624J600_ECON1_DMAST   0x0020

Definition at line 248 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_FCOP0

#define ENC624J600_ECON1_FCOP0   0x0040

Definition at line 247 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_FCOP1

#define ENC624J600_ECON1_FCOP1   0x0080

Definition at line 246 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_HASHEN

#define ENC624J600_ECON1_HASHEN   0x4000

Definition at line 239 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_HASHLST

#define ENC624J600_ECON1_HASHLST   0x1000

Definition at line 241 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_HASHOP

#define ENC624J600_ECON1_HASHOP   0x2000

Definition at line 240 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_MODEXST

#define ENC624J600_ECON1_MODEXST   0x8000

Definition at line 238 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_PKTDEC

#define ENC624J600_ECON1_PKTDEC   0x0100

Definition at line 245 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_RXEN

#define ENC624J600_ECON1_RXEN   0x0001

Definition at line 253 of file enc624j600_driver.h.

◆ ENC624J600_ECON1_TXRTS

#define ENC624J600_ECON1_TXRTS   0x0002

Definition at line 252 of file enc624j600_driver.h.

◆ ENC624J600_ECON2

#define ENC624J600_ECON2   0x6E

Definition at line 142 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_AESLEN

#define ENC624J600_ECON2_AESLEN   0x0003

Definition at line 367 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_AESLEN_128_BITS

#define ENC624J600_ECON2_AESLEN_128_BITS   0x0000

Definition at line 368 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_AESLEN_192_BITS

#define ENC624J600_ECON2_AESLEN_192_BITS   0x0001

Definition at line 369 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_AESLEN_256_BITS

#define ENC624J600_ECON2_AESLEN_256_BITS   0x0002

Definition at line 370 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_AUTOFC

#define ENC624J600_ECON2_AUTOFC   0x0080

Definition at line 359 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON

#define ENC624J600_ECON2_COCON   0x0F00

Definition at line 343 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_100_KHZ

#define ENC624J600_ECON2_COCON_100_KHZ   0x0E00

Definition at line 357 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_10_00_MHZ

#define ENC624J600_ECON2_COCON_10_00_MHZ   0x0600

Definition at line 350 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_12_50_MHZ

#define ENC624J600_ECON2_COCON_12_50_MHZ   0x0500

Definition at line 349 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_16_67_MHZ

#define ENC624J600_ECON2_COCON_16_67_MHZ   0x0400

Definition at line 348 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_20_00_MHZ

#define ENC624J600_ECON2_COCON_20_00_MHZ   0x0300

Definition at line 347 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_25_00_MHZ

#define ENC624J600_ECON2_COCON_25_00_MHZ   0x0200

Definition at line 346 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_33_33_MHZ

#define ENC624J600_ECON2_COCON_33_33_MHZ   0x0100

Definition at line 345 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_3_125_MHZ

#define ENC624J600_ECON2_COCON_3_125_MHZ   0x0C00

Definition at line 356 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_4_000_MHZ

#define ENC624J600_ECON2_COCON_4_000_MHZ   0x0B00

Definition at line 355 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_50_KHZ

#define ENC624J600_ECON2_COCON_50_KHZ   0x0F00

Definition at line 358 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_5_000_MHZ

#define ENC624J600_ECON2_COCON_5_000_MHZ   0x0A00

Definition at line 354 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_6_250_MHZ

#define ENC624J600_ECON2_COCON_6_250_MHZ   0x0900

Definition at line 353 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_8_000_MHZ

#define ENC624J600_ECON2_COCON_8_000_MHZ   0x0800

Definition at line 352 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_8_333_MHZ

#define ENC624J600_ECON2_COCON_8_333_MHZ   0x0700

Definition at line 351 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_COCON_NONE

#define ENC624J600_ECON2_COCON_NONE   0x0000

Definition at line 344 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_ETHEN

#define ENC624J600_ECON2_ETHEN   0x8000

Definition at line 339 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_ETHRST

#define ENC624J600_ECON2_ETHRST   0x0010

Definition at line 362 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_MODLEN

#define ENC624J600_ECON2_MODLEN   0x000C

Definition at line 363 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_MODLEN_1024_BITS

#define ENC624J600_ECON2_MODLEN_1024_BITS   0x0008

Definition at line 366 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_MODLEN_512_BITS

#define ENC624J600_ECON2_MODLEN_512_BITS   0x0000

Definition at line 364 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_MODLEN_768_BITS

#define ENC624J600_ECON2_MODLEN_768_BITS   0x0004

Definition at line 365 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_RXRST

#define ENC624J600_ECON2_RXRST   0x0020

Definition at line 361 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_SHA1MD5

#define ENC624J600_ECON2_SHA1MD5   0x1000

Definition at line 342 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_STRCH

#define ENC624J600_ECON2_STRCH   0x4000

Definition at line 340 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_TXMAC

#define ENC624J600_ECON2_TXMAC   0x2000

Definition at line 341 of file enc624j600_driver.h.

◆ ENC624J600_ECON2_TXRST

#define ENC624J600_ECON2_TXRST   0x0040

Definition at line 360 of file enc624j600_driver.h.

◆ ENC624J600_EDMACS

#define ENC624J600_EDMACS   0x10

Definition at line 108 of file enc624j600_driver.h.

◆ ENC624J600_EDMADST

#define ENC624J600_EDMADST   0x0E

Definition at line 107 of file enc624j600_driver.h.

◆ ENC624J600_EDMADST_VAL

#define ENC624J600_EDMADST_VAL   0x7FFF

Definition at line 188 of file enc624j600_driver.h.

◆ ENC624J600_EDMALEN

#define ENC624J600_EDMALEN   0x0C

Definition at line 106 of file enc624j600_driver.h.

◆ ENC624J600_EDMALEN_VAL

#define ENC624J600_EDMALEN_VAL   0x7FFF

Definition at line 185 of file enc624j600_driver.h.

◆ ENC624J600_EDMAST

#define ENC624J600_EDMAST   0x0A

Definition at line 105 of file enc624j600_driver.h.

◆ ENC624J600_EDMAST_VAL

#define ENC624J600_EDMAST_VAL   0x7FFF

Definition at line 182 of file enc624j600_driver.h.

◆ ENC624J600_EGPDATA

#define ENC624J600_EGPDATA   0x80

Definition at line 146 of file enc624j600_driver.h.

◆ ENC624J600_EGPDATA_R15_8

#define ENC624J600_EGPDATA_R15_8   0xFF00

Definition at line 430 of file enc624j600_driver.h.

◆ ENC624J600_EGPDATA_VAL

#define ENC624J600_EGPDATA_VAL   0x00FF

Definition at line 431 of file enc624j600_driver.h.

◆ ENC624J600_EGPRDPT

#define ENC624J600_EGPRDPT   0x86

Definition at line 149 of file enc624j600_driver.h.

◆ ENC624J600_EGPRDPT_VAL

#define ENC624J600_EGPRDPT_VAL   0x7FFF

Definition at line 442 of file enc624j600_driver.h.

◆ ENC624J600_EGPWRPT

#define ENC624J600_EGPWRPT   0x88

Definition at line 150 of file enc624j600_driver.h.

◆ ENC624J600_EGPWRPT_VAL

#define ENC624J600_EGPWRPT_VAL   0x7FFF

Definition at line 445 of file enc624j600_driver.h.

◆ ENC624J600_EHT1

#define ENC624J600_EHT1   0x20

Definition at line 116 of file enc624j600_driver.h.

◆ ENC624J600_EHT2

#define ENC624J600_EHT2   0x22

Definition at line 117 of file enc624j600_driver.h.

◆ ENC624J600_EHT3

#define ENC624J600_EHT3   0x24

Definition at line 118 of file enc624j600_driver.h.

◆ ENC624J600_EHT4

#define ENC624J600_EHT4   0x26

Definition at line 119 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED

#define ENC624J600_EIDLED   0x74

Definition at line 145 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_DEVID

#define ENC624J600_EIDLED_DEVID   0x00E0

Definition at line 425 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_DEVID_DEFAULT

#define ENC624J600_EIDLED_DEVID_DEFAULT   0x0020

Definition at line 426 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG

#define ENC624J600_EIDLED_LACFG   0xF000

Definition at line 393 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_COL

#define ENC624J600_EIDLED_LACFG_COL   0x3000

Definition at line 397 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_DUPLEX

#define ENC624J600_EIDLED_LACFG_DUPLEX   0x7000

Definition at line 401 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_LINK

#define ENC624J600_EIDLED_LACFG_LINK   0x2000

Definition at line 396 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_LINK_COL

#define ENC624J600_EIDLED_LACFG_LINK_COL   0xC000

Definition at line 406 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_LINK_DUPLEX_TX_RX

#define ENC624J600_EIDLED_LACFG_LINK_DUPLEX_TX_RX   0xE000

Definition at line 407 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_LINK_RX

#define ENC624J600_EIDLED_LACFG_LINK_RX   0xA000

Definition at line 404 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_LINK_SPEED_TX_RX

#define ENC624J600_EIDLED_LACFG_LINK_SPEED_TX_RX   0xF000

Definition at line 408 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_LINK_TX

#define ENC624J600_EIDLED_LACFG_LINK_TX   0x9000

Definition at line 403 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_LINK_TX_RX

#define ENC624J600_EIDLED_LACFG_LINK_TX_RX   0xB000

Definition at line 405 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_OFF

#define ENC624J600_EIDLED_LACFG_OFF   0x0000

Definition at line 394 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_ON

#define ENC624J600_EIDLED_LACFG_ON   0x1000

Definition at line 395 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_RX

#define ENC624J600_EIDLED_LACFG_RX   0x5000

Definition at line 399 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_SPEED

#define ENC624J600_EIDLED_LACFG_SPEED   0x8000

Definition at line 402 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_TX

#define ENC624J600_EIDLED_LACFG_TX   0x4000

Definition at line 398 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LACFG_TX_RX

#define ENC624J600_EIDLED_LACFG_TX_RX   0x6000

Definition at line 400 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG

#define ENC624J600_EIDLED_LBCFG   0x0F00

Definition at line 409 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_COL

#define ENC624J600_EIDLED_LBCFG_COL   0x0300

Definition at line 413 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_DUPLEX

#define ENC624J600_EIDLED_LBCFG_DUPLEX   0x0700

Definition at line 417 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_LINK

#define ENC624J600_EIDLED_LBCFG_LINK   0x0200

Definition at line 412 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_LINK_COL

#define ENC624J600_EIDLED_LBCFG_LINK_COL   0x0C00

Definition at line 422 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_LINK_DUPLEX_TX_RX

#define ENC624J600_EIDLED_LBCFG_LINK_DUPLEX_TX_RX   0x0E00

Definition at line 423 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_LINK_RX

#define ENC624J600_EIDLED_LBCFG_LINK_RX   0x0A00

Definition at line 420 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_LINK_SPEED_TX_RX

#define ENC624J600_EIDLED_LBCFG_LINK_SPEED_TX_RX   0x0F00

Definition at line 424 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_LINK_TX

#define ENC624J600_EIDLED_LBCFG_LINK_TX   0x0900

Definition at line 419 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_LINK_TX_RX

#define ENC624J600_EIDLED_LBCFG_LINK_TX_RX   0x0B00

Definition at line 421 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_OFF

#define ENC624J600_EIDLED_LBCFG_OFF   0x0000

Definition at line 410 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_ON

#define ENC624J600_EIDLED_LBCFG_ON   0x0100

Definition at line 411 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_RX

#define ENC624J600_EIDLED_LBCFG_RX   0x0500

Definition at line 415 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_SPEED

#define ENC624J600_EIDLED_LBCFG_SPEED   0x0800

Definition at line 418 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_TX

#define ENC624J600_EIDLED_LBCFG_TX   0x0400

Definition at line 414 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_LBCFG_TX_RX

#define ENC624J600_EIDLED_LBCFG_TX_RX   0x0600

Definition at line 416 of file enc624j600_driver.h.

◆ ENC624J600_EIDLED_REVID

#define ENC624J600_EIDLED_REVID   0x001F

Definition at line 427 of file enc624j600_driver.h.

◆ ENC624J600_EIE

#define ENC624J600_EIE   0x72

Definition at line 144 of file enc624j600_driver.h.

◆ ENC624J600_EIE_AESIE

#define ENC624J600_EIE_AESIE   0x1000

Definition at line 380 of file enc624j600_driver.h.

◆ ENC624J600_EIE_DMAIE

#define ENC624J600_EIE_DMAIE   0x0020

Definition at line 384 of file enc624j600_driver.h.

◆ ENC624J600_EIE_HASHIE

#define ENC624J600_EIE_HASHIE   0x2000

Definition at line 379 of file enc624j600_driver.h.

◆ ENC624J600_EIE_INTIE

#define ENC624J600_EIE_INTIE   0x8000

Definition at line 377 of file enc624j600_driver.h.

◆ ENC624J600_EIE_LINKIE

#define ENC624J600_EIE_LINKIE   0x0800

Definition at line 381 of file enc624j600_driver.h.

◆ ENC624J600_EIE_MODEXIE

#define ENC624J600_EIE_MODEXIE   0x4000

Definition at line 378 of file enc624j600_driver.h.

◆ ENC624J600_EIE_PCFULIE

#define ENC624J600_EIE_PCFULIE   0x0001

Definition at line 390 of file enc624j600_driver.h.

◆ ENC624J600_EIE_PKTIE

#define ENC624J600_EIE_PKTIE   0x0040

Definition at line 383 of file enc624j600_driver.h.

◆ ENC624J600_EIE_R10_7

#define ENC624J600_EIE_R10_7   0x0780

Definition at line 382 of file enc624j600_driver.h.

◆ ENC624J600_EIE_R4

#define ENC624J600_EIE_R4   0x0010

Definition at line 385 of file enc624j600_driver.h.

◆ ENC624J600_EIE_R4_DEFAULT

#define ENC624J600_EIE_R4_DEFAULT   0x0010

Definition at line 386 of file enc624j600_driver.h.

◆ ENC624J600_EIE_RXABTIE

#define ENC624J600_EIE_RXABTIE   0x0002

Definition at line 389 of file enc624j600_driver.h.

◆ ENC624J600_EIE_TXABTIE

#define ENC624J600_EIE_TXABTIE   0x0004

Definition at line 388 of file enc624j600_driver.h.

◆ ENC624J600_EIE_TXIE

#define ENC624J600_EIE_TXIE   0x0008

Definition at line 387 of file enc624j600_driver.h.

◆ ENC624J600_EIR

#define ENC624J600_EIR   0x1C

Definition at line 114 of file enc624j600_driver.h.

◆ ENC624J600_EIR_AESIF

#define ENC624J600_EIR_AESIF   0x1000

Definition at line 223 of file enc624j600_driver.h.

◆ ENC624J600_EIR_CRYPTEN

#define ENC624J600_EIR_CRYPTEN   0x8000

Definition at line 220 of file enc624j600_driver.h.

◆ ENC624J600_EIR_DMAIF

#define ENC624J600_EIR_DMAIF   0x0020

Definition at line 230 of file enc624j600_driver.h.

◆ ENC624J600_EIR_HASHIF

#define ENC624J600_EIR_HASHIF   0x2000

Definition at line 222 of file enc624j600_driver.h.

◆ ENC624J600_EIR_LINKIF

#define ENC624J600_EIR_LINKIF   0x0800

Definition at line 224 of file enc624j600_driver.h.

◆ ENC624J600_EIR_MODEXIF

#define ENC624J600_EIR_MODEXIF   0x4000

Definition at line 221 of file enc624j600_driver.h.

◆ ENC624J600_EIR_PCFULIF

#define ENC624J600_EIR_PCFULIF   0x0001

Definition at line 235 of file enc624j600_driver.h.

◆ ENC624J600_EIR_PKTIF

#define ENC624J600_EIR_PKTIF   0x0040

Definition at line 229 of file enc624j600_driver.h.

◆ ENC624J600_EIR_R10

#define ENC624J600_EIR_R10   0x0400

Definition at line 225 of file enc624j600_driver.h.

◆ ENC624J600_EIR_R4

#define ENC624J600_EIR_R4   0x0010

Definition at line 231 of file enc624j600_driver.h.

◆ ENC624J600_EIR_R7

#define ENC624J600_EIR_R7   0x0080

Definition at line 228 of file enc624j600_driver.h.

◆ ENC624J600_EIR_R8

#define ENC624J600_EIR_R8   0x0100

Definition at line 227 of file enc624j600_driver.h.

◆ ENC624J600_EIR_R9

#define ENC624J600_EIR_R9   0x0200

Definition at line 226 of file enc624j600_driver.h.

◆ ENC624J600_EIR_RXABTIF

#define ENC624J600_EIR_RXABTIF   0x0002

Definition at line 234 of file enc624j600_driver.h.

◆ ENC624J600_EIR_TXABTIF

#define ENC624J600_EIR_TXABTIF   0x0004

Definition at line 233 of file enc624j600_driver.h.

◆ ENC624J600_EIR_TXIF

#define ENC624J600_EIR_TXIF   0x0008

Definition at line 232 of file enc624j600_driver.h.

◆ ENC624J600_EPAUS

#define ENC624J600_EPAUS   0x6C

Definition at line 141 of file enc624j600_driver.h.

◆ ENC624J600_EPMCS

#define ENC624J600_EPMCS   0x30

Definition at line 124 of file enc624j600_driver.h.

◆ ENC624J600_EPMM1

#define ENC624J600_EPMM1   0x28

Definition at line 120 of file enc624j600_driver.h.

◆ ENC624J600_EPMM2

#define ENC624J600_EPMM2   0x2A

Definition at line 121 of file enc624j600_driver.h.

◆ ENC624J600_EPMM3

#define ENC624J600_EPMM3   0x2C

Definition at line 122 of file enc624j600_driver.h.

◆ ENC624J600_EPMM4

#define ENC624J600_EPMM4   0x2E

Definition at line 123 of file enc624j600_driver.h.

◆ ENC624J600_EPMO

#define ENC624J600_EPMO   0x32

Definition at line 125 of file enc624j600_driver.h.

◆ ENC624J600_ERXDATA

#define ENC624J600_ERXDATA   0x82

Definition at line 147 of file enc624j600_driver.h.

◆ ENC624J600_ERXDATA_R15_8

#define ENC624J600_ERXDATA_R15_8   0xFF00

Definition at line 434 of file enc624j600_driver.h.

◆ ENC624J600_ERXDATA_VAL

#define ENC624J600_ERXDATA_VAL   0x00FF

Definition at line 435 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON

#define ENC624J600_ERXFCON   0x34

Definition at line 126 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_BCEN

#define ENC624J600_ERXFCON_BCEN   0x0001

Definition at line 277 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_CRCEEN

#define ENC624J600_ERXFCON_CRCEEN   0x0080

Definition at line 270 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_CRCEN

#define ENC624J600_ERXFCON_CRCEN   0x0040

Definition at line 271 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_HTEN

#define ENC624J600_ERXFCON_HTEN   0x8000

Definition at line 256 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_MCEN

#define ENC624J600_ERXFCON_MCEN   0x0002

Definition at line 276 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_MPEN

#define ENC624J600_ERXFCON_MPEN   0x4000

Definition at line 257 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_NOTMEEN

#define ENC624J600_ERXFCON_NOTMEEN   0x0004

Definition at line 275 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_NOTPM

#define ENC624J600_ERXFCON_NOTPM   0x1000

Definition at line 258 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN

#define ENC624J600_ERXFCON_PMEN   0x0F00

Definition at line 259 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_BROADCAST

#define ENC624J600_ERXFCON_PMEN_BROADCAST   0x0600

Definition at line 266 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_CHECKSUM

#define ENC624J600_ERXFCON_PMEN_CHECKSUM   0x0100

Definition at line 261 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_DISABLED

#define ENC624J600_ERXFCON_PMEN_DISABLED   0x0000

Definition at line 260 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_HASH

#define ENC624J600_ERXFCON_PMEN_HASH   0x0800

Definition at line 268 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_MAGIC_PKT

#define ENC624J600_ERXFCON_PMEN_MAGIC_PKT   0x0900

Definition at line 269 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_MULTICAST

#define ENC624J600_ERXFCON_PMEN_MULTICAST   0x0400

Definition at line 264 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_NOT_BROADCAST

#define ENC624J600_ERXFCON_PMEN_NOT_BROADCAST   0x0700

Definition at line 267 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_NOT_MULTICAST

#define ENC624J600_ERXFCON_PMEN_NOT_MULTICAST   0x0500

Definition at line 265 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_NOT_UNICAST

#define ENC624J600_ERXFCON_PMEN_NOT_UNICAST   0x0300

Definition at line 263 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_PMEN_UNICAST

#define ENC624J600_ERXFCON_PMEN_UNICAST   0x0200

Definition at line 262 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_RUNTEEN

#define ENC624J600_ERXFCON_RUNTEEN   0x0020

Definition at line 272 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_RUNTEN

#define ENC624J600_ERXFCON_RUNTEN   0x0010

Definition at line 273 of file enc624j600_driver.h.

◆ ENC624J600_ERXFCON_UCEN

#define ENC624J600_ERXFCON_UCEN   0x0008

Definition at line 274 of file enc624j600_driver.h.

◆ ENC624J600_ERXHEAD

#define ENC624J600_ERXHEAD   0x08

Definition at line 104 of file enc624j600_driver.h.

◆ ENC624J600_ERXHEAD_VAL

#define ENC624J600_ERXHEAD_VAL   0x7FFF

Definition at line 179 of file enc624j600_driver.h.

◆ ENC624J600_ERXRDPT

#define ENC624J600_ERXRDPT   0x8A

Definition at line 151 of file enc624j600_driver.h.

◆ ENC624J600_ERXRDPT_VAL

#define ENC624J600_ERXRDPT_VAL   0x7FFF

Definition at line 448 of file enc624j600_driver.h.

◆ ENC624J600_ERXST

#define ENC624J600_ERXST   0x04

Definition at line 102 of file enc624j600_driver.h.

◆ ENC624J600_ERXST_VAL

#define ENC624J600_ERXST_VAL   0x7FFF

Definition at line 173 of file enc624j600_driver.h.

◆ ENC624J600_ERXTAIL

#define ENC624J600_ERXTAIL   0x06

Definition at line 103 of file enc624j600_driver.h.

◆ ENC624J600_ERXTAIL_VAL

#define ENC624J600_ERXTAIL_VAL   0x7FFF

Definition at line 176 of file enc624j600_driver.h.

◆ ENC624J600_ERXWM

#define ENC624J600_ERXWM   0x70

Definition at line 143 of file enc624j600_driver.h.

◆ ENC624J600_ERXWM_RXEWM

#define ENC624J600_ERXWM_RXEWM   0x00FF

Definition at line 374 of file enc624j600_driver.h.

◆ ENC624J600_ERXWM_RXFWM

#define ENC624J600_ERXWM_RXFWM   0xFF00

Definition at line 373 of file enc624j600_driver.h.

◆ ENC624J600_ERXWRPT

#define ENC624J600_ERXWRPT   0x8C

Definition at line 152 of file enc624j600_driver.h.

◆ ENC624J600_ERXWRPT_VAL

#define ENC624J600_ERXWRPT_VAL   0x7FFF

Definition at line 451 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT

#define ENC624J600_ESTAT   0x1A

Definition at line 113 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_CLKRDY

#define ENC624J600_ESTAT_CLKRDY   0x1000

Definition at line 212 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_FCIDLE

#define ENC624J600_ESTAT_FCIDLE   0x4000

Definition at line 210 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_INT

#define ENC624J600_ESTAT_INT   0x8000

Definition at line 209 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_PHYDPX

#define ENC624J600_ESTAT_PHYDPX   0x0400

Definition at line 214 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_PHYLNK

#define ENC624J600_ESTAT_PHYLNK   0x0100

Definition at line 216 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_PKTCNT

#define ENC624J600_ESTAT_PKTCNT   0x00FF

Definition at line 217 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_R11

#define ENC624J600_ESTAT_R11   0x0800

Definition at line 213 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_R9

#define ENC624J600_ESTAT_R9   0x0200

Definition at line 215 of file enc624j600_driver.h.

◆ ENC624J600_ESTAT_RXBUSY

#define ENC624J600_ESTAT_RXBUSY   0x2000

Definition at line 211 of file enc624j600_driver.h.

◆ ENC624J600_ETH_RX_BUFFER_SIZE

#define ENC624J600_ETH_RX_BUFFER_SIZE   1536

Definition at line 39 of file enc624j600_driver.h.

◆ ENC624J600_ETXLEN

#define ENC624J600_ETXLEN   0x02

Definition at line 101 of file enc624j600_driver.h.

◆ ENC624J600_ETXLEN_VAL

#define ENC624J600_ETXLEN_VAL   0x7FFF

Definition at line 170 of file enc624j600_driver.h.

◆ ENC624J600_ETXST

#define ENC624J600_ETXST   0x00

Definition at line 100 of file enc624j600_driver.h.

◆ ENC624J600_ETXST_VAL

#define ENC624J600_ETXST_VAL   0x7FFF

Definition at line 167 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT

#define ENC624J600_ETXSTAT   0x12

Definition at line 109 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_COLCNT

#define ENC624J600_ETXSTAT_COLCNT   0x000F

Definition at line 200 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_CRCBAD

#define ENC624J600_ETXSTAT_CRCBAD   0x0010

Definition at line 199 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_DEFER

#define ENC624J600_ETXSTAT_DEFER   0x0080

Definition at line 196 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_EXDEFER

#define ENC624J600_ETXSTAT_EXDEFER   0x0100

Definition at line 195 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_LATECOL

#define ENC624J600_ETXSTAT_LATECOL   0x0400

Definition at line 193 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_MAXCOL

#define ENC624J600_ETXSTAT_MAXCOL   0x0200

Definition at line 194 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_R11

#define ENC624J600_ETXSTAT_R11   0x0800

Definition at line 192 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_R12

#define ENC624J600_ETXSTAT_R12   0x1000

Definition at line 191 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_R5

#define ENC624J600_ETXSTAT_R5   0x0020

Definition at line 198 of file enc624j600_driver.h.

◆ ENC624J600_ETXSTAT_R6

#define ENC624J600_ETXSTAT_R6   0x0040

Definition at line 197 of file enc624j600_driver.h.

◆ ENC624J600_ETXWIRE

#define ENC624J600_ETXWIRE   0x14

Definition at line 110 of file enc624j600_driver.h.

◆ ENC624J600_EUDADATA

#define ENC624J600_EUDADATA   0x84

Definition at line 148 of file enc624j600_driver.h.

◆ ENC624J600_EUDADATA_R15_8

#define ENC624J600_EUDADATA_R15_8   0xFF00

Definition at line 438 of file enc624j600_driver.h.

◆ ENC624J600_EUDADATA_VAL

#define ENC624J600_EUDADATA_VAL   0x00FF

Definition at line 439 of file enc624j600_driver.h.

◆ ENC624J600_EUDAND

#define ENC624J600_EUDAND   0x18

Definition at line 112 of file enc624j600_driver.h.

◆ ENC624J600_EUDAND_VAL

#define ENC624J600_EUDAND_VAL   0x7FFF

Definition at line 206 of file enc624j600_driver.h.

◆ ENC624J600_EUDARDPT

#define ENC624J600_EUDARDPT   0x8E

Definition at line 153 of file enc624j600_driver.h.

◆ ENC624J600_EUDARDPT_VAL

#define ENC624J600_EUDARDPT_VAL   0x7FFF

Definition at line 454 of file enc624j600_driver.h.

◆ ENC624J600_EUDAST

#define ENC624J600_EUDAST   0x16

Definition at line 111 of file enc624j600_driver.h.

◆ ENC624J600_EUDAST_VAL

#define ENC624J600_EUDAST_VAL   0x7FFF

Definition at line 203 of file enc624j600_driver.h.

◆ ENC624J600_EUDAWRPT

#define ENC624J600_EUDAWRPT   0x90

Definition at line 154 of file enc624j600_driver.h.

◆ ENC624J600_EUDAWRPT_VAL

#define ENC624J600_EUDAWRPT_VAL   0x7FFF

Definition at line 457 of file enc624j600_driver.h.

◆ ENC624J600_MAADR1

#define ENC624J600_MAADR1   0x64

Definition at line 137 of file enc624j600_driver.h.

◆ ENC624J600_MAADR2

#define ENC624J600_MAADR2   0x62

Definition at line 136 of file enc624j600_driver.h.

◆ ENC624J600_MAADR3

#define ENC624J600_MAADR3   0x60

Definition at line 135 of file enc624j600_driver.h.

◆ ENC624J600_MABBIPG

#define ENC624J600_MABBIPG   0x44

Definition at line 129 of file enc624j600_driver.h.

◆ ENC624J600_MABBIPG_BBIPG

#define ENC624J600_MABBIPG_BBIPG   0x007F

Definition at line 308 of file enc624j600_driver.h.

◆ ENC624J600_MABBIPG_BBIPG_DEFAULT_FD

#define ENC624J600_MABBIPG_BBIPG_DEFAULT_FD   0x0015

Definition at line 310 of file enc624j600_driver.h.

◆ ENC624J600_MABBIPG_BBIPG_DEFAULT_HD

#define ENC624J600_MABBIPG_BBIPG_DEFAULT_HD   0x0012

Definition at line 309 of file enc624j600_driver.h.

◆ ENC624J600_MACLCON

#define ENC624J600_MACLCON   0x48

Definition at line 131 of file enc624j600_driver.h.

◆ ENC624J600_MACLCON_MAXRET

#define ENC624J600_MACLCON_MAXRET   0x000F

Definition at line 321 of file enc624j600_driver.h.

◆ ENC624J600_MACLCON_R13_8

#define ENC624J600_MACLCON_R13_8   0x3F00

Definition at line 319 of file enc624j600_driver.h.

◆ ENC624J600_MACLCON_R13_8_DEFAULT

#define ENC624J600_MACLCON_R13_8_DEFAULT   0x3700

Definition at line 320 of file enc624j600_driver.h.

◆ ENC624J600_MACON1

#define ENC624J600_MACON1   0x40

Definition at line 127 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_LOOPBK

#define ENC624J600_MACON1_LOOPBK   0x0010

Definition at line 282 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_PASSALL

#define ENC624J600_MACON1_PASSALL   0x0002

Definition at line 286 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_R0

#define ENC624J600_MACON1_R0   0x0001

Definition at line 287 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_R0_DEFAULT

#define ENC624J600_MACON1_R0_DEFAULT   0x0001

Definition at line 288 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_R11_8

#define ENC624J600_MACON1_R11_8   0x0F00

Definition at line 281 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_R15_14

#define ENC624J600_MACON1_R15_14   0xC000

Definition at line 280 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_R3

#define ENC624J600_MACON1_R3   0x0008

Definition at line 283 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_R3_DEFAULT

#define ENC624J600_MACON1_R3_DEFAULT   0x0008

Definition at line 284 of file enc624j600_driver.h.

◆ ENC624J600_MACON1_RXPAUS

#define ENC624J600_MACON1_RXPAUS   0x0004

Definition at line 285 of file enc624j600_driver.h.

◆ ENC624J600_MACON2

#define ENC624J600_MACON2   0x42

Definition at line 128 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_BPEN

#define ENC624J600_MACON2_BPEN   0x2000

Definition at line 292 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_DEFER

#define ENC624J600_MACON2_DEFER   0x4000

Definition at line 291 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_FULDPX

#define ENC624J600_MACON2_FULDPX   0x0001

Definition at line 305 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_HFRMEN

#define ENC624J600_MACON2_HFRMEN   0x0004

Definition at line 302 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_NOBKOFF

#define ENC624J600_MACON2_NOBKOFF   0x1000

Definition at line 293 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_PADCFG

#define ENC624J600_MACON2_PADCFG   0x00E0

Definition at line 295 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_PADCFG_60_BYTES

#define ENC624J600_MACON2_PADCFG_60_BYTES   0x0020

Definition at line 297 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_PADCFG_64_BYTES

#define ENC624J600_MACON2_PADCFG_64_BYTES   0x0060

Definition at line 298 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_PADCFG_AUTO

#define ENC624J600_MACON2_PADCFG_AUTO   0x00A0

Definition at line 299 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_PADCFG_NO

#define ENC624J600_MACON2_PADCFG_NO   0x0000

Definition at line 296 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_PHDREN

#define ENC624J600_MACON2_PHDREN   0x0008

Definition at line 301 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_R1

#define ENC624J600_MACON2_R1   0x0002

Definition at line 303 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_R1_DEFAULT

#define ENC624J600_MACON2_R1_DEFAULT   0x0002

Definition at line 304 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_R9_8

#define ENC624J600_MACON2_R9_8   0x0300

Definition at line 294 of file enc624j600_driver.h.

◆ ENC624J600_MACON2_TXCRCEN

#define ENC624J600_MACON2_TXCRCEN   0x0010

Definition at line 300 of file enc624j600_driver.h.

◆ ENC624J600_MAIPG

#define ENC624J600_MAIPG   0x46

Definition at line 130 of file enc624j600_driver.h.

◆ ENC624J600_MAIPG_IPG

#define ENC624J600_MAIPG_IPG   0x007F

Definition at line 315 of file enc624j600_driver.h.

◆ ENC624J600_MAIPG_IPG_DEFAULT

#define ENC624J600_MAIPG_IPG_DEFAULT   0x0012

Definition at line 316 of file enc624j600_driver.h.

◆ ENC624J600_MAIPG_R14_8

#define ENC624J600_MAIPG_R14_8   0x7F00

Definition at line 313 of file enc624j600_driver.h.

◆ ENC624J600_MAIPG_R14_8_DEFAULT

#define ENC624J600_MAIPG_R14_8_DEFAULT   0x0C00

Definition at line 314 of file enc624j600_driver.h.

◆ ENC624J600_MAMXFL

#define ENC624J600_MAMXFL   0x4A

Definition at line 132 of file enc624j600_driver.h.

◆ ENC624J600_MICMD

#define ENC624J600_MICMD   0x52

Definition at line 133 of file enc624j600_driver.h.

◆ ENC624J600_MICMD_MIIRD

#define ENC624J600_MICMD_MIIRD   0x0001

Definition at line 325 of file enc624j600_driver.h.

◆ ENC624J600_MICMD_MIISCAN

#define ENC624J600_MICMD_MIISCAN   0x0002

Definition at line 324 of file enc624j600_driver.h.

◆ ENC624J600_MIRD

#define ENC624J600_MIRD   0x68

Definition at line 139 of file enc624j600_driver.h.

◆ ENC624J600_MIREGADR

#define ENC624J600_MIREGADR   0x54

Definition at line 134 of file enc624j600_driver.h.

◆ ENC624J600_MIREGADR_PHREG

#define ENC624J600_MIREGADR_PHREG   0x001F

Definition at line 330 of file enc624j600_driver.h.

◆ ENC624J600_MIREGADR_R12_8

#define ENC624J600_MIREGADR_R12_8   0x1F00

Definition at line 328 of file enc624j600_driver.h.

◆ ENC624J600_MIREGADR_R12_8_DEFAULT

#define ENC624J600_MIREGADR_R12_8_DEFAULT   0x0100

Definition at line 329 of file enc624j600_driver.h.

◆ ENC624J600_MISTAT

#define ENC624J600_MISTAT   0x6A

Definition at line 140 of file enc624j600_driver.h.

◆ ENC624J600_MISTAT_BUSY

#define ENC624J600_MISTAT_BUSY   0x0001

Definition at line 336 of file enc624j600_driver.h.

◆ ENC624J600_MISTAT_NVALID

#define ENC624J600_MISTAT_NVALID   0x0004

Definition at line 334 of file enc624j600_driver.h.

◆ ENC624J600_MISTAT_R3

#define ENC624J600_MISTAT_R3   0x0008

Definition at line 333 of file enc624j600_driver.h.

◆ ENC624J600_MISTAT_SCAN

#define ENC624J600_MISTAT_SCAN   0x0002

Definition at line 335 of file enc624j600_driver.h.

◆ ENC624J600_MIWR

#define ENC624J600_MIWR   0x66

Definition at line 138 of file enc624j600_driver.h.

◆ ENC624J600_PHANA

#define ENC624J600_PHANA   0x04

Definition at line 159 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_AD10

#define ENC624J600_PHANA_AD10   0x0020

Definition at line 487 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_AD100

#define ENC624J600_PHANA_AD100   0x0080

Definition at line 485 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_AD100FD

#define ENC624J600_PHANA_AD100FD   0x0100

Definition at line 484 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_AD10FD

#define ENC624J600_PHANA_AD10FD   0x0040

Definition at line 486 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_ADFAULT

#define ENC624J600_PHANA_ADFAULT   0x2000

Definition at line 481 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_ADIEEE

#define ENC624J600_PHANA_ADIEEE   0x001F

Definition at line 488 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_ADIEEE_DEFAULT

#define ENC624J600_PHANA_ADIEEE_DEFAULT   0x0001

Definition at line 489 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_ADNP

#define ENC624J600_PHANA_ADNP   0x8000

Definition at line 480 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_ADPAUS0

#define ENC624J600_PHANA_ADPAUS0   0x0400

Definition at line 483 of file enc624j600_driver.h.

◆ ENC624J600_PHANA_ADPAUS1

#define ENC624J600_PHANA_ADPAUS1   0x0800

Definition at line 482 of file enc624j600_driver.h.

◆ ENC624J600_PHANE

#define ENC624J600_PHANE   0x06

Definition at line 161 of file enc624j600_driver.h.

◆ ENC624J600_PHANE_LPANABL

#define ENC624J600_PHANE_LPANABL   0x0001

Definition at line 507 of file enc624j600_driver.h.

◆ ENC624J600_PHANE_LPARCD

#define ENC624J600_PHANE_LPARCD   0x0002

Definition at line 506 of file enc624j600_driver.h.

◆ ENC624J600_PHANE_PDFLT

#define ENC624J600_PHANE_PDFLT   0x0010

Definition at line 505 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA

#define ENC624J600_PHANLPA   0x05

Definition at line 160 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LP10

#define ENC624J600_PHANLPA_LP10   0x0020

Definition at line 501 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LP100

#define ENC624J600_PHANLPA_LP100   0x0080

Definition at line 499 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LP100FD

#define ENC624J600_PHANLPA_LP100FD   0x0100

Definition at line 498 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LP100T4

#define ENC624J600_PHANLPA_LP100T4   0x0200

Definition at line 497 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LP10FD

#define ENC624J600_PHANLPA_LP10FD   0x0040

Definition at line 500 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LPACK

#define ENC624J600_PHANLPA_LPACK   0x4000

Definition at line 493 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LPFAULT

#define ENC624J600_PHANLPA_LPFAULT   0x2000

Definition at line 494 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LPIEEE

#define ENC624J600_PHANLPA_LPIEEE   0x001F

Definition at line 502 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LPNP

#define ENC624J600_PHANLPA_LPNP   0x8000

Definition at line 492 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LPPAUS0

#define ENC624J600_PHANLPA_LPPAUS0   0x0400

Definition at line 496 of file enc624j600_driver.h.

◆ ENC624J600_PHANLPA_LPPAUS1

#define ENC624J600_PHANLPA_LPPAUS1   0x0800

Definition at line 495 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1

#define ENC624J600_PHCON1   0x00

Definition at line 157 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1_ANEN

#define ENC624J600_PHCON1_ANEN   0x1000

Definition at line 463 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1_PFULDPX

#define ENC624J600_PHCON1_PFULDPX   0x0100

Definition at line 466 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1_PLOOPBK

#define ENC624J600_PHCON1_PLOOPBK   0x4000

Definition at line 461 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1_PRST

#define ENC624J600_PHCON1_PRST   0x8000

Definition at line 460 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1_PSLEEP

#define ENC624J600_PHCON1_PSLEEP   0x0800

Definition at line 464 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1_RENEG

#define ENC624J600_PHCON1_RENEG   0x0200

Definition at line 465 of file enc624j600_driver.h.

◆ ENC624J600_PHCON1_SPD100

#define ENC624J600_PHCON1_SPD100   0x2000

Definition at line 462 of file enc624j600_driver.h.

◆ ENC624J600_PHCON2

#define ENC624J600_PHCON2   0x11

Definition at line 162 of file enc624j600_driver.h.

◆ ENC624J600_PHCON2_EDPWRDN

#define ENC624J600_PHCON2_EDPWRDN   0x2000

Definition at line 510 of file enc624j600_driver.h.

◆ ENC624J600_PHCON2_EDSTAT

#define ENC624J600_PHCON2_EDSTAT   0x0002

Definition at line 513 of file enc624j600_driver.h.

◆ ENC624J600_PHCON2_EDTHRES

#define ENC624J600_PHCON2_EDTHRES   0x0800

Definition at line 511 of file enc624j600_driver.h.

◆ ENC624J600_PHCON2_FRCLNK

#define ENC624J600_PHCON2_FRCLNK   0x0004

Definition at line 512 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1

#define ENC624J600_PHSTAT1   0x01

Definition at line 158 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_ANABLE

#define ENC624J600_PHSTAT1_ANABLE   0x0008

Definition at line 475 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_ANDONE

#define ENC624J600_PHSTAT1_ANDONE   0x0020

Definition at line 473 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_EXTREGS

#define ENC624J600_PHSTAT1_EXTREGS   0x0001

Definition at line 477 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_FULL10

#define ENC624J600_PHSTAT1_FULL10   0x1000

Definition at line 471 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_FULL100

#define ENC624J600_PHSTAT1_FULL100   0x4000

Definition at line 469 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_HALF10

#define ENC624J600_PHSTAT1_HALF10   0x0800

Definition at line 472 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_HALF100

#define ENC624J600_PHSTAT1_HALF100   0x2000

Definition at line 470 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_LLSTAT

#define ENC624J600_PHSTAT1_LLSTAT   0x0004

Definition at line 476 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT1_LRFAULT

#define ENC624J600_PHSTAT1_LRFAULT   0x0010

Definition at line 474 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT2

#define ENC624J600_PHSTAT2   0x1B

Definition at line 163 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT2_PLRITY

#define ENC624J600_PHSTAT2_PLRITY   0x0010

Definition at line 516 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT3

#define ENC624J600_PHSTAT3   0x1F

Definition at line 164 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT3_R6

#define ENC624J600_PHSTAT3_R6   0x0040

Definition at line 519 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT3_R6_DEFAULT

#define ENC624J600_PHSTAT3_R6_DEFAULT   0x0040

Definition at line 520 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT3_SPDDPX0

#define ENC624J600_PHSTAT3_SPDDPX0   0x0004

Definition at line 523 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT3_SPDDPX1

#define ENC624J600_PHSTAT3_SPDDPX1   0x0008

Definition at line 522 of file enc624j600_driver.h.

◆ ENC624J600_PHSTAT3_SPDDPX2

#define ENC624J600_PHSTAT3_SPDDPX2   0x0010

Definition at line 521 of file enc624j600_driver.h.

◆ ENC624J600_RSV_BROADCAST_PACKET

#define ENC624J600_RSV_BROADCAST_PACKET   0x00000200

Definition at line 537 of file enc624j600_driver.h.

◆ ENC624J600_RSV_CARRIER_EVENT

#define ENC624J600_RSV_CARRIER_EVENT   0x00000004

Definition at line 543 of file enc624j600_driver.h.

◆ ENC624J600_RSV_CONTROL_FRAME

#define ENC624J600_RSV_CONTROL_FRAME   0x00000800

Definition at line 535 of file enc624j600_driver.h.

◆ ENC624J600_RSV_CRC_ERROR

#define ENC624J600_RSV_CRC_ERROR   0x00000010

Definition at line 542 of file enc624j600_driver.h.

◆ ENC624J600_RSV_DRIBBLE_NIBBLE

#define ENC624J600_RSV_DRIBBLE_NIBBLE   0x00000400

Definition at line 536 of file enc624j600_driver.h.

◆ ENC624J600_RSV_HASH_FILTER

#define ENC624J600_RSV_HASH_FILTER   0x00020000

Definition at line 529 of file enc624j600_driver.h.

◆ ENC624J600_RSV_LENGTH_CHECK_ERROR

#define ENC624J600_RSV_LENGTH_CHECK_ERROR   0x00000020

Definition at line 541 of file enc624j600_driver.h.

◆ ENC624J600_RSV_LENGTH_OUT_OF_RANGE

#define ENC624J600_RSV_LENGTH_OUT_OF_RANGE   0x00000040

Definition at line 540 of file enc624j600_driver.h.

◆ ENC624J600_RSV_MAGIC_PACKET_FILTER

#define ENC624J600_RSV_MAGIC_PACKET_FILTER   0x00040000

Definition at line 528 of file enc624j600_driver.h.

◆ ENC624J600_RSV_MULTICAST_PACKET

#define ENC624J600_RSV_MULTICAST_PACKET   0x00000100

Definition at line 538 of file enc624j600_driver.h.

◆ ENC624J600_RSV_NOT_ME_FILTER

#define ENC624J600_RSV_NOT_ME_FILTER   0x00010000

Definition at line 530 of file enc624j600_driver.h.

◆ ENC624J600_RSV_PACKET_IGNORED

#define ENC624J600_RSV_PACKET_IGNORED   0x00000001

Definition at line 544 of file enc624j600_driver.h.

◆ ENC624J600_RSV_PATTERN_MATCH_FILTER

#define ENC624J600_RSV_PATTERN_MATCH_FILTER   0x00080000

Definition at line 527 of file enc624j600_driver.h.

◆ ENC624J600_RSV_PAUSE_CONTROL_FRAME

#define ENC624J600_RSV_PAUSE_CONTROL_FRAME   0x00001000

Definition at line 534 of file enc624j600_driver.h.

◆ ENC624J600_RSV_RECEIVED_OK

#define ENC624J600_RSV_RECEIVED_OK   0x00000080

Definition at line 539 of file enc624j600_driver.h.

◆ ENC624J600_RSV_RUNT_FILTER

#define ENC624J600_RSV_RUNT_FILTER   0x00008000

Definition at line 531 of file enc624j600_driver.h.

◆ ENC624J600_RSV_UNICAST_FILTER

#define ENC624J600_RSV_UNICAST_FILTER   0x00100000

Definition at line 526 of file enc624j600_driver.h.

◆ ENC624J600_RSV_UNKNOWN_OPCODE

#define ENC624J600_RSV_UNKNOWN_OPCODE   0x00002000

Definition at line 533 of file enc624j600_driver.h.

◆ ENC624J600_RSV_VLAN_TYPE

#define ENC624J600_RSV_VLAN_TYPE   0x00004000

Definition at line 532 of file enc624j600_driver.h.

◆ ENC624J600_RX_BUFFER_START

#define ENC624J600_RX_BUFFER_START   0x1800

Definition at line 47 of file enc624j600_driver.h.

◆ ENC624J600_RX_BUFFER_STOP

#define ENC624J600_RX_BUFFER_STOP   0x5FFE

Definition at line 48 of file enc624j600_driver.h.

◆ ENC624J600_TX_BUFFER_START

#define ENC624J600_TX_BUFFER_START   0x0000

Definition at line 45 of file enc624j600_driver.h.

◆ ENC624J600_TX_BUFFER_STOP

#define ENC624J600_TX_BUFFER_STOP   0x17FE

Definition at line 46 of file enc624j600_driver.h.

Function Documentation

◆ enc624j600CalcCrc()

uint32_t enc624j600CalcCrc ( const void *  data,
size_t  length 
)

CRC calculation using the polynomial 0x4C11DB7.

Parameters
[in]dataPointer to the data over which to calculate the CRC
[in]lengthNumber of bytes to process
Returns
Resulting CRC value

Definition at line 947 of file enc624j600_driver.c.

◆ enc624j600ClearBit()

void enc624j600ClearBit ( NetInterface interface,
uint8_t  address,
uint16_t  mask 
)

Clear bit field.

Parameters
[in]interfaceUnderlying network interface
[in]addressRegister address
[in]maskBits to clear in the target register

Definition at line 921 of file enc624j600_driver.c.

◆ enc624j600DisableIrq()

void enc624j600DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 228 of file enc624j600_driver.c.

◆ enc624j600DumpPhyReg()

void enc624j600DumpPhyReg ( NetInterface interface)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 1027 of file enc624j600_driver.c.

◆ enc624j600DumpReg()

void enc624j600DumpReg ( NetInterface interface)

Dump registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 987 of file enc624j600_driver.c.

◆ enc624j600EnableIrq()

void enc624j600EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 213 of file enc624j600_driver.c.

◆ enc624j600EventHandler()

void enc624j600EventHandler ( NetInterface interface)

ENC624J600 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 307 of file enc624j600_driver.c.

◆ enc624j600Init()

error_t enc624j600Init ( NetInterface interface)

ENC624J600 controller initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 71 of file enc624j600_driver.c.

◆ enc624j600InitHook()

void enc624j600InitHook ( NetInterface interface)

ENC624J600 custom configuration.

Parameters
[in]interfaceUnderlying network interface

Definition at line 193 of file enc624j600_driver.c.

◆ enc624j600IrqHandler()

bool_t enc624j600IrqHandler ( NetInterface interface)

ENC624J600 interrupt service routine.

Parameters
[in]interfaceUnderlying network interface
Returns
TRUE if a higher priority task must be woken. Else FALSE is returned

Definition at line 244 of file enc624j600_driver.c.

◆ enc624j600ReadBuffer()

void enc624j600ReadBuffer ( NetInterface interface,
uint8_t  opcode,
uint8_t *  data,
size_t  length 
)

Read SRAM buffer.

Parameters
[in]interfaceUnderlying network interface
[in]opcodeSRAM buffer operation
[out]dataBuffer where to store the incoming data
[in]lengthNumber of data to read

Definition at line 866 of file enc624j600_driver.c.

◆ enc624j600ReadPhyReg()

uint16_t enc624j600ReadPhyReg ( NetInterface interface,
uint8_t  address 
)

Read PHY register.

Parameters
[in]interfaceUnderlying network interface
[in]addressPHY register address
Returns
Register value

Definition at line 774 of file enc624j600_driver.c.

◆ enc624j600ReadReg()

uint16_t enc624j600ReadReg ( NetInterface interface,
uint8_t  address 
)

Read ENC624J600 register.

Parameters
[in]interfaceUnderlying network interface
[in]addressRegister address
Returns
Register value

Definition at line 714 of file enc624j600_driver.c.

◆ enc624j600ReceivePacket()

error_t enc624j600ReceivePacket ( NetInterface interface)

Receive a packet.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 458 of file enc624j600_driver.c.

◆ enc624j600SendPacket()

error_t enc624j600SendPacket ( NetInterface interface,
const NetBuffer buffer,
size_t  offset,
NetTxAncillary ancillary 
)

Send a packet.

Parameters
[in]interfaceUnderlying network interface
[in]bufferMulti-part buffer containing the data to send
[in]offsetOffset to the first data byte
[in]ancillaryAdditional options passed to the stack along with the packet
Returns
Error code

Definition at line 398 of file enc624j600_driver.c.

◆ enc624j600SetBit()

void enc624j600SetBit ( NetInterface interface,
uint8_t  address,
uint16_t  mask 
)

Set bit field.

Parameters
[in]interfaceUnderlying network interface
[in]addressRegister address
[in]maskBits to set in the target register

Definition at line 895 of file enc624j600_driver.c.

◆ enc624j600SoftReset()

error_t enc624j600SoftReset ( NetInterface interface)

Reset ENC624J600 controller.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 645 of file enc624j600_driver.c.

◆ enc624j600Tick()

void enc624j600Tick ( NetInterface interface)

ENC624J600 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 203 of file enc624j600_driver.c.

◆ enc624j600UpdateMacAddrFilter()

error_t enc624j600UpdateMacAddrFilter ( NetInterface interface)

Configure MAC address filtering.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 550 of file enc624j600_driver.c.

◆ enc624j600UpdateMacConfig()

void enc624j600UpdateMacConfig ( NetInterface interface)

Adjust MAC configuration parameters for proper operation.

Parameters
[in]interfaceUnderlying network interface

Definition at line 605 of file enc624j600_driver.c.

◆ enc624j600WriteBuffer()

void enc624j600WriteBuffer ( NetInterface interface,
uint8_t  opcode,
const NetBuffer buffer,
size_t  offset 
)

Write SRAM buffer.

Parameters
[in]interfaceUnderlying network interface
[in]opcodeSRAM buffer operation
[in]bufferMulti-part buffer containing the data to be written
[in]offsetOffset to the first data byte

Definition at line 812 of file enc624j600_driver.c.

◆ enc624j600WritePhyReg()

void enc624j600WritePhyReg ( NetInterface interface,
uint8_t  address,
uint16_t  data 
)

Write PHY register.

Parameters
[in]interfaceUnderlying network interface
[in]addressPHY register address
[in]dataRegister value

Definition at line 745 of file enc624j600_driver.c.

◆ enc624j600WriteReg()

void enc624j600WriteReg ( NetInterface interface,
uint8_t  address,
uint16_t  data 
)

Write ENC624J600 register.

Parameters
[in]interfaceUnderlying network interface
[in]addressRegister address
[in]dataRegister value

Definition at line 688 of file enc624j600_driver.c.

Variable Documentation

◆ enc624j600Driver

const NicDriver enc624j600Driver
extern

ENC624J600 driver.

Definition at line 44 of file enc624j600_driver.c.