enc624j600_driver.h File Reference

ENC624J600/ENC424J600 Ethernet controller. More...

Go to the source code of this file.

Data Structures

struct  Enc624j600Context
 ENC624J600 driver context. More...
 

Macros

#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_REG_ETXST   0x00
 
#define ENC624J600_REG_ETXLEN   0x02
 
#define ENC624J600_REG_ERXST   0x04
 
#define ENC624J600_REG_ERXTAIL   0x06
 
#define ENC624J600_REG_ERXHEAD   0x08
 
#define ENC624J600_REG_EDMAST   0x0A
 
#define ENC624J600_REG_EDMALEN   0x0C
 
#define ENC624J600_REG_EDMADST   0x0E
 
#define ENC624J600_REG_EDMACS   0x10
 
#define ENC624J600_REG_ETXSTAT   0x12
 
#define ENC624J600_REG_ETXWIRE   0x14
 
#define ENC624J600_REG_EUDAST   0x16
 
#define ENC624J600_REG_EUDAND   0x18
 
#define ENC624J600_REG_ESTAT   0x1A
 
#define ENC624J600_REG_EIR   0x1C
 
#define ENC624J600_REG_ECON1   0x1E
 
#define ENC624J600_REG_EHT1   0x20
 
#define ENC624J600_REG_EHT2   0x22
 
#define ENC624J600_REG_EHT3   0x24
 
#define ENC624J600_REG_EHT4   0x26
 
#define ENC624J600_REG_EPMM1   0x28
 
#define ENC624J600_REG_EPMM2   0x2A
 
#define ENC624J600_REG_EPMM3   0x2C
 
#define ENC624J600_REG_EPMM4   0x2E
 
#define ENC624J600_REG_EPMCS   0x30
 
#define ENC624J600_REG_EPMO   0x32
 
#define ENC624J600_REG_ERXFCON   0x34
 
#define ENC624J600_REG_MACON1   0x40
 
#define ENC624J600_REG_MACON2   0x42
 
#define ENC624J600_REG_MABBIPG   0x44
 
#define ENC624J600_REG_MAIPG   0x46
 
#define ENC624J600_REG_MACLCON   0x48
 
#define ENC624J600_REG_MAMXFL   0x4A
 
#define ENC624J600_REG_MICMD   0x52
 
#define ENC624J600_REG_MIREGADR   0x54
 
#define ENC624J600_REG_MAADR3   0x60
 
#define ENC624J600_REG_MAADR2   0x62
 
#define ENC624J600_REG_MAADR1   0x64
 
#define ENC624J600_REG_MIWR   0x66
 
#define ENC624J600_REG_MIRD   0x68
 
#define ENC624J600_REG_MISTAT   0x6A
 
#define ENC624J600_REG_EPAUS   0x6C
 
#define ENC624J600_REG_ECON2   0x6E
 
#define ENC624J600_REG_ERXWM   0x70
 
#define ENC624J600_REG_EIE   0x72
 
#define ENC624J600_REG_EIDLED   0x74
 
#define ENC624J600_REG_EGPDATA   0x80
 
#define ENC624J600_REG_ERXDATA   0x82
 
#define ENC624J600_REG_EUDADATA   0x84
 
#define ENC624J600_REG_EGPRDPT   0x86
 
#define ENC624J600_REG_EGPWRPT   0x88
 
#define ENC624J600_REG_ERXRDPT   0x8A
 
#define ENC624J600_REG_ERXWRPT   0x8C
 
#define ENC624J600_REG_EUDARDPT   0x8E
 
#define ENC624J600_REG_EUDAWRPT   0x90
 
#define ENC624J600_PHY_REG_PHCON1   0x00
 
#define ENC624J600_PHY_REG_PHSTAT1   0x01
 
#define ENC624J600_PHY_REG_PHANA   0x04
 
#define ENC624J600_PHY_REG_PHANLPA   0x05
 
#define ENC624J600_PHY_REG_PHANE   0x06
 
#define ENC624J600_PHY_REG_PHCON2   0x11
 
#define ENC624J600_PHY_REG_PHSTAT2   0x1B
 
#define ENC624J600_PHY_REG_PHSTAT3   0x1F
 
#define ESTAT_INT   0x8000
 
#define ESTAT_FCIDLE   0x4000
 
#define ESTAT_RXBUSY   0x2000
 
#define ESTAT_CLKRDY   0x1000
 
#define ESTAT_R11   0x0800
 
#define ESTAT_PHYDPX   0x0400
 
#define ESTAT_R9   0x0200
 
#define ESTAT_PHYLNK   0x0100
 
#define ESTAT_PKTCNT   0x00FF
 
#define EIR_CRYPTEN   0x8000
 
#define EIR_MODEXIF   0x4000
 
#define EIR_HASHIF   0x2000
 
#define EIR_AESIF   0x1000
 
#define EIR_LINKIF   0x0800
 
#define EIR_R10   0x0400
 
#define EIR_R9   0x0200
 
#define EIR_R8   0x0100
 
#define EIR_R7   0x0080
 
#define EIR_PKTIF   0x0040
 
#define EIR_DMAIF   0x0020
 
#define EIR_R4   0x0010
 
#define EIR_TXIF   0x0008
 
#define EIR_TXABTIF   0x0004
 
#define EIR_RXABTIF   0x0002
 
#define EIR_PCFULIF   0x0001
 
#define ECON1_MODEXST   0x8000
 
#define ECON1_HASHEN   0x4000
 
#define ECON1_HASHOP   0x2000
 
#define ECON1_HASHLST   0x1000
 
#define ECON1_AESST   0x0800
 
#define ECON1_AESOP1   0x0400
 
#define ECON1_AESOP0   0x0200
 
#define ECON1_PKTDEC   0x0100
 
#define ECON1_FCOP1   0x0080
 
#define ECON1_FCOP0   0x0040
 
#define ECON1_DMAST   0x0020
 
#define ECON1_DMACPY   0x0010
 
#define ECON1_DMACSSD   0x0008
 
#define ECON1_DMANOCS   0x0004
 
#define ECON1_TXRTS   0x0002
 
#define ECON1_RXEN   0x0001
 
#define ETXSTAT_R12   0x1000
 
#define ETXSTAT_R11   0x0800
 
#define ETXSTAT_LATECOL   0x0400
 
#define ETXSTAT_MAXCOL   0x0200
 
#define ETXSTAT_EXDEFER   0x0100
 
#define ETXSTAT_DEFER   0x0080
 
#define ETXSTAT_R6   0x0040
 
#define ETXSTAT_R5   0x0020
 
#define ETXSTAT_CRCBAD   0x0010
 
#define ETXSTAT_COLCNT   0x000F
 
#define ERXFCON_HTEN   0x8000
 
#define ERXFCON_MPEN   0x4000
 
#define ERXFCON_NOTPM   0x1000
 
#define ERXFCON_PMEN3   0x0800
 
#define ERXFCON_PMEN2   0x0400
 
#define ERXFCON_PMEN1   0x0200
 
#define ERXFCON_PMEN0   0x0100
 
#define ERXFCON_CRCEEN   0x0080
 
#define ERXFCON_CRCEN   0x0040
 
#define ERXFCON_RUNTEEN   0x0020
 
#define ERXFCON_RUNTEN   0x0010
 
#define ERXFCON_UCEN   0x0008
 
#define ERXFCON_NOTMEEN   0x0004
 
#define ERXFCON_MCEN   0x0002
 
#define ERXFCON_BCEN   0x0001
 
#define MACON1_R15   0x8000
 
#define MACON1_R14   0x4000
 
#define MACON1_R11   0x0800
 
#define MACON1_R10   0x0400
 
#define MACON1_R9   0x0200
 
#define MACON1_R8   0x0100
 
#define MACON1_LOOPBK   0x0010
 
#define MACON1_R3   0x0008
 
#define MACON1_RXPAUS   0x0004
 
#define MACON1_PASSALL   0x0002
 
#define MACON1_R0   0x0001
 
#define MACON2_DEFER   0x4000
 
#define MACON2_BPEN   0x2000
 
#define MACON2_NOBKOFF   0x1000
 
#define MACON2_R9   0x0200
 
#define MACON2_R8   0x0100
 
#define MACON2_PADCFG2   0x0080
 
#define MACON2_PADCFG1   0x0040
 
#define MACON2_PADCFG0   0x0020
 
#define MACON2_TXCRCEN   0x0010
 
#define MACON2_PHDREN   0x0008
 
#define MACON2_HFRMEN   0x0004
 
#define MACON2_R1   0x0002
 
#define MACON2_FULDPX   0x0001
 
#define MABBIPG_BBIPG   0x007F
 
#define MAIPG_R14   0x4000
 
#define MAIPG_R13   0x2000
 
#define MAIPG_R12   0x1000
 
#define MAIPG_R11   0x0800
 
#define MAIPG_R10   0x0400
 
#define MAIPG_R9   0x0200
 
#define MAIPG_R8   0x0100
 
#define MAIPG_IPG   0x007F
 
#define MACLCON_R13   0x2000
 
#define MACLCON_R12   0x1000
 
#define MACLCON_R11   0x0800
 
#define MACLCON_R10   0x0400
 
#define MACLCON_R9   0x0200
 
#define MACLCON_R8   0x0100
 
#define MACLCON_MAXRET   0x000F
 
#define MICMD_MIISCAN   0x0002
 
#define MICMD_MIIRD   0x0001
 
#define MIREGADR_R12   0x1000
 
#define MIREGADR_R11   0x0800
 
#define MIREGADR_R10   0x0400
 
#define MIREGADR_R9   0x0200
 
#define MIREGADR_R8   0x0100
 
#define MIREGADR_PHREG   0x001F
 
#define MISTAT_R3   0x0008
 
#define MISTAT_NVALID   0x0004
 
#define MISTAT_SCAN   0x0002
 
#define MISTAT_BUSY   0x0001
 
#define ECON2_ETHEN   0x8000
 
#define ECON2_STRCH   0x4000
 
#define ECON2_TXMAC   0x2000
 
#define ECON2_SHA1MD5   0x1000
 
#define ECON2_COCON3   0x0800
 
#define ECON2_COCON2   0x0400
 
#define ECON2_COCON1   0x0200
 
#define ECON2_COCON0   0x0100
 
#define ECON2_AUTOFC   0x0080
 
#define ECON2_TXRST   0x0040
 
#define ECON2_RXRST   0x0020
 
#define ECON2_ETHRST   0x0010
 
#define ECON2_MODLEN1   0x0008
 
#define ECON2_MODLEN0   0x0004
 
#define ECON2_AESLEN1   0x0002
 
#define ECON2_AESLEN0   0x0001
 
#define ERXWM_RXFWM   0xFF00
 
#define ERXWM_RXEWM   0x00FF
 
#define EIE_INTIE   0x8000
 
#define EIE_MODEXIE   0x4000
 
#define EIE_HASHIE   0x2000
 
#define EIE_AESIE   0x1000
 
#define EIE_LINKIE   0x0800
 
#define EIE_R10   0x0400
 
#define EIE_R9   0x0200
 
#define EIE_R8   0x0100
 
#define EIE_R7   0x0080
 
#define EIE_PKTIE   0x0040
 
#define EIE_DMAIE   0x0020
 
#define EIE_R4   0x0010
 
#define EIE_TXIE   0x0008
 
#define EIE_TXABTIE   0x0004
 
#define EIE_RXABTIE   0x0002
 
#define EIE_PCFULIE   0x0001
 
#define EIDLED_LACFG3   0x8000
 
#define EIDLED_LACFG2   0x4000
 
#define EIDLED_LACFG1   0x2000
 
#define EIDLED_LACFG0   0x1000
 
#define EIDLED_LBCFG3   0x0800
 
#define EIDLED_LBCFG2   0x0400
 
#define EIDLED_LBCFG1   0x0200
 
#define EIDLED_LBCFG0   0x0100
 
#define EIDLED_DEVID   0x00FF
 
#define PHCON1_PRST   0x8000
 
#define PHCON1_PLOOPBK   0x4000
 
#define PHCON1_SPD100   0x2000
 
#define PHCON1_ANEN   0x1000
 
#define PHCON1_PSLEEP   0x0800
 
#define PHCON1_RENEG   0x0200
 
#define PHCON1_PFULDPX   0x0100
 
#define PHSTAT1_FULL100   0x4000
 
#define PHSTAT1_HALF100   0x2000
 
#define PHSTAT1_FULL10   0x1000
 
#define PHSTAT1_HALF10   0x0800
 
#define PHSTAT1_ANDONE   0x0020
 
#define PHSTAT1_LRFAULT   0x0010
 
#define PHSTAT1_ANABLE   0x0008
 
#define PHSTAT1_LLSTAT   0x0004
 
#define PHSTAT1_EXTREGS   0x0001
 
#define PHANA_ADNP   0x8000
 
#define PHANA_ADFAULT   0x2000
 
#define PHANA_ADPAUS1   0x0800
 
#define PHANA_ADPAUS0   0x0400
 
#define PHANA_AD100FD   0x0100
 
#define PHANA_AD100   0x0080
 
#define PHANA_AD10FD   0x0040
 
#define PHANA_AD10   0x0020
 
#define PHANA_ADIEEE4   0x0010
 
#define PHANA_ADIEEE3   0x0008
 
#define PHANA_ADIEEE2   0x0004
 
#define PHANA_ADIEEE1   0x0002
 
#define PHANA_ADIEEE0   0x0001
 
#define PHANLPA_LPNP   0x8000
 
#define PHANLPA_LPACK   0x4000
 
#define PHANLPA_LPFAULT   0x2000
 
#define PHANLPA_LPPAUS1   0x0800
 
#define PHANLPA_LPPAUS0   0x0400
 
#define PHANLPA_LP100T4   0x0200
 
#define PHANLPA_LP100FD   0x0100
 
#define PHANLPA_LP100   0x0080
 
#define PHANLPA_LP10FD   0x0040
 
#define PHANLPA_LP10   0x0020
 
#define PHANLPA_LPIEEE   0x001F
 
#define PHANLPA_LPIEEE4   0x0010
 
#define PHANLPA_LPIEEE3   0x0008
 
#define PHANLPA_LPIEEE2   0x0004
 
#define PHANLPA_LPIEEE1   0x0002
 
#define PHANLPA_LPIEEE0   0x0001
 
#define PHANE_PDFLT   0x0010
 
#define PHANE_LPARCD   0x0002
 
#define PHANE_LPANABL   0x0001
 
#define PHCON2_EDPWRDN   0x2000
 
#define PHCON2_EDTHRES   0x0800
 
#define PHCON2_FRCLNK   0x0004
 
#define PHCON2_EDSTAT   0x0002
 
#define PHSTAT2_PLRITY   0x0010
 
#define PHSTAT3_SPDDPX2   0x0010
 
#define PHSTAT3_SPDDPX1   0x0008
 
#define PHSTAT3_SPDDPX0   0x0004
 
#define RSV_UNICAST_FILTER   0x00100000
 
#define RSV_PATTERN_MATCH_FILTER   0x00080000
 
#define RSV_MAGIC_PACKET_FILTER   0x00040000
 
#define RSV_HASH_FILTER   0x00020000
 
#define RSV_NOT_ME_FILTER   0x00010000
 
#define RSV_RUNT_FILTER   0x00008000
 
#define RSV_VLAN_TYPE   0x00004000
 
#define RSV_UNKNOWN_OPCODE   0x00002000
 
#define RSV_PAUSE_CONTROL_FRAME   0x00001000
 
#define RSV_CONTROL_FRAME   0x00000800
 
#define RSV_DRIBBLE_NIBBLE   0x00000400
 
#define RSV_BROADCAST_PACKET   0x00000200
 
#define RSV_MULTICAST_PACKET   0x00000100
 
#define RSV_RECEIVED_OK   0x00000080
 
#define RSV_LENGTH_OUT_OF_RANGE   0x00000040
 
#define RSV_LENGTH_CHECK_ERROR   0x00000020
 
#define RSV_CRC_ERROR   0x00000010
 
#define RSV_CARRIER_EVENT   0x00000004
 
#define RSV_PACKET_IGNORED   0x00000001
 

Functions

error_t enc624j600Init (NetInterface *interface)
 ENC624J600 controller initialization. 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)
 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/ENC424J600 Ethernet controller.

License

Copyright (C) 2010-2018 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
1.9.0

Definition in file enc624j600_driver.h.

Macro Definition Documentation

◆ ECON1_AESOP0

#define ECON1_AESOP0   0x0200

Definition at line 190 of file enc624j600_driver.h.

◆ ECON1_AESOP1

#define ECON1_AESOP1   0x0400

Definition at line 189 of file enc624j600_driver.h.

◆ ECON1_AESST

#define ECON1_AESST   0x0800

Definition at line 188 of file enc624j600_driver.h.

◆ ECON1_DMACPY

#define ECON1_DMACPY   0x0010

Definition at line 195 of file enc624j600_driver.h.

◆ ECON1_DMACSSD

#define ECON1_DMACSSD   0x0008

Definition at line 196 of file enc624j600_driver.h.

◆ ECON1_DMANOCS

#define ECON1_DMANOCS   0x0004

Definition at line 197 of file enc624j600_driver.h.

◆ ECON1_DMAST

#define ECON1_DMAST   0x0020

Definition at line 194 of file enc624j600_driver.h.

◆ ECON1_FCOP0

#define ECON1_FCOP0   0x0040

Definition at line 193 of file enc624j600_driver.h.

◆ ECON1_FCOP1

#define ECON1_FCOP1   0x0080

Definition at line 192 of file enc624j600_driver.h.

◆ ECON1_HASHEN

#define ECON1_HASHEN   0x4000

Definition at line 185 of file enc624j600_driver.h.

◆ ECON1_HASHLST

#define ECON1_HASHLST   0x1000

Definition at line 187 of file enc624j600_driver.h.

◆ ECON1_HASHOP

#define ECON1_HASHOP   0x2000

Definition at line 186 of file enc624j600_driver.h.

◆ ECON1_MODEXST

#define ECON1_MODEXST   0x8000

Definition at line 184 of file enc624j600_driver.h.

◆ ECON1_PKTDEC

#define ECON1_PKTDEC   0x0100

Definition at line 191 of file enc624j600_driver.h.

◆ ECON1_RXEN

#define ECON1_RXEN   0x0001

Definition at line 199 of file enc624j600_driver.h.

◆ ECON1_TXRTS

#define ECON1_TXRTS   0x0002

Definition at line 198 of file enc624j600_driver.h.

◆ ECON2_AESLEN0

#define ECON2_AESLEN0   0x0001

Definition at line 314 of file enc624j600_driver.h.

◆ ECON2_AESLEN1

#define ECON2_AESLEN1   0x0002

Definition at line 313 of file enc624j600_driver.h.

◆ ECON2_AUTOFC

#define ECON2_AUTOFC   0x0080

Definition at line 307 of file enc624j600_driver.h.

◆ ECON2_COCON0

#define ECON2_COCON0   0x0100

Definition at line 306 of file enc624j600_driver.h.

◆ ECON2_COCON1

#define ECON2_COCON1   0x0200

Definition at line 305 of file enc624j600_driver.h.

◆ ECON2_COCON2

#define ECON2_COCON2   0x0400

Definition at line 304 of file enc624j600_driver.h.

◆ ECON2_COCON3

#define ECON2_COCON3   0x0800

Definition at line 303 of file enc624j600_driver.h.

◆ ECON2_ETHEN

#define ECON2_ETHEN   0x8000

Definition at line 299 of file enc624j600_driver.h.

◆ ECON2_ETHRST

#define ECON2_ETHRST   0x0010

Definition at line 310 of file enc624j600_driver.h.

◆ ECON2_MODLEN0

#define ECON2_MODLEN0   0x0004

Definition at line 312 of file enc624j600_driver.h.

◆ ECON2_MODLEN1

#define ECON2_MODLEN1   0x0008

Definition at line 311 of file enc624j600_driver.h.

◆ ECON2_RXRST

#define ECON2_RXRST   0x0020

Definition at line 309 of file enc624j600_driver.h.

◆ ECON2_SHA1MD5

#define ECON2_SHA1MD5   0x1000

Definition at line 302 of file enc624j600_driver.h.

◆ ECON2_STRCH

#define ECON2_STRCH   0x4000

Definition at line 300 of file enc624j600_driver.h.

◆ ECON2_TXMAC

#define ECON2_TXMAC   0x2000

Definition at line 301 of file enc624j600_driver.h.

◆ ECON2_TXRST

#define ECON2_TXRST   0x0040

Definition at line 308 of file enc624j600_driver.h.

◆ EIDLED_DEVID

#define EIDLED_DEVID   0x00FF

Definition at line 347 of file enc624j600_driver.h.

◆ EIDLED_LACFG0

#define EIDLED_LACFG0   0x1000

Definition at line 342 of file enc624j600_driver.h.

◆ EIDLED_LACFG1

#define EIDLED_LACFG1   0x2000

Definition at line 341 of file enc624j600_driver.h.

◆ EIDLED_LACFG2

#define EIDLED_LACFG2   0x4000

Definition at line 340 of file enc624j600_driver.h.

◆ EIDLED_LACFG3

#define EIDLED_LACFG3   0x8000

Definition at line 339 of file enc624j600_driver.h.

◆ EIDLED_LBCFG0

#define EIDLED_LBCFG0   0x0100

Definition at line 346 of file enc624j600_driver.h.

◆ EIDLED_LBCFG1

#define EIDLED_LBCFG1   0x0200

Definition at line 345 of file enc624j600_driver.h.

◆ EIDLED_LBCFG2

#define EIDLED_LBCFG2   0x0400

Definition at line 344 of file enc624j600_driver.h.

◆ EIDLED_LBCFG3

#define EIDLED_LBCFG3   0x0800

Definition at line 343 of file enc624j600_driver.h.

◆ EIE_AESIE

#define EIE_AESIE   0x1000

Definition at line 324 of file enc624j600_driver.h.

◆ EIE_DMAIE

#define EIE_DMAIE   0x0020

Definition at line 331 of file enc624j600_driver.h.

◆ EIE_HASHIE

#define EIE_HASHIE   0x2000

Definition at line 323 of file enc624j600_driver.h.

◆ EIE_INTIE

#define EIE_INTIE   0x8000

Definition at line 321 of file enc624j600_driver.h.

◆ EIE_LINKIE

#define EIE_LINKIE   0x0800

Definition at line 325 of file enc624j600_driver.h.

◆ EIE_MODEXIE

#define EIE_MODEXIE   0x4000

Definition at line 322 of file enc624j600_driver.h.

◆ EIE_PCFULIE

#define EIE_PCFULIE   0x0001

Definition at line 336 of file enc624j600_driver.h.

◆ EIE_PKTIE

#define EIE_PKTIE   0x0040

Definition at line 330 of file enc624j600_driver.h.

◆ EIE_R10

#define EIE_R10   0x0400

Definition at line 326 of file enc624j600_driver.h.

◆ EIE_R4

#define EIE_R4   0x0010

Definition at line 332 of file enc624j600_driver.h.

◆ EIE_R7

#define EIE_R7   0x0080

Definition at line 329 of file enc624j600_driver.h.

◆ EIE_R8

#define EIE_R8   0x0100

Definition at line 328 of file enc624j600_driver.h.

◆ EIE_R9

#define EIE_R9   0x0200

Definition at line 327 of file enc624j600_driver.h.

◆ EIE_RXABTIE

#define EIE_RXABTIE   0x0002

Definition at line 335 of file enc624j600_driver.h.

◆ EIE_TXABTIE

#define EIE_TXABTIE   0x0004

Definition at line 334 of file enc624j600_driver.h.

◆ EIE_TXIE

#define EIE_TXIE   0x0008

Definition at line 333 of file enc624j600_driver.h.

◆ EIR_AESIF

#define EIR_AESIF   0x1000

Definition at line 169 of file enc624j600_driver.h.

◆ EIR_CRYPTEN

#define EIR_CRYPTEN   0x8000

Definition at line 166 of file enc624j600_driver.h.

◆ EIR_DMAIF

#define EIR_DMAIF   0x0020

Definition at line 176 of file enc624j600_driver.h.

◆ EIR_HASHIF

#define EIR_HASHIF   0x2000

Definition at line 168 of file enc624j600_driver.h.

◆ EIR_LINKIF

#define EIR_LINKIF   0x0800

Definition at line 170 of file enc624j600_driver.h.

◆ EIR_MODEXIF

#define EIR_MODEXIF   0x4000

Definition at line 167 of file enc624j600_driver.h.

◆ EIR_PCFULIF

#define EIR_PCFULIF   0x0001

Definition at line 181 of file enc624j600_driver.h.

◆ EIR_PKTIF

#define EIR_PKTIF   0x0040

Definition at line 175 of file enc624j600_driver.h.

◆ EIR_R10

#define EIR_R10   0x0400

Definition at line 171 of file enc624j600_driver.h.

◆ EIR_R4

#define EIR_R4   0x0010

Definition at line 177 of file enc624j600_driver.h.

◆ EIR_R7

#define EIR_R7   0x0080

Definition at line 174 of file enc624j600_driver.h.

◆ EIR_R8

#define EIR_R8   0x0100

Definition at line 173 of file enc624j600_driver.h.

◆ EIR_R9

#define EIR_R9   0x0200

Definition at line 172 of file enc624j600_driver.h.

◆ EIR_RXABTIF

#define EIR_RXABTIF   0x0002

Definition at line 180 of file enc624j600_driver.h.

◆ EIR_TXABTIF

#define EIR_TXABTIF   0x0004

Definition at line 179 of file enc624j600_driver.h.

◆ EIR_TXIF

#define EIR_TXIF   0x0008

Definition at line 178 of file enc624j600_driver.h.

◆ ENC624J600_CMD_B0SEL

#define ENC624J600_CMD_B0SEL   0xC0

Definition at line 39 of file enc624j600_driver.h.

◆ ENC624J600_CMD_B1SEL

#define ENC624J600_CMD_B1SEL   0xC2

Definition at line 40 of file enc624j600_driver.h.

◆ ENC624J600_CMD_B2SEL

#define ENC624J600_CMD_B2SEL   0xC4

Definition at line 41 of file enc624j600_driver.h.

◆ ENC624J600_CMD_B3SEL

#define ENC624J600_CMD_B3SEL   0xC6

Definition at line 42 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFC

#define ENC624J600_CMD_BFC   0xA0

Definition at line 77 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFCU

#define ENC624J600_CMD_BFCU   0x26

Definition at line 79 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFS

#define ENC624J600_CMD_BFS   0x80

Definition at line 76 of file enc624j600_driver.h.

◆ ENC624J600_CMD_BFSU

#define ENC624J600_CMD_BFSU   0x24

Definition at line 78 of file enc624j600_driver.h.

◆ ENC624J600_CMD_CLREIE

#define ENC624J600_CMD_CLREIE   0xEE

Definition at line 58 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DISABLERX

#define ENC624J600_CMD_DISABLERX   0xEA

Definition at line 56 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACKSUM

#define ENC624J600_CMD_DMACKSUM   0xD8

Definition at line 50 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACKSUMS

#define ENC624J600_CMD_DMACKSUMS   0xDA

Definition at line 51 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACOPY

#define ENC624J600_CMD_DMACOPY   0xDC

Definition at line 52 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMACOPYS

#define ENC624J600_CMD_DMACOPYS   0xDE

Definition at line 53 of file enc624j600_driver.h.

◆ ENC624J600_CMD_DMASTOP

#define ENC624J600_CMD_DMASTOP   0xD2

Definition at line 49 of file enc624j600_driver.h.

◆ ENC624J600_CMD_ENABLERX

#define ENC624J600_CMD_ENABLERX   0xE8

Definition at line 55 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCCLEAR

#define ENC624J600_CMD_FCCLEAR   0xE6

Definition at line 47 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCDISABLE

#define ENC624J600_CMD_FCDISABLE   0xE0

Definition at line 44 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCMULTIPLE

#define ENC624J600_CMD_FCMULTIPLE   0xE4

Definition at line 46 of file enc624j600_driver.h.

◆ ENC624J600_CMD_FCSINGLE

#define ENC624J600_CMD_FCSINGLE   0xE2

Definition at line 45 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RBSEL

#define ENC624J600_CMD_RBSEL   0xC8

Definition at line 59 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RCR

#define ENC624J600_CMD_RCR   0x00

Definition at line 72 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RCRU

#define ENC624J600_CMD_RCRU   0x20

Definition at line 74 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RGPDATA

#define ENC624J600_CMD_RGPDATA   0x28

Definition at line 80 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RGPRDPT

#define ENC624J600_CMD_RGPRDPT   0x62

Definition at line 61 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RGPWRPT

#define ENC624J600_CMD_RGPWRPT   0x6E

Definition at line 67 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RRXDATA

#define ENC624J600_CMD_RRXDATA   0x2C

Definition at line 82 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RRXRDPT

#define ENC624J600_CMD_RRXRDPT   0x66

Definition at line 63 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RRXWRPT

#define ENC624J600_CMD_RRXWRPT   0x72

Definition at line 69 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RUDADATA

#define ENC624J600_CMD_RUDADATA   0x30

Definition at line 84 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RUDARDPT

#define ENC624J600_CMD_RUDARDPT   0x6A

Definition at line 65 of file enc624j600_driver.h.

◆ ENC624J600_CMD_RUDAWRPT

#define ENC624J600_CMD_RUDAWRPT   0x76

Definition at line 71 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETEIE

#define ENC624J600_CMD_SETEIE   0xEC

Definition at line 57 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETETHRST

#define ENC624J600_CMD_SETETHRST   0xCA

Definition at line 43 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETPKTDEC

#define ENC624J600_CMD_SETPKTDEC   0xCC

Definition at line 48 of file enc624j600_driver.h.

◆ ENC624J600_CMD_SETTXRTS

#define ENC624J600_CMD_SETTXRTS   0xD4

Definition at line 54 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WCR

#define ENC624J600_CMD_WCR   0x40

Definition at line 73 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WCRU

#define ENC624J600_CMD_WCRU   0x22

Definition at line 75 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WGPDATA

#define ENC624J600_CMD_WGPDATA   0x2A

Definition at line 81 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WGPRDPT

#define ENC624J600_CMD_WGPRDPT   0x60

Definition at line 60 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WGPWRPT

#define ENC624J600_CMD_WGPWRPT   0x6C

Definition at line 66 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WRXDATA

#define ENC624J600_CMD_WRXDATA   0x2E

Definition at line 83 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WRXRDPT

#define ENC624J600_CMD_WRXRDPT   0x64

Definition at line 62 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WRXWRPT

#define ENC624J600_CMD_WRXWRPT   0x70

Definition at line 68 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WUDADATA

#define ENC624J600_CMD_WUDADATA   0x32

Definition at line 85 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WUDARDPT

#define ENC624J600_CMD_WUDARDPT   0x68

Definition at line 64 of file enc624j600_driver.h.

◆ ENC624J600_CMD_WUDAWRPT

#define ENC624J600_CMD_WUDAWRPT   0x74

Definition at line 70 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHANA

#define ENC624J600_PHY_REG_PHANA   0x04

Definition at line 147 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHANE

#define ENC624J600_PHY_REG_PHANE   0x06

Definition at line 149 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHANLPA

#define ENC624J600_PHY_REG_PHANLPA   0x05

Definition at line 148 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHCON1

#define ENC624J600_PHY_REG_PHCON1   0x00

Definition at line 145 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHCON2

#define ENC624J600_PHY_REG_PHCON2   0x11

Definition at line 150 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHSTAT1

#define ENC624J600_PHY_REG_PHSTAT1   0x01

Definition at line 146 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHSTAT2

#define ENC624J600_PHY_REG_PHSTAT2   0x1B

Definition at line 151 of file enc624j600_driver.h.

◆ ENC624J600_PHY_REG_PHSTAT3

#define ENC624J600_PHY_REG_PHSTAT3   0x1F

Definition at line 152 of file enc624j600_driver.h.

◆ ENC624J600_REG_ECON1

#define ENC624J600_REG_ECON1   0x1E

Definition at line 103 of file enc624j600_driver.h.

◆ ENC624J600_REG_ECON2

#define ENC624J600_REG_ECON2   0x6E

Definition at line 130 of file enc624j600_driver.h.

◆ ENC624J600_REG_EDMACS

#define ENC624J600_REG_EDMACS   0x10

Definition at line 96 of file enc624j600_driver.h.

◆ ENC624J600_REG_EDMADST

#define ENC624J600_REG_EDMADST   0x0E

Definition at line 95 of file enc624j600_driver.h.

◆ ENC624J600_REG_EDMALEN

#define ENC624J600_REG_EDMALEN   0x0C

Definition at line 94 of file enc624j600_driver.h.

◆ ENC624J600_REG_EDMAST

#define ENC624J600_REG_EDMAST   0x0A

Definition at line 93 of file enc624j600_driver.h.

◆ ENC624J600_REG_EGPDATA

#define ENC624J600_REG_EGPDATA   0x80

Definition at line 134 of file enc624j600_driver.h.

◆ ENC624J600_REG_EGPRDPT

#define ENC624J600_REG_EGPRDPT   0x86

Definition at line 137 of file enc624j600_driver.h.

◆ ENC624J600_REG_EGPWRPT

#define ENC624J600_REG_EGPWRPT   0x88

Definition at line 138 of file enc624j600_driver.h.

◆ ENC624J600_REG_EHT1

#define ENC624J600_REG_EHT1   0x20

Definition at line 104 of file enc624j600_driver.h.

◆ ENC624J600_REG_EHT2

#define ENC624J600_REG_EHT2   0x22

Definition at line 105 of file enc624j600_driver.h.

◆ ENC624J600_REG_EHT3

#define ENC624J600_REG_EHT3   0x24

Definition at line 106 of file enc624j600_driver.h.

◆ ENC624J600_REG_EHT4

#define ENC624J600_REG_EHT4   0x26

Definition at line 107 of file enc624j600_driver.h.

◆ ENC624J600_REG_EIDLED

#define ENC624J600_REG_EIDLED   0x74

Definition at line 133 of file enc624j600_driver.h.

◆ ENC624J600_REG_EIE

#define ENC624J600_REG_EIE   0x72

Definition at line 132 of file enc624j600_driver.h.

◆ ENC624J600_REG_EIR

#define ENC624J600_REG_EIR   0x1C

Definition at line 102 of file enc624j600_driver.h.

◆ ENC624J600_REG_EPAUS

#define ENC624J600_REG_EPAUS   0x6C

Definition at line 129 of file enc624j600_driver.h.

◆ ENC624J600_REG_EPMCS

#define ENC624J600_REG_EPMCS   0x30

Definition at line 112 of file enc624j600_driver.h.

◆ ENC624J600_REG_EPMM1

#define ENC624J600_REG_EPMM1   0x28

Definition at line 108 of file enc624j600_driver.h.

◆ ENC624J600_REG_EPMM2

#define ENC624J600_REG_EPMM2   0x2A

Definition at line 109 of file enc624j600_driver.h.

◆ ENC624J600_REG_EPMM3

#define ENC624J600_REG_EPMM3   0x2C

Definition at line 110 of file enc624j600_driver.h.

◆ ENC624J600_REG_EPMM4

#define ENC624J600_REG_EPMM4   0x2E

Definition at line 111 of file enc624j600_driver.h.

◆ ENC624J600_REG_EPMO

#define ENC624J600_REG_EPMO   0x32

Definition at line 113 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXDATA

#define ENC624J600_REG_ERXDATA   0x82

Definition at line 135 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXFCON

#define ENC624J600_REG_ERXFCON   0x34

Definition at line 114 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXHEAD

#define ENC624J600_REG_ERXHEAD   0x08

Definition at line 92 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXRDPT

#define ENC624J600_REG_ERXRDPT   0x8A

Definition at line 139 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXST

#define ENC624J600_REG_ERXST   0x04

Definition at line 90 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXTAIL

#define ENC624J600_REG_ERXTAIL   0x06

Definition at line 91 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXWM

#define ENC624J600_REG_ERXWM   0x70

Definition at line 131 of file enc624j600_driver.h.

◆ ENC624J600_REG_ERXWRPT

#define ENC624J600_REG_ERXWRPT   0x8C

Definition at line 140 of file enc624j600_driver.h.

◆ ENC624J600_REG_ESTAT

#define ENC624J600_REG_ESTAT   0x1A

Definition at line 101 of file enc624j600_driver.h.

◆ ENC624J600_REG_ETXLEN

#define ENC624J600_REG_ETXLEN   0x02

Definition at line 89 of file enc624j600_driver.h.

◆ ENC624J600_REG_ETXST

#define ENC624J600_REG_ETXST   0x00

Definition at line 88 of file enc624j600_driver.h.

◆ ENC624J600_REG_ETXSTAT

#define ENC624J600_REG_ETXSTAT   0x12

Definition at line 97 of file enc624j600_driver.h.

◆ ENC624J600_REG_ETXWIRE

#define ENC624J600_REG_ETXWIRE   0x14

Definition at line 98 of file enc624j600_driver.h.

◆ ENC624J600_REG_EUDADATA

#define ENC624J600_REG_EUDADATA   0x84

Definition at line 136 of file enc624j600_driver.h.

◆ ENC624J600_REG_EUDAND

#define ENC624J600_REG_EUDAND   0x18

Definition at line 100 of file enc624j600_driver.h.

◆ ENC624J600_REG_EUDARDPT

#define ENC624J600_REG_EUDARDPT   0x8E

Definition at line 141 of file enc624j600_driver.h.

◆ ENC624J600_REG_EUDAST

#define ENC624J600_REG_EUDAST   0x16

Definition at line 99 of file enc624j600_driver.h.

◆ ENC624J600_REG_EUDAWRPT

#define ENC624J600_REG_EUDAWRPT   0x90

Definition at line 142 of file enc624j600_driver.h.

◆ ENC624J600_REG_MAADR1

#define ENC624J600_REG_MAADR1   0x64

Definition at line 125 of file enc624j600_driver.h.

◆ ENC624J600_REG_MAADR2

#define ENC624J600_REG_MAADR2   0x62

Definition at line 124 of file enc624j600_driver.h.

◆ ENC624J600_REG_MAADR3

#define ENC624J600_REG_MAADR3   0x60

Definition at line 123 of file enc624j600_driver.h.

◆ ENC624J600_REG_MABBIPG

#define ENC624J600_REG_MABBIPG   0x44

Definition at line 117 of file enc624j600_driver.h.

◆ ENC624J600_REG_MACLCON

#define ENC624J600_REG_MACLCON   0x48

Definition at line 119 of file enc624j600_driver.h.

◆ ENC624J600_REG_MACON1

#define ENC624J600_REG_MACON1   0x40

Definition at line 115 of file enc624j600_driver.h.

◆ ENC624J600_REG_MACON2

#define ENC624J600_REG_MACON2   0x42

Definition at line 116 of file enc624j600_driver.h.

◆ ENC624J600_REG_MAIPG

#define ENC624J600_REG_MAIPG   0x46

Definition at line 118 of file enc624j600_driver.h.

◆ ENC624J600_REG_MAMXFL

#define ENC624J600_REG_MAMXFL   0x4A

Definition at line 120 of file enc624j600_driver.h.

◆ ENC624J600_REG_MICMD

#define ENC624J600_REG_MICMD   0x52

Definition at line 121 of file enc624j600_driver.h.

◆ ENC624J600_REG_MIRD

#define ENC624J600_REG_MIRD   0x68

Definition at line 127 of file enc624j600_driver.h.

◆ ENC624J600_REG_MIREGADR

#define ENC624J600_REG_MIREGADR   0x54

Definition at line 122 of file enc624j600_driver.h.

◆ ENC624J600_REG_MISTAT

#define ENC624J600_REG_MISTAT   0x6A

Definition at line 128 of file enc624j600_driver.h.

◆ ENC624J600_REG_MIWR

#define ENC624J600_REG_MIWR   0x66

Definition at line 126 of file enc624j600_driver.h.

◆ ENC624J600_RX_BUFFER_START

#define ENC624J600_RX_BUFFER_START   0x1800

Definition at line 35 of file enc624j600_driver.h.

◆ ENC624J600_RX_BUFFER_STOP

#define ENC624J600_RX_BUFFER_STOP   0x5FFE

Definition at line 36 of file enc624j600_driver.h.

◆ ENC624J600_TX_BUFFER_START

#define ENC624J600_TX_BUFFER_START   0x0000

Definition at line 33 of file enc624j600_driver.h.

◆ ENC624J600_TX_BUFFER_STOP

#define ENC624J600_TX_BUFFER_STOP   0x17FE

Definition at line 34 of file enc624j600_driver.h.

◆ ERXFCON_BCEN

#define ERXFCON_BCEN   0x0001

Definition at line 228 of file enc624j600_driver.h.

◆ ERXFCON_CRCEEN

#define ERXFCON_CRCEEN   0x0080

Definition at line 221 of file enc624j600_driver.h.

◆ ERXFCON_CRCEN

#define ERXFCON_CRCEN   0x0040

Definition at line 222 of file enc624j600_driver.h.

◆ ERXFCON_HTEN

#define ERXFCON_HTEN   0x8000

Definition at line 214 of file enc624j600_driver.h.

◆ ERXFCON_MCEN

#define ERXFCON_MCEN   0x0002

Definition at line 227 of file enc624j600_driver.h.

◆ ERXFCON_MPEN

#define ERXFCON_MPEN   0x4000

Definition at line 215 of file enc624j600_driver.h.

◆ ERXFCON_NOTMEEN

#define ERXFCON_NOTMEEN   0x0004

Definition at line 226 of file enc624j600_driver.h.

◆ ERXFCON_NOTPM

#define ERXFCON_NOTPM   0x1000

Definition at line 216 of file enc624j600_driver.h.

◆ ERXFCON_PMEN0

#define ERXFCON_PMEN0   0x0100

Definition at line 220 of file enc624j600_driver.h.

◆ ERXFCON_PMEN1

#define ERXFCON_PMEN1   0x0200

Definition at line 219 of file enc624j600_driver.h.

◆ ERXFCON_PMEN2

#define ERXFCON_PMEN2   0x0400

Definition at line 218 of file enc624j600_driver.h.

◆ ERXFCON_PMEN3

#define ERXFCON_PMEN3   0x0800

Definition at line 217 of file enc624j600_driver.h.

◆ ERXFCON_RUNTEEN

#define ERXFCON_RUNTEEN   0x0020

Definition at line 223 of file enc624j600_driver.h.

◆ ERXFCON_RUNTEN

#define ERXFCON_RUNTEN   0x0010

Definition at line 224 of file enc624j600_driver.h.

◆ ERXFCON_UCEN

#define ERXFCON_UCEN   0x0008

Definition at line 225 of file enc624j600_driver.h.

◆ ERXWM_RXEWM

#define ERXWM_RXEWM   0x00FF

Definition at line 318 of file enc624j600_driver.h.

◆ ERXWM_RXFWM

#define ERXWM_RXFWM   0xFF00

Definition at line 317 of file enc624j600_driver.h.

◆ ESTAT_CLKRDY

#define ESTAT_CLKRDY   0x1000

Definition at line 158 of file enc624j600_driver.h.

◆ ESTAT_FCIDLE

#define ESTAT_FCIDLE   0x4000

Definition at line 156 of file enc624j600_driver.h.

◆ ESTAT_INT

#define ESTAT_INT   0x8000

Definition at line 155 of file enc624j600_driver.h.

◆ ESTAT_PHYDPX

#define ESTAT_PHYDPX   0x0400

Definition at line 160 of file enc624j600_driver.h.

◆ ESTAT_PHYLNK

#define ESTAT_PHYLNK   0x0100

Definition at line 162 of file enc624j600_driver.h.

◆ ESTAT_PKTCNT

#define ESTAT_PKTCNT   0x00FF

Definition at line 163 of file enc624j600_driver.h.

◆ ESTAT_R11

#define ESTAT_R11   0x0800

Definition at line 159 of file enc624j600_driver.h.

◆ ESTAT_R9

#define ESTAT_R9   0x0200

Definition at line 161 of file enc624j600_driver.h.

◆ ESTAT_RXBUSY

#define ESTAT_RXBUSY   0x2000

Definition at line 157 of file enc624j600_driver.h.

◆ ETXSTAT_COLCNT

#define ETXSTAT_COLCNT   0x000F

Definition at line 211 of file enc624j600_driver.h.

◆ ETXSTAT_CRCBAD

#define ETXSTAT_CRCBAD   0x0010

Definition at line 210 of file enc624j600_driver.h.

◆ ETXSTAT_DEFER

#define ETXSTAT_DEFER   0x0080

Definition at line 207 of file enc624j600_driver.h.

◆ ETXSTAT_EXDEFER

#define ETXSTAT_EXDEFER   0x0100

Definition at line 206 of file enc624j600_driver.h.

◆ ETXSTAT_LATECOL

#define ETXSTAT_LATECOL   0x0400

Definition at line 204 of file enc624j600_driver.h.

◆ ETXSTAT_MAXCOL

#define ETXSTAT_MAXCOL   0x0200

Definition at line 205 of file enc624j600_driver.h.

◆ ETXSTAT_R11

#define ETXSTAT_R11   0x0800

Definition at line 203 of file enc624j600_driver.h.

◆ ETXSTAT_R12

#define ETXSTAT_R12   0x1000

Definition at line 202 of file enc624j600_driver.h.

◆ ETXSTAT_R5

#define ETXSTAT_R5   0x0020

Definition at line 209 of file enc624j600_driver.h.

◆ ETXSTAT_R6

#define ETXSTAT_R6   0x0040

Definition at line 208 of file enc624j600_driver.h.

◆ MABBIPG_BBIPG

#define MABBIPG_BBIPG   0x007F

Definition at line 259 of file enc624j600_driver.h.

◆ MACLCON_MAXRET

#define MACLCON_MAXRET   0x000F

Definition at line 278 of file enc624j600_driver.h.

◆ MACLCON_R10

#define MACLCON_R10   0x0400

Definition at line 275 of file enc624j600_driver.h.

◆ MACLCON_R11

#define MACLCON_R11   0x0800

Definition at line 274 of file enc624j600_driver.h.

◆ MACLCON_R12

#define MACLCON_R12   0x1000

Definition at line 273 of file enc624j600_driver.h.

◆ MACLCON_R13

#define MACLCON_R13   0x2000

Definition at line 272 of file enc624j600_driver.h.

◆ MACLCON_R8

#define MACLCON_R8   0x0100

Definition at line 277 of file enc624j600_driver.h.

◆ MACLCON_R9

#define MACLCON_R9   0x0200

Definition at line 276 of file enc624j600_driver.h.

◆ MACON1_LOOPBK

#define MACON1_LOOPBK   0x0010

Definition at line 237 of file enc624j600_driver.h.

◆ MACON1_PASSALL

#define MACON1_PASSALL   0x0002

Definition at line 240 of file enc624j600_driver.h.

◆ MACON1_R0

#define MACON1_R0   0x0001

Definition at line 241 of file enc624j600_driver.h.

◆ MACON1_R10

#define MACON1_R10   0x0400

Definition at line 234 of file enc624j600_driver.h.

◆ MACON1_R11

#define MACON1_R11   0x0800

Definition at line 233 of file enc624j600_driver.h.

◆ MACON1_R14

#define MACON1_R14   0x4000

Definition at line 232 of file enc624j600_driver.h.

◆ MACON1_R15

#define MACON1_R15   0x8000

Definition at line 231 of file enc624j600_driver.h.

◆ MACON1_R3

#define MACON1_R3   0x0008

Definition at line 238 of file enc624j600_driver.h.

◆ MACON1_R8

#define MACON1_R8   0x0100

Definition at line 236 of file enc624j600_driver.h.

◆ MACON1_R9

#define MACON1_R9   0x0200

Definition at line 235 of file enc624j600_driver.h.

◆ MACON1_RXPAUS

#define MACON1_RXPAUS   0x0004

Definition at line 239 of file enc624j600_driver.h.

◆ MACON2_BPEN

#define MACON2_BPEN   0x2000

Definition at line 245 of file enc624j600_driver.h.

◆ MACON2_DEFER

#define MACON2_DEFER   0x4000

Definition at line 244 of file enc624j600_driver.h.

◆ MACON2_FULDPX

#define MACON2_FULDPX   0x0001

Definition at line 256 of file enc624j600_driver.h.

◆ MACON2_HFRMEN

#define MACON2_HFRMEN   0x0004

Definition at line 254 of file enc624j600_driver.h.

◆ MACON2_NOBKOFF

#define MACON2_NOBKOFF   0x1000

Definition at line 246 of file enc624j600_driver.h.

◆ MACON2_PADCFG0

#define MACON2_PADCFG0   0x0020

Definition at line 251 of file enc624j600_driver.h.

◆ MACON2_PADCFG1

#define MACON2_PADCFG1   0x0040

Definition at line 250 of file enc624j600_driver.h.

◆ MACON2_PADCFG2

#define MACON2_PADCFG2   0x0080

Definition at line 249 of file enc624j600_driver.h.

◆ MACON2_PHDREN

#define MACON2_PHDREN   0x0008

Definition at line 253 of file enc624j600_driver.h.

◆ MACON2_R1

#define MACON2_R1   0x0002

Definition at line 255 of file enc624j600_driver.h.

◆ MACON2_R8

#define MACON2_R8   0x0100

Definition at line 248 of file enc624j600_driver.h.

◆ MACON2_R9

#define MACON2_R9   0x0200

Definition at line 247 of file enc624j600_driver.h.

◆ MACON2_TXCRCEN

#define MACON2_TXCRCEN   0x0010

Definition at line 252 of file enc624j600_driver.h.

◆ MAIPG_IPG

#define MAIPG_IPG   0x007F

Definition at line 269 of file enc624j600_driver.h.

◆ MAIPG_R10

#define MAIPG_R10   0x0400

Definition at line 266 of file enc624j600_driver.h.

◆ MAIPG_R11

#define MAIPG_R11   0x0800

Definition at line 265 of file enc624j600_driver.h.

◆ MAIPG_R12

#define MAIPG_R12   0x1000

Definition at line 264 of file enc624j600_driver.h.

◆ MAIPG_R13

#define MAIPG_R13   0x2000

Definition at line 263 of file enc624j600_driver.h.

◆ MAIPG_R14

#define MAIPG_R14   0x4000

Definition at line 262 of file enc624j600_driver.h.

◆ MAIPG_R8

#define MAIPG_R8   0x0100

Definition at line 268 of file enc624j600_driver.h.

◆ MAIPG_R9

#define MAIPG_R9   0x0200

Definition at line 267 of file enc624j600_driver.h.

◆ MICMD_MIIRD

#define MICMD_MIIRD   0x0001

Definition at line 282 of file enc624j600_driver.h.

◆ MICMD_MIISCAN

#define MICMD_MIISCAN   0x0002

Definition at line 281 of file enc624j600_driver.h.

◆ MIREGADR_PHREG

#define MIREGADR_PHREG   0x001F

Definition at line 290 of file enc624j600_driver.h.

◆ MIREGADR_R10

#define MIREGADR_R10   0x0400

Definition at line 287 of file enc624j600_driver.h.

◆ MIREGADR_R11

#define MIREGADR_R11   0x0800

Definition at line 286 of file enc624j600_driver.h.

◆ MIREGADR_R12

#define MIREGADR_R12   0x1000

Definition at line 285 of file enc624j600_driver.h.

◆ MIREGADR_R8

#define MIREGADR_R8   0x0100

Definition at line 289 of file enc624j600_driver.h.

◆ MIREGADR_R9

#define MIREGADR_R9   0x0200

Definition at line 288 of file enc624j600_driver.h.

◆ MISTAT_BUSY

#define MISTAT_BUSY   0x0001

Definition at line 296 of file enc624j600_driver.h.

◆ MISTAT_NVALID

#define MISTAT_NVALID   0x0004

Definition at line 294 of file enc624j600_driver.h.

◆ MISTAT_R3

#define MISTAT_R3   0x0008

Definition at line 293 of file enc624j600_driver.h.

◆ MISTAT_SCAN

#define MISTAT_SCAN   0x0002

Definition at line 295 of file enc624j600_driver.h.

◆ PHANA_AD10

#define PHANA_AD10   0x0020

Definition at line 377 of file enc624j600_driver.h.

◆ PHANA_AD100

#define PHANA_AD100   0x0080

Definition at line 375 of file enc624j600_driver.h.

◆ PHANA_AD100FD

#define PHANA_AD100FD   0x0100

Definition at line 374 of file enc624j600_driver.h.

◆ PHANA_AD10FD

#define PHANA_AD10FD   0x0040

Definition at line 376 of file enc624j600_driver.h.

◆ PHANA_ADFAULT

#define PHANA_ADFAULT   0x2000

Definition at line 371 of file enc624j600_driver.h.

◆ PHANA_ADIEEE0

#define PHANA_ADIEEE0   0x0001

Definition at line 382 of file enc624j600_driver.h.

◆ PHANA_ADIEEE1

#define PHANA_ADIEEE1   0x0002

Definition at line 381 of file enc624j600_driver.h.

◆ PHANA_ADIEEE2

#define PHANA_ADIEEE2   0x0004

Definition at line 380 of file enc624j600_driver.h.

◆ PHANA_ADIEEE3

#define PHANA_ADIEEE3   0x0008

Definition at line 379 of file enc624j600_driver.h.

◆ PHANA_ADIEEE4

#define PHANA_ADIEEE4   0x0010

Definition at line 378 of file enc624j600_driver.h.

◆ PHANA_ADNP

#define PHANA_ADNP   0x8000

Definition at line 370 of file enc624j600_driver.h.

◆ PHANA_ADPAUS0

#define PHANA_ADPAUS0   0x0400

Definition at line 373 of file enc624j600_driver.h.

◆ PHANA_ADPAUS1

#define PHANA_ADPAUS1   0x0800

Definition at line 372 of file enc624j600_driver.h.

◆ PHANE_LPANABL

#define PHANE_LPANABL   0x0001

Definition at line 405 of file enc624j600_driver.h.

◆ PHANE_LPARCD

#define PHANE_LPARCD   0x0002

Definition at line 404 of file enc624j600_driver.h.

◆ PHANE_PDFLT

#define PHANE_PDFLT   0x0010

Definition at line 403 of file enc624j600_driver.h.

◆ PHANLPA_LP10

#define PHANLPA_LP10   0x0020

Definition at line 394 of file enc624j600_driver.h.

◆ PHANLPA_LP100

#define PHANLPA_LP100   0x0080

Definition at line 392 of file enc624j600_driver.h.

◆ PHANLPA_LP100FD

#define PHANLPA_LP100FD   0x0100

Definition at line 391 of file enc624j600_driver.h.

◆ PHANLPA_LP100T4

#define PHANLPA_LP100T4   0x0200

Definition at line 390 of file enc624j600_driver.h.

◆ PHANLPA_LP10FD

#define PHANLPA_LP10FD   0x0040

Definition at line 393 of file enc624j600_driver.h.

◆ PHANLPA_LPACK

#define PHANLPA_LPACK   0x4000

Definition at line 386 of file enc624j600_driver.h.

◆ PHANLPA_LPFAULT

#define PHANLPA_LPFAULT   0x2000

Definition at line 387 of file enc624j600_driver.h.

◆ PHANLPA_LPIEEE

#define PHANLPA_LPIEEE   0x001F

Definition at line 395 of file enc624j600_driver.h.

◆ PHANLPA_LPIEEE0

#define PHANLPA_LPIEEE0   0x0001

Definition at line 400 of file enc624j600_driver.h.

◆ PHANLPA_LPIEEE1

#define PHANLPA_LPIEEE1   0x0002

Definition at line 399 of file enc624j600_driver.h.

◆ PHANLPA_LPIEEE2

#define PHANLPA_LPIEEE2   0x0004

Definition at line 398 of file enc624j600_driver.h.

◆ PHANLPA_LPIEEE3

#define PHANLPA_LPIEEE3   0x0008

Definition at line 397 of file enc624j600_driver.h.

◆ PHANLPA_LPIEEE4

#define PHANLPA_LPIEEE4   0x0010

Definition at line 396 of file enc624j600_driver.h.

◆ PHANLPA_LPNP

#define PHANLPA_LPNP   0x8000

Definition at line 385 of file enc624j600_driver.h.

◆ PHANLPA_LPPAUS0

#define PHANLPA_LPPAUS0   0x0400

Definition at line 389 of file enc624j600_driver.h.

◆ PHANLPA_LPPAUS1

#define PHANLPA_LPPAUS1   0x0800

Definition at line 388 of file enc624j600_driver.h.

◆ PHCON1_ANEN

#define PHCON1_ANEN   0x1000

Definition at line 353 of file enc624j600_driver.h.

◆ PHCON1_PFULDPX

#define PHCON1_PFULDPX   0x0100

Definition at line 356 of file enc624j600_driver.h.

◆ PHCON1_PLOOPBK

#define PHCON1_PLOOPBK   0x4000

Definition at line 351 of file enc624j600_driver.h.

◆ PHCON1_PRST

#define PHCON1_PRST   0x8000

Definition at line 350 of file enc624j600_driver.h.

◆ PHCON1_PSLEEP

#define PHCON1_PSLEEP   0x0800

Definition at line 354 of file enc624j600_driver.h.

◆ PHCON1_RENEG

#define PHCON1_RENEG   0x0200

Definition at line 355 of file enc624j600_driver.h.

◆ PHCON1_SPD100

#define PHCON1_SPD100   0x2000

Definition at line 352 of file enc624j600_driver.h.

◆ PHCON2_EDPWRDN

#define PHCON2_EDPWRDN   0x2000

Definition at line 408 of file enc624j600_driver.h.

◆ PHCON2_EDSTAT

#define PHCON2_EDSTAT   0x0002

Definition at line 411 of file enc624j600_driver.h.

◆ PHCON2_EDTHRES

#define PHCON2_EDTHRES   0x0800

Definition at line 409 of file enc624j600_driver.h.

◆ PHCON2_FRCLNK

#define PHCON2_FRCLNK   0x0004

Definition at line 410 of file enc624j600_driver.h.

◆ PHSTAT1_ANABLE

#define PHSTAT1_ANABLE   0x0008

Definition at line 365 of file enc624j600_driver.h.

◆ PHSTAT1_ANDONE

#define PHSTAT1_ANDONE   0x0020

Definition at line 363 of file enc624j600_driver.h.

◆ PHSTAT1_EXTREGS

#define PHSTAT1_EXTREGS   0x0001

Definition at line 367 of file enc624j600_driver.h.

◆ PHSTAT1_FULL10

#define PHSTAT1_FULL10   0x1000

Definition at line 361 of file enc624j600_driver.h.

◆ PHSTAT1_FULL100

#define PHSTAT1_FULL100   0x4000

Definition at line 359 of file enc624j600_driver.h.

◆ PHSTAT1_HALF10

#define PHSTAT1_HALF10   0x0800

Definition at line 362 of file enc624j600_driver.h.

◆ PHSTAT1_HALF100

#define PHSTAT1_HALF100   0x2000

Definition at line 360 of file enc624j600_driver.h.

◆ PHSTAT1_LLSTAT

#define PHSTAT1_LLSTAT   0x0004

Definition at line 366 of file enc624j600_driver.h.

◆ PHSTAT1_LRFAULT

#define PHSTAT1_LRFAULT   0x0010

Definition at line 364 of file enc624j600_driver.h.

◆ PHSTAT2_PLRITY

#define PHSTAT2_PLRITY   0x0010

Definition at line 414 of file enc624j600_driver.h.

◆ PHSTAT3_SPDDPX0

#define PHSTAT3_SPDDPX0   0x0004

Definition at line 419 of file enc624j600_driver.h.

◆ PHSTAT3_SPDDPX1

#define PHSTAT3_SPDDPX1   0x0008

Definition at line 418 of file enc624j600_driver.h.

◆ PHSTAT3_SPDDPX2

#define PHSTAT3_SPDDPX2   0x0010

Definition at line 417 of file enc624j600_driver.h.

◆ RSV_BROADCAST_PACKET

#define RSV_BROADCAST_PACKET   0x00000200

Definition at line 433 of file enc624j600_driver.h.

◆ RSV_CARRIER_EVENT

#define RSV_CARRIER_EVENT   0x00000004

Definition at line 439 of file enc624j600_driver.h.

◆ RSV_CONTROL_FRAME

#define RSV_CONTROL_FRAME   0x00000800

Definition at line 431 of file enc624j600_driver.h.

◆ RSV_CRC_ERROR

#define RSV_CRC_ERROR   0x00000010

Definition at line 438 of file enc624j600_driver.h.

◆ RSV_DRIBBLE_NIBBLE

#define RSV_DRIBBLE_NIBBLE   0x00000400

Definition at line 432 of file enc624j600_driver.h.

◆ RSV_HASH_FILTER

#define RSV_HASH_FILTER   0x00020000

Definition at line 425 of file enc624j600_driver.h.

◆ RSV_LENGTH_CHECK_ERROR

#define RSV_LENGTH_CHECK_ERROR   0x00000020

Definition at line 437 of file enc624j600_driver.h.

◆ RSV_LENGTH_OUT_OF_RANGE

#define RSV_LENGTH_OUT_OF_RANGE   0x00000040

Definition at line 436 of file enc624j600_driver.h.

◆ RSV_MAGIC_PACKET_FILTER

#define RSV_MAGIC_PACKET_FILTER   0x00040000

Definition at line 424 of file enc624j600_driver.h.

◆ RSV_MULTICAST_PACKET

#define RSV_MULTICAST_PACKET   0x00000100

Definition at line 434 of file enc624j600_driver.h.

◆ RSV_NOT_ME_FILTER

#define RSV_NOT_ME_FILTER   0x00010000

Definition at line 426 of file enc624j600_driver.h.

◆ RSV_PACKET_IGNORED

#define RSV_PACKET_IGNORED   0x00000001

Definition at line 440 of file enc624j600_driver.h.

◆ RSV_PATTERN_MATCH_FILTER

#define RSV_PATTERN_MATCH_FILTER   0x00080000

Definition at line 423 of file enc624j600_driver.h.

◆ RSV_PAUSE_CONTROL_FRAME

#define RSV_PAUSE_CONTROL_FRAME   0x00001000

Definition at line 430 of file enc624j600_driver.h.

◆ RSV_RECEIVED_OK

#define RSV_RECEIVED_OK   0x00000080

Definition at line 435 of file enc624j600_driver.h.

◆ RSV_RUNT_FILTER

#define RSV_RUNT_FILTER   0x00008000

Definition at line 427 of file enc624j600_driver.h.

◆ RSV_UNICAST_FILTER

#define RSV_UNICAST_FILTER   0x00100000

Definition at line 422 of file enc624j600_driver.h.

◆ RSV_UNKNOWN_OPCODE

#define RSV_UNKNOWN_OPCODE   0x00002000

Definition at line 429 of file enc624j600_driver.h.

◆ RSV_VLAN_TYPE

#define RSV_VLAN_TYPE   0x00004000

Definition at line 428 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 848 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 823 of file enc624j600_driver.c.

◆ enc624j600DisableIrq()

void enc624j600DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 198 of file enc624j600_driver.c.

◆ enc624j600DumpPhyReg()

void enc624j600DumpPhyReg ( NetInterface interface)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 922 of file enc624j600_driver.c.

◆ enc624j600DumpReg()

void enc624j600DumpReg ( NetInterface interface)

Dump registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 882 of file enc624j600_driver.c.

◆ enc624j600EnableIrq()

void enc624j600EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 186 of file enc624j600_driver.c.

◆ enc624j600EventHandler()

void enc624j600EventHandler ( NetInterface interface)

ENC624J600 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 273 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 69 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 211 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
[in]dataBuffer where to store the incoming data
[in]lengthNumber of data to read

Definition at line 771 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 691 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 641 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 409 of file enc624j600_driver.c.

◆ enc624j600SendPacket()

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

Send a packet.

Parameters
[in]interfaceUnderlying network interface
[in]bufferMulti-part buffer containing the data to send
[in]offsetOffset to the first data byte
Returns
Error code

Definition at line 353 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 798 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 577 of file enc624j600_driver.c.

◆ enc624j600Tick()

void enc624j600Tick ( NetInterface interface)

ENC624J600 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 176 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 488 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 543 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 719 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 672 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 616 of file enc624j600_driver.c.

Variable Documentation

◆ enc624j600Driver

const NicDriver enc624j600Driver

ENC624J600 driver.

Definition at line 42 of file enc624j600_driver.c.