# include/mios32/mios32_enc28j60.h File Reference

## Defines
#define | MIOS32_ENC28J60_SPI 0
#define | MIOS32_ENC28J60_SPI_RC_PIN 1
#define | MIOS32_ENC28J60_MAX_FRAME_SIZE 1518
#define | MIOS32_ENC28J60_FULL_DUPLEX 1
#define | MIOS32_ENC28J60_MY_MAC_ADDR1 0
#define | MIOS32_ENC28J60_MY_MAC_ADDR2 0
#define | MIOS32_ENC28J60_MY_MAC_ADDR3 0
#define | MIOS32_ENC28J60_MY_MAC_ADDR4 0
#define | MIOS32_ENC28J60_MY_MAC_ADDR5 0
#define | MIOS32_ENC28J60_MY_MAC_ADDR6 0
## Functions
s32 | MIOS32_ENC28J60_Init (u32 mode)
s32 | MIOS32_ENC28J60_PowerOn (void)
s32 | MIOS32_ENC28J60_PowerOff (void)
s32 | MIOS32_ENC28J60_CheckAvailable (u8 was_available)
s32 | MIOS32_ENC28J60_LinkAvailable (void)
s32 | MIOS32_ENC28J60_RevIDGet (void)
s32 | MIOS32_ENC28J60_MAC_AddrSet (u8 new_mac_addr[6])
u8 * | MIOS32_ENC28J60_MAC_AddrGet (void)
s32 | MIOS32_ENC28J60_PackageSend (u8 *buffer, u16 len, u8 *buffer2, u16 len2)
s32 | MIOS32_ENC28J60_PackageReceive (u8 *buffer, u16 buffer_size)
s32 | MIOS32_ENC28J60_MACDiscardRx (void)
s32 | MIOS32_ENC28J60_ReadETHReg (u8 address)
s32 | MIOS32_ENC28J60_ReadMACReg (u8 address)
s32 | MIOS32_ENC28J60_ReadPHYReg (u8 reg)
s32 | MIOS32_ENC28J60_WriteReg (u8 address, u8 data)
s32 | MIOS32_ENC28J60_BFCReg (u8 address, u8 data)
s32 | MIOS32_ENC28J60_BFSReg (u8 address, u8 data)
s32 | MIOS32_ENC28J60_WritePHYReg (u8 reg, u16 data)
s32 | MIOS32_ENC28J60_BankSel (u16 register)
s32 | MIOS32_ENC28J60_SendSystemReset (void)
s32 | MIOS32_ENC28J60_MACGet (void)
s32 | MIOS32_ENC28J60_MACGetArray (u8 *buffer, u16 len)
s32 | MIOS32_ENC28J60_MACPut (u8 value)
s32 | MIOS32_ENC28J60_MACPutArray (u8 *buffer, u16 len)

## Define Documentation

#define MIOS32_ENC28J60_FULL_DUPLEX 1

#define MIOS32_ENC28J60_MAX_FRAME_SIZE 1518

#define MIOS32_ENC28J60_MY_MAC_ADDR1 0

#define MIOS32_ENC28J60_MY_MAC_ADDR2 0

#define MIOS32_ENC28J60_MY_MAC_ADDR3 0

#define MIOS32_ENC28J60_MY_MAC_ADDR4 0

#define MIOS32_ENC28J60_MY_MAC_ADDR5 0

#define MIOS32_ENC28J60_MY_MAC_ADDR6 0

#define MIOS32_ENC28J60_SPI 0

#define MIOS32_ENC28J60_SPI_RC_PIN 1