mikroSDK Reference Manual
wf200_driver.h
Go to the documentation of this file.
1
31#ifndef _WF200_DRIVER_H
32#define _WF200_DRIVER_H
33
34//Dependencies
35#include "core/nic.h"
36
37//C++ guard
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42//WF200 driver (STA mode)
43extern const NicDriver wf200StaDriver;
44//WF200 driver (AP mode)
45extern const NicDriver wf200ApDriver;
46
47//WF200 related functions
48error_t wf200Init(NetInterface *interface);
49
50void wf200Tick(NetInterface *interface);
51
52void wf200EnableIrq(NetInterface *interface);
53void wf200DisableIrq(NetInterface *interface);
54void wf200EventHandler(NetInterface *interface);
55
56error_t wf200SendPacket(NetInterface *interface,
57 const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary);
58
59error_t wf200UpdateMacAddrFilter(NetInterface *interface);
60
61void wf200ConnectCallback(void);
62void wf200DisconnectCallback(void);
63void wf200StartApCallback(void);
64void wf200StopApCallback(void);
65
66//C++ guard
67#ifdef __cplusplus
68}
69#endif
70
71#endif
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