mikroSDK Reference Manual
bcm43362_driver.h
Go to the documentation of this file.
1
31#ifndef _BCM43362_DRIVER_H
32#define _BCM43362_DRIVER_H
33
34//Dependencies
35#include "core/nic.h"
36
37//C++ guard
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42//BCM43362 driver (STA mode)
43extern const NicDriver bcm43362StaDriver;
44//BCM43362 driver (AP mode)
45extern const NicDriver bcm43362ApDriver;
46
47//BCM43362 related functions
48error_t bcm43362Init(NetInterface *interface);
49
50void bcm43362Tick(NetInterface *interface);
51
52void bcm43362EnableIrq(NetInterface *interface);
53void bcm43362DisableIrq(NetInterface *interface);
54bool_t bcm43362IrqHandler(void);
55void bcm43362EventHandler(NetInterface *interface);
56
57error_t bcm43362SendPacket(NetInterface *interface,
58 const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary);
59
60error_t bcm43362UpdateMacAddrFilter(NetInterface *interface);
61
62void bcm43362AppWifiEvent(uint8_t msgType, void *msg);
63void bcm43362AppEthEvent(uint8_t msgType, void *msg, void *ctrlBuf);
64
65//C++ guard
66#ifdef __cplusplus
67}
68#endif
69
70#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