31#ifndef _WINC1500_DRIVER_H
32#define _WINC1500_DRIVER_H
38#ifndef WINC1500_TX_BUFFER_SIZE
39 #define WINC1500_TX_BUFFER_SIZE 1600
40#elif (WINC1500_TX_BUFFER_SIZE != 1600)
41 #error WINC1500_TX_BUFFER_SIZE parameter is not valid
45#ifndef WINC1500_RX_BUFFER_SIZE
46 #define WINC1500_RX_BUFFER_SIZE 1600
47#elif (WINC1500_RX_BUFFER_SIZE != 1600)
48 #error WINC1500_RX_BUFFER_SIZE parameter is not valid
60error_t winc1500Init(NetInterface *interface);
62void winc1500Tick(NetInterface *interface);
64void winc1500EnableIrq(NetInterface *interface);
65void winc1500DisableIrq(NetInterface *interface);
66bool_t winc1500IrqHandler(
void);
67void winc1500EventHandler(NetInterface *interface);
69error_t winc1500SendPacket(NetInterface *interface,
70 const NetBuffer *buffer,
size_t offset, NetTxAncillary *ancillary);
72error_t winc1500UpdateMacAddrFilter(NetInterface *interface);
74void winc1500AppWifiEvent(uint8_t msgType,
void *msg);
75void winc1500AppEthEvent(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