Loading...
Searching...
No Matches
atwinc15x0_params.h File Reference

Default configuration for the ATWINC15x0 WiFi netdev driver. More...

Detailed Description

Default configuration for the ATWINC15x0 WiFi netdev driver.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file atwinc15x0_params.h.

#include "board.h"
+ Include dependency graph for atwinc15x0_params.h:

Go to the source code of this file.

Variables

static const atwinc15x0_params_t atwinc15x0_params []
 Allocate some memory to store the actual configuration.
 
#define WIFI_SSID   "RIOT_AP"
 SSID of the AP to be used.
 
#define WIFI_PASS   "ThisistheRIOTporttoESP"
 Passphrase used for the AP as clear text (max.
 

Set default configuration parameters

Pins are adapted to Arduino Mega2560 boards.

#define ATWINC15X0_PARAM_SPI   SPI_DEV(0)
 
#define ATWINC15X0_PARAM_SPI_CLK   SPI_CLK_10MHZ
 
#define ATWINC15X0_PARAM_SSN_PIN   GPIO_PIN(1, 4) /* D10 (PB4) */
 
#define ATWINC15X0_PARAM_RESET_PIN   GPIO_PIN(4, 3) /* D5 (PE3) */
 
#define ATWINC15X0_PARAM_IRQ_PIN   GPIO_PIN(7, 4) /* D7 (PH4) */
 
#define ATWINC15X0_PARAM_CHIP_EN_PIN   GPIO_UNDEF
 
#define ATWINC15X0_PARAM_WAKE_PIN   GPIO_UNDEF
 
#define ATWINC15X0_PARAMS
 

Macro Definition Documentation

◆ ATWINC15X0_PARAM_CHIP_EN_PIN

#define ATWINC15X0_PARAM_CHIP_EN_PIN   GPIO_UNDEF

Definition at line 68 of file atwinc15x0_params.h.

◆ ATWINC15X0_PARAM_IRQ_PIN

#define ATWINC15X0_PARAM_IRQ_PIN   GPIO_PIN(7, 4) /* D7 (PH4) */

Definition at line 64 of file atwinc15x0_params.h.

◆ ATWINC15X0_PARAM_RESET_PIN

#define ATWINC15X0_PARAM_RESET_PIN   GPIO_PIN(4, 3) /* D5 (PE3) */

Definition at line 60 of file atwinc15x0_params.h.

◆ ATWINC15X0_PARAM_SPI

#define ATWINC15X0_PARAM_SPI   SPI_DEV(0)

Definition at line 48 of file atwinc15x0_params.h.

◆ ATWINC15X0_PARAM_SPI_CLK

#define ATWINC15X0_PARAM_SPI_CLK   SPI_CLK_10MHZ

Definition at line 52 of file atwinc15x0_params.h.

◆ ATWINC15X0_PARAM_SSN_PIN

#define ATWINC15X0_PARAM_SSN_PIN   GPIO_PIN(1, 4) /* D10 (PB4) */

Definition at line 56 of file atwinc15x0_params.h.

◆ ATWINC15X0_PARAM_WAKE_PIN

#define ATWINC15X0_PARAM_WAKE_PIN   GPIO_UNDEF

Definition at line 72 of file atwinc15x0_params.h.

◆ ATWINC15X0_PARAMS

#define ATWINC15X0_PARAMS
Value:
{ \
.spi = ATWINC15X0_PARAM_SPI, \
.spi_clk = ATWINC15X0_PARAM_SPI_CLK, \
.ssn_pin = ATWINC15X0_PARAM_SSN_PIN, \
.reset_pin = ATWINC15X0_PARAM_RESET_PIN, \
.irq_pin = ATWINC15X0_PARAM_IRQ_PIN, \
.chip_en_pin = ATWINC15X0_PARAM_CHIP_EN_PIN, \
.wake_pin = ATWINC15X0_PARAM_WAKE_PIN, \
}

Definition at line 76 of file atwinc15x0_params.h.

◆ WIFI_PASS

#define WIFI_PASS   "ThisistheRIOTporttoESP"

Passphrase used for the AP as clear text (max.

64 chars).

Definition at line 39 of file atwinc15x0_params.h.

◆ WIFI_SSID

#define WIFI_SSID   "RIOT_AP"

SSID of the AP to be used.

Definition at line 32 of file atwinc15x0_params.h.

Variable Documentation

◆ atwinc15x0_params

const atwinc15x0_params_t atwinc15x0_params[]
static
Initial value:
=
{
ATWINC15X0_PARAMS
}

Allocate some memory to store the actual configuration.

Definition at line 91 of file atwinc15x0_params.h.