Microchip® Advanced Software Framework

conf_winc.h File Reference

SAM D21 WINC3400 configuration.

Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.

#include "board.h"

Macros

#define CONF_WIFI_M2M_I2C   (0)
 
#define CONF_WINC_DEBUG   (1)
 
#define CONF_WINC_I2C_SCL   EXT1_PIN_I2C_SCL
 
#define CONF_WINC_I2C_SDA   EXT1_PIN_I2C_SDA
 
#define CONF_WINC_PIN_CHIP_ENABLE   PIN_PB05
 
#define CONF_WINC_PIN_RESET   PIN_PB01
 
#define CONF_WINC_PIN_WAKE   PIN_PB07
 
#define CONF_WINC_PRINTF   printf
 
#define CONF_WINC_SPI_CLOCK   (10000000)
 SPI clock. More...
 
#define CONF_WINC_SPI_CS_PIN   EXT1_PIN_SPI_SS_0
 
#define CONF_WINC_SPI_INT_EIC   (4)
 
#define CONF_WINC_SPI_INT_MUX   EXT1_IRQ_MUX
 
#define CONF_WINC_SPI_INT_PIN   EXT1_IRQ_PIN
 WINC interrupt pin. More...
 
#define CONF_WINC_SPI_MISO   EXT1_PIN_SPI_MISO
 
#define CONF_WINC_SPI_MODULE   EXT1_SPI_MODULE
 SPI pin and instance settings. More...
 
#define CONF_WINC_SPI_MOSI   EXT1_PIN_SPI_MOSI
 
#define CONF_WINC_SPI_PINMUX_PAD0   EXT1_SPI_SERCOM_PINMUX_PAD0 /* in */
 
#define CONF_WINC_SPI_PINMUX_PAD1   PINMUX_UNUSED /* cs driven from software */
 
#define CONF_WINC_SPI_PINMUX_PAD2   EXT1_SPI_SERCOM_PINMUX_PAD2 /* out */
 
#define CONF_WINC_SPI_PINMUX_PAD3   EXT1_SPI_SERCOM_PINMUX_PAD3 /* sck */
 
#define CONF_WINC_SPI_SCK   EXT1_PIN_SPI_SCK
 
#define CONF_WINC_SPI_SERCOM_MUX   EXT1_SPI_SERCOM_MUX_SETTING
 
#define CONF_WINC_SPI_SS   EXT1_PIN_SPI_SS_0
 
#define CONF_WINC_USE_EDGE_INTERRUPT   (1)
 
#define CONF_WINC_USE_SPI   (1)
 

#define CONF_WIFI_M2M_I2C   (0)
#define CONF_WINC_DEBUG   (1)
#define CONF_WINC_I2C_SCL   EXT1_PIN_I2C_SCL

Referenced by nm_bus_deinit().

#define CONF_WINC_I2C_SDA   EXT1_PIN_I2C_SDA

Referenced by nm_bus_deinit().

#define CONF_WINC_PIN_CHIP_ENABLE   PIN_PB05
#define CONF_WINC_PIN_RESET   PIN_PB01
#define CONF_WINC_PIN_WAKE   PIN_PB07

Referenced by init_chip_pins().

#define CONF_WINC_PRINTF   printf
#define CONF_WINC_SPI_CLOCK   (10000000)

SPI clock.

Referenced by nm_bus_init().

#define CONF_WINC_SPI_CS_PIN   EXT1_PIN_SPI_SS_0

Referenced by nm_bus_init().

#define CONF_WINC_SPI_INT_EIC   (4)
#define CONF_WINC_SPI_INT_MUX   EXT1_IRQ_MUX

Referenced by nm_bsp_register_isr().

#define CONF_WINC_SPI_INT_PIN   EXT1_IRQ_PIN

WINC interrupt pin.

Referenced by nm_bsp_deinit(), and nm_bsp_register_isr().

#define CONF_WINC_SPI_MISO   EXT1_PIN_SPI_MISO

Referenced by nm_bus_deinit().

#define CONF_WINC_SPI_MODULE   EXT1_SPI_MODULE

SPI pin and instance settings.

Referenced by nm_bus_init().

#define CONF_WINC_SPI_MOSI   EXT1_PIN_SPI_MOSI

Referenced by nm_bus_deinit().

#define CONF_WINC_SPI_PINMUX_PAD0   EXT1_SPI_SERCOM_PINMUX_PAD0 /* in */

Referenced by nm_bus_init().

#define CONF_WINC_SPI_PINMUX_PAD1   PINMUX_UNUSED /* cs driven from software */

Referenced by nm_bus_init().

#define CONF_WINC_SPI_PINMUX_PAD2   EXT1_SPI_SERCOM_PINMUX_PAD2 /* out */

Referenced by nm_bus_init().

#define CONF_WINC_SPI_PINMUX_PAD3   EXT1_SPI_SERCOM_PINMUX_PAD3 /* sck */

Referenced by nm_bus_init().

#define CONF_WINC_SPI_SCK   EXT1_PIN_SPI_SCK

Referenced by nm_bus_deinit().

#define CONF_WINC_SPI_SERCOM_MUX   EXT1_SPI_SERCOM_MUX_SETTING

Referenced by nm_bus_init().

#define CONF_WINC_SPI_SS   EXT1_PIN_SPI_SS_0

Referenced by nm_bus_deinit().

#define CONF_WINC_USE_EDGE_INTERRUPT   (1)
#define CONF_WINC_USE_SPI   (1)