109 #ifndef ti_drivers_WiFi__include
110 #define ti_drivers_WiFi__include
129 #define WiFi_CMD_RESERVED 32
143 #define WiFi_STATUS_RESERVED -32
151 #define WiFi_STATUS_SUCCESS 0
159 #define WiFi_STATUS_ERROR -1
168 #define WiFi_STATUS_UNDEFINEDCMD -2
303 extern int WiFi_control(WiFi_Handle handle,
unsigned int cmd,
void *arg);
346 extern WiFi_Handle
WiFi_open(
unsigned int wifiIndex,
unsigned int spiIndex,
WiFi_InitFxn initFxn
Definition: WiFi.h:245
WiFi_CloseFxn closeFxn
Definition: WiFi.h:239
void(* WiFi_InitFxn)(WiFi_Handle handle)
A function pointer to a driver specific implementation of WiFi_init().
Definition: WiFi.h:209
struct WiFi_Config WiFi_Config
WiFi Global configuration.
The definition of a WiFi function table that contains the required set of functions to control a spec...
Definition: WiFi.h:237
WiFi Global configuration.
Definition: WiFi.h:262
int WiFi_control(WiFi_Handle handle, unsigned int cmd, void *arg)
Function performs implementation specific features on a given WiFi_Handle.
WiFi_ControlFxn controlFxn
Definition: WiFi.h:242
struct WiFi_Config * WiFi_Handle
A handle that is returned from a WiFi_open() call.
Definition: WiFi.h:189
void WiFi_Params_init(WiFi_Params *params)
Function to initialize the WiFi_Params structure to its defaults.
void WiFi_init(void)
Function to initialize the WiFi module.
void * object
Definition: WiFi.h:267
struct WiFi_Params WiFi_Params
WiFi Parameters.
uint32_t bitRate
Definition: WiFi.h:200
struct WiFi_FxnTable WiFi_FxnTable
The definition of a WiFi function table that contains the required set of functions to control a spec...
void(* WiFi_CloseFxn)(WiFi_Handle handle)
A function pointer to a driver specific implementation of WiFi_close().
Definition: WiFi.h:223
void WiFi_close(WiFi_Handle handle)
Function to close a WiFi peripheral specified by the WiFi handle.
WiFi_OpenFxn openFxn
Definition: WiFi.h:248
void * custom
Definition: WiFi.h:201
WiFi_Handle WiFi_open(unsigned int wifiIndex, unsigned int spiIndex, WiFi_evntCallback evntCallback, WiFi_Params *params)
Function to initialize a given WiFi peripheral.
void const * hwAttrs
Definition: WiFi.h:270
WiFi_FxnTable const * fxnTablePtr
Definition: WiFi.h:264
WiFi_Handle(* WiFi_OpenFxn)(WiFi_Handle handle, unsigned int spiIndex, WiFi_evntCallback evntCallback, WiFi_Params *params)
A function pointer to a driver specific implementation of WiFi_open().
Definition: WiFi.h:215
WiFi Parameters.
Definition: WiFi.h:199
void(* WiFi_evntCallback)(long eventType, char *data, unsigned char length)
A typedef to a an unsolicited event callback function.
Definition: WiFi.h:184
int(* WiFi_ControlFxn)(WiFi_Handle handle, unsigned int cmd, void *arg)
A function pointer to a driver specific implementation of WiFi_control().
Definition: WiFi.h:229