WINC3400 configuration. More...
#include "board.h"

Go to the source code of this file.
WINC3400 configuration.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
Definition in file conf_winc.h.
| #define CONF_WINC_DEBUG (0) | 
Definition at line 101 of file conf_winc.h.
| #define CONF_WINC_PIN_CHIP_ENABLE IOPORT_CREATE_PIN(PIOC, 22) | 
Definition at line 53 of file conf_winc.h.
| #define CONF_WINC_PIN_RESET IOPORT_CREATE_PIN(PIOC, 21) | 
Settings for EVB-2.
Definition at line 52 of file conf_winc.h.
| #define CONF_WINC_PIN_WAKE IOPORT_CREATE_PIN(PIOC, 31) | 
Definition at line 54 of file conf_winc.h.
| #define CONF_WINC_PRINTF | 
Definition at line 102 of file conf_winc.h.
| #define CONF_WINC_SPI SPI1 | 
SPI pin and instance settings.
Definition at line 65 of file conf_winc.h.
| #define CONF_WINC_SPI_CLK_FLAGS IOPORT_MODE_MUX_C | 
Definition at line 72 of file conf_winc.h.
| #define CONF_WINC_SPI_CLK_GPIO PIO_PC24_IDX | 
Definition at line 71 of file conf_winc.h.
| #define CONF_WINC_SPI_CLOCK (48000000) | 
SPI clock: (sysclk_get_cpu_hz() / CONF_WINC_SPI_CLOCK). Beware of integer division.
Definition at line 93 of file conf_winc.h.
| #define CONF_WINC_SPI_CS_FLAGS IOPORT_MODE_MUX_C | 
Definition at line 74 of file conf_winc.h.
| #define CONF_WINC_SPI_CS_GPIO PIO_PC25_IDX | 
Definition at line 73 of file conf_winc.h.
| #define CONF_WINC_SPI_DLYBCT (0) | 
Definition at line 79 of file conf_winc.h.
| #define CONF_WINC_SPI_DLYBS (0) | 
SPI delay before SPCK and between consecutive transfer.
Definition at line 78 of file conf_winc.h.
| #define CONF_WINC_SPI_ID ID_SPI1 | 
Definition at line 66 of file conf_winc.h.
| #define CONF_WINC_SPI_INT_MASK PIO_PC23 | 
Definition at line 85 of file conf_winc.h.
| #define CONF_WINC_SPI_INT_PIN IOPORT_CREATE_PIN(PIOC, 23) | 
SPI interrupt pin.
Definition at line 82 of file conf_winc.h.
| #define CONF_WINC_SPI_INT_PIO PIOC | 
Definition at line 83 of file conf_winc.h.
| #define CONF_WINC_SPI_INT_PIO_ID ID_PIOC | 
Definition at line 84 of file conf_winc.h.
| #define CONF_WINC_SPI_INT_PRIORITY (0) | 
Definition at line 86 of file conf_winc.h.
| #define CONF_WINC_SPI_MISO_FLAGS IOPORT_MODE_MUX_C | 
Definition at line 68 of file conf_winc.h.
| #define CONF_WINC_SPI_MISO_GPIO PIO_PC26_IDX | 
Definition at line 67 of file conf_winc.h.
| #define CONF_WINC_SPI_MOSI_FLAGS IOPORT_MODE_MUX_C | 
Definition at line 70 of file conf_winc.h.
| #define CONF_WINC_SPI_MOSI_GPIO PIO_PC27_IDX | 
Definition at line 69 of file conf_winc.h.
| #define CONF_WINC_SPI_NPCS (1) | 
Definition at line 75 of file conf_winc.h.
| #define CONF_WINC_SPI_PHA (1) | 
Definition at line 90 of file conf_winc.h.
| #define CONF_WINC_SPI_POL (0) | 
Clock polarity & phase.
Definition at line 89 of file conf_winc.h.
| #define CONF_WINC_USE_SPI (1) | 
Definition at line 62 of file conf_winc.h.