Netdev Driver for the Microchip ATWINC15x0 WiFi Module. More...
Netdev Driver for the Microchip ATWINC15x0 WiFi Module.
Public interface for ATWINC15x0 netdev driver
Definition in file atwinc15x0.h.
#include "bsp/include/nm_bsp.h"
#include "net/ethernet.h"
#include "net/wifi.h"
#include "net/netdev.h"
#include "periph/gpio.h"
#include "periph/spi.h"
#include "ringbuffer.h"
Go to the source code of this file.
Data Structures | |
struct | atwinc15x0_params_t |
ATWINC15x0 hardware and global parameters. More... | |
struct | atwinc15x0 |
ATWINC15x0 device descriptor type. More... | |
#define | CONFIG_ATWINC15X0_RECV_BCAST (1) |
Enable reception of broadcast frames. | |
#define | CONFIG_ATWINC15X0_SCAN_LIST_NUMOF (3) |
Maximum number of supported entries in a scan result of an ATWINC15x0 transceiver. | |
enum | atwinc15x0_state_t { ATWINC15X0_STATE_SLEEP , ATWINC15X0_STATE_DISCONNECTING , ATWINC15X0_STATE_DISCONNECTED , ATWINC15X0_STATE_DISCONNECTED_SCANNING , ATWINC15X0_STATE_DISCONNECTED_CONNECTING , ATWINC15X0_STATE_CONNECTED , ATWINC15X0_STATE_CONNECTED_SCANNING , ATWINC15X0_STATE_CONNECTED_CONNECTING } |
ATWINC15x0 internal states. More... | |
typedef struct atwinc15x0 | atwinc15x0_t |
ATWINC15x0 device descriptor type. | |
void | atwinc15x0_setup (atwinc15x0_t *dev, const atwinc15x0_params_t *params, uint8_t idx) |
Setup the ATWINC15x0 WiFi module. | |
#define CONFIG_ATWINC15X0_RECV_BCAST (1) |
Enable reception of broadcast frames.
If your application does not rely on receiving broadcast messages you can disable this to save power.
Definition at line 42 of file atwinc15x0.h.
#define CONFIG_ATWINC15X0_SCAN_LIST_NUMOF (3) |
Maximum number of supported entries in a scan result of an ATWINC15x0 transceiver.
Definition at line 50 of file atwinc15x0.h.
enum atwinc15x0_state_t |
ATWINC15x0 internal states.
Definition at line 69 of file atwinc15x0.h.
void atwinc15x0_setup | ( | atwinc15x0_t * | dev, |
const atwinc15x0_params_t * | params, | ||
uint8_t | idx | ||
) |
Setup the ATWINC15x0 WiFi module.
[in] | dev | Device descriptor |
[in] | params | Parameters for device initialization |
[in] | idx | Index in the params struct |