14 #include <netinterface.h> 18 #include <nbwifi/wilc/ConfigNBWIFIAT.h> 21 extern NBWifi::Master * theWifiIntf;
27 class SPIMaster :
public WILC1000
39 void WifiTask()
override;
41 friend class WILC1000;
47 void send_func( PoolPtr poolPtr )
override;
48 void kill_if()
override;
49 void EnableMulticast( MACADR macAddress, BOOL addAddress )
override;
50 bool LinkActive()
override;
51 int LinkSpeed()
override;
52 bool LinkDuplex()
override;
53 const char* GetInterfaceName()
override;
55 bool SetBusSpeed( uint32_t busSpeed )
override;
56 SPIMaster(
int irqNum,
int moduleNum, uint8_t csNum,
int connectorNum,
int csGpioPinNum,
int resetPinNum,
const char * name);
57 inline int GetModuleNum()
const {
return m_moduleNum;};
58 inline OS_SEM * GetBusTransferSem() {
return &BusTransferSem;};
59 inline OS_CRIT * GetBusTransferCrit() {
return &busTxCrit;};
Semaphores are used to control access to shared resource critical section, or to communicate between ...
Definition: nbrtos.h:289
NetBurner System Constants.
NBWifi namespace that encompaces the WiFi driver.
Definition: nbWifiBsp.h:15
An OS_CRIT object is used to establish critical sections of code that can only be run by one task at ...
Definition: nbrtos.h:840