31#ifndef _MRF24WG_DRIVER_H
32#define _MRF24WG_DRIVER_H
38#ifndef MRF24WG_TX_BUFFER_SIZE
39 #define MRF24WG_TX_BUFFER_SIZE 1536
40#elif (MRF24WG_TX_BUFFER_SIZE != 1536)
41 #error MRF24WG_TX_BUFFER_SIZE parameter is not valid
45#ifndef MRF24WG_RX_BUFFER_SIZE
46 #define MRF24WG_RX_BUFFER_SIZE 1536
47#elif (MRF24WG_RX_BUFFER_SIZE != 1536)
48 #error MRF24WG_RX_BUFFER_SIZE parameter is not valid
65 uint8_t data[MRF24WG_TX_BUFFER_SIZE];
73error_t mrf24wgInit(NetInterface *interface);
75void mrf24wgTick(NetInterface *interface);
77void mrf24wgEnableIrq(NetInterface *interface);
78void mrf24wgDisableIrq(NetInterface *interface);
79void mrf24wgEventHandler(NetInterface *interface);
81error_t mrf24wgSendPacket(NetInterface *interface,
82 const NetBuffer *buffer,
size_t offset, NetTxAncillary *ancillary);
84error_t mrf24wgUpdateMacAddrFilter(NetInterface *interface);
86void mrf24wgAppWifiEvent(uint8_t msgType,
void *msg);
87void mrf24wgAppEthEvent(uint8_t msgType,
void *msg,
void *ctrlBuf);
error_t
Error codes.
Definition error.h:43
Network interface controller abstraction layer.
TX buffer.
Definition mrf24wg_driver.h:62
Structure describing a buffer that spans multiple chunks.
Definition net_mem.h:89
NIC driver.
Definition nic.h:283