Copyright (c) 2016-2018 Microchip Technology Inc.
and its subsidiaries.
#include "compiler.h"
Data Structures | |
struct | hif_msg_t |
struct | params_dispatch |
Macros | |
#define | MSG_CMD 5 |
#define | MSG_QUIT 4 |
#define | MSG_RX 1 |
#define | MSG_START 6 |
#define | MSG_TX_AP 3 |
#define | MSG_TX_STA 2 |
Typedefs | |
typedef void(* | wifi_task_cb )(void *arg) |
Functions | |
void | os_hook_deinit (void) |
uint8_t | os_hook_dispatch_no_wait (wifi_task_cb handler, void *p) |
Run handler function in the netif thread context and return immediately. More... | |
void | os_hook_dispatch_wait (wifi_task_cb handler, struct params_dispatch *p, void *pv) |
Run handler function in the netif thread context and wait for function return. More... | |
void | os_hook_init (void) |
Initialize netif thread. More... | |
void | os_hook_isr (void) |
Put interrupt request in netif queue for later processing. More... | |
void | os_hook_notify (void) |
Release lock to notify calling thread that netif job is done. More... | |
void | os_hook_send_start (wifi_task_cb handler, struct params_dispatch *p, void *pv) |
Start WiFi in the netif thread context and wait for function return. More... | |
void | os_hook_send_stop (wifi_task_cb handler, struct params_dispatch *p, void *pv) |
void | os_hook_set_handle (void *task) |
#define MSG_CMD 5 |
Referenced by os_hif_task(), os_hook_dispatch_no_wait(), and os_hook_dispatch_wait().
#define MSG_QUIT 4 |
#define MSG_RX 1 |
Referenced by os_hif_task(), and os_hook_isr().
#define MSG_START 6 |
Referenced by os_hif_task(), and os_hook_send_start().
#define MSG_TX_AP 3 |
Referenced by os_hif_task(), wilc_netif_tx(), and winc_netif_tx().
#define MSG_TX_STA 2 |
Referenced by os_hif_task(), wilc_netif_tx(), wilc_netif_tx_from_queue(), and winc_netif_tx().
typedef void(* wifi_task_cb)(void *arg) |
void os_hook_deinit | ( | void | ) |
uint8_t os_hook_dispatch_no_wait | ( | wifi_task_cb | handler, |
void * | p | ||
) |
Run handler function in the netif thread context and return immediately.
void os_hook_dispatch_wait | ( | wifi_task_cb | handler, |
struct params_dispatch * | p, | ||
void * | pv | ||
) |
Run handler function in the netif thread context and wait for function return.
void os_hook_init | ( | void | ) |
Initialize netif thread.
void os_hook_isr | ( | void | ) |
Put interrupt request in netif queue for later processing.
void os_hook_notify | ( | void | ) |
Release lock to notify calling thread that netif job is done.
void os_hook_send_start | ( | wifi_task_cb | handler, |
struct params_dispatch * | p, | ||
void * | pv | ||
) |
Start WiFi in the netif thread context and wait for function return.
void os_hook_send_stop | ( | wifi_task_cb | handler, |
struct params_dispatch * | p, | ||
void * | pv | ||
) |
void os_hook_set_handle | ( | void * | task | ) |