31#ifndef _WILC1000_DRIVER_H
32#define _WILC1000_DRIVER_H
38#ifndef WILC1000_TX_BUFFER_SIZE
39 #define WILC1000_TX_BUFFER_SIZE 1600
40#elif (WILC1000_TX_BUFFER_SIZE != 1600)
41 #error WILC1000_TX_BUFFER_SIZE parameter is not valid
45#ifndef WILC1000_RX_BUFFER_SIZE
46 #define WILC1000_RX_BUFFER_SIZE 1600
47#elif (WILC1000_RX_BUFFER_SIZE != 1600)
48 #error WILC1000_RX_BUFFER_SIZE parameter is not valid
62error_t wilc1000Init(NetInterface *interface);
64void wilc1000Tick(NetInterface *interface);
66void wilc1000EnableIrq(NetInterface *interface);
67void wilc1000DisableIrq(NetInterface *interface);
68bool_t wilc1000IrqHandler(
void);
69void wilc1000EventHandler(NetInterface *interface);
71error_t wilc1000SendPacket(NetInterface *interface,
72 const NetBuffer *buffer,
size_t offset, NetTxAncillary *ancillary);
74error_t wilc1000UpdateMacAddrFilter(NetInterface *interface);
75bool_t wilc1000GetAddrRefCount(NetInterface *interface,
const MacAddr *macAddr);
77void wilc1000AppWifiEvent(uint8_t msgType,
void *msg);
78void wilc1000AppEthEvent(uint8_t msgType,
void *msg,
void *ctrlBuf);
error_t
Error codes.
Definition error.h:43
Network interface controller abstraction layer.
Structure describing a buffer that spans multiple chunks.
Definition net_mem.h:89
NIC driver.
Definition nic.h:283