22 #ifndef __EENC28J60__H_
23 #define __EENC28J60__H_
25 #define __PROG_TYPES_COMPAT__
44 static void writeByte(uint16_t dst, byte b);
45 static void writeBuf(uint16_t dst, uint16_t len,
const byte* data);
46 static void writeBuf(uint16_t len,
const byte* data);
49 static void moveMem(uint16_t dest, uint16_t src, uint16_t len);
50 static void readBuf(uint16_t src, uint16_t len, byte* data);
51 static void readBuf(uint16_t len, byte* data);
54 static void packetSend(uint16_t len,
const byte* data);
58 static uint8_t
begin(uint8_t cspin);
static void moveMem(uint16_t dest, uint16_t src, uint16_t len)
static byte readByte(uint16_t src)
static uint8_t begin(uint8_t cspin)
static void enableBroadcast()
static void writeByte(byte b)
static void packetSend(uint16_t len)
static bool isLinkUp()
Determines whether the network link is ready
Encapsulates access to the ENC28J60 hardware.
Implements a "shared" circular buffer using spare ENC28J60 memory.
static uint16_t hardwareChecksumRxOffset(uint16_t offset, uint16_t len)
static uint16_t hardwareChecksum(uint16_t src, uint16_t len)
Base data structures for Internet communication.
static void readBuf(uint16_t src, uint16_t len, byte *data)
static void writeBuf(uint16_t dst, uint16_t len, const byte *data)
Abstract base class for any network service running in EtherDune.