WINC1500 configuration.
Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.
#include "board.h"
Macros | |
#define | CONF_WINC_DEBUG (0) |
#define | CONF_WINC_PIN_CHIP_ENABLE PIN_PA28 |
#define | CONF_WINC_PIN_RESET PIN_PA27 |
#define | CONF_WINC_PIN_WAKE PIN_PB08 |
#define | CONF_WINC_PRINTF printf |
#define | CONF_WINC_SPI_CLOCK (12000000) |
SPI clock. More... | |
#define | CONF_WINC_SPI_CS_PIN PIN_PA14 |
#define | CONF_WINC_SPI_INT_EIC (9) |
#define | CONF_WINC_SPI_INT_MUX MUX_PB09A_EIC_EXTINT9 |
#define | CONF_WINC_SPI_INT_PIN PIN_PB09A_EIC_EXTINT9 |
SPI interrupt pin. More... | |
#define | CONF_WINC_SPI_MISO PIN_PA15 |
#define | CONF_WINC_SPI_MODULE SERCOM2 |
SPI pin and instance settings. More... | |
#define | CONF_WINC_SPI_MOSI PIN_PA12 |
#define | CONF_WINC_SPI_PINMUX_PAD0 PINMUX_PA12C_SERCOM2_PAD0 /* out */ |
#define | CONF_WINC_SPI_PINMUX_PAD1 PINMUX_PA13C_SERCOM2_PAD1 /* sck */ |
#define | CONF_WINC_SPI_PINMUX_PAD2 PINMUX_UNUSED /* cs driven from software */ |
#define | CONF_WINC_SPI_PINMUX_PAD3 PINMUX_PA15C_SERCOM2_PAD3 /* in */ |
#define | CONF_WINC_SPI_SCK PIN_PA13 |
#define | CONF_WINC_SPI_SERCOM_MUX SPI_SIGNAL_MUX_SETTING_D |
#define | CONF_WINC_SPI_SS PIN_PA14 |
#define | CONF_WINC_USE_SPI (1) |
#define CONF_WINC_DEBUG (0) |
#define CONF_WINC_PIN_CHIP_ENABLE PIN_PA28 |
Referenced by init_chip_pins(), nm_bsp_deinit(), and nm_bsp_reset().
#define CONF_WINC_PIN_RESET PIN_PA27 |
Referenced by init_chip_pins(), nm_bsp_deinit(), and nm_bsp_reset().
#define CONF_WINC_PIN_WAKE PIN_PB08 |
Referenced by init_chip_pins().
#define CONF_WINC_PRINTF printf |
#define CONF_WINC_SPI_CLOCK (12000000) |
SPI clock.
Referenced by nm_bus_init().
#define CONF_WINC_SPI_CS_PIN PIN_PA14 |
Referenced by nm_bus_init().
#define CONF_WINC_SPI_INT_EIC (9) |
Referenced by nm_bsp_interrupt_ctrl(), and nm_bsp_register_isr().
#define CONF_WINC_SPI_INT_MUX MUX_PB09A_EIC_EXTINT9 |
Referenced by nm_bsp_register_isr().
#define CONF_WINC_SPI_INT_PIN PIN_PB09A_EIC_EXTINT9 |
SPI interrupt pin.
Referenced by nm_bsp_deinit(), and nm_bsp_register_isr().
#define CONF_WINC_SPI_MISO PIN_PA15 |
Referenced by nm_bus_deinit().
#define CONF_WINC_SPI_MODULE SERCOM2 |
SPI pin and instance settings.
Referenced by nm_bus_init().
#define CONF_WINC_SPI_MOSI PIN_PA12 |
Referenced by nm_bus_deinit().
#define CONF_WINC_SPI_PINMUX_PAD0 PINMUX_PA12C_SERCOM2_PAD0 /* out */ |
Referenced by nm_bus_init().
#define CONF_WINC_SPI_PINMUX_PAD1 PINMUX_PA13C_SERCOM2_PAD1 /* sck */ |
Referenced by nm_bus_init().
#define CONF_WINC_SPI_PINMUX_PAD2 PINMUX_UNUSED /* cs driven from software */ |
Referenced by nm_bus_init().
#define CONF_WINC_SPI_PINMUX_PAD3 PINMUX_PA15C_SERCOM2_PAD3 /* in */ |
Referenced by nm_bus_init().
#define CONF_WINC_SPI_SCK PIN_PA13 |
Referenced by nm_bus_deinit().
#define CONF_WINC_SPI_SERCOM_MUX SPI_SIGNAL_MUX_SETTING_D |
Referenced by nm_bus_init().
#define CONF_WINC_SPI_SS PIN_PA14 |
Referenced by nm_bus_deinit().
#define CONF_WINC_USE_SPI (1) |