Macros
conf_winc.h File Reference

WINC3400 configuration. More...

#include "board.h"
Include dependency graph for conf_winc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONF_WINC_DEBUG   (0)
 
#define CONF_WINC_PIN_CHIP_ENABLE   IOPORT_CREATE_PIN(PIOC, 22)
 
#define CONF_WINC_PIN_RESET   IOPORT_CREATE_PIN(PIOC, 21)
 
#define CONF_WINC_PIN_WAKE   IOPORT_CREATE_PIN(PIOC, 31)
 
#define CONF_WINC_PRINTF
 
#define CONF_WINC_SPI   SPI1
 
#define CONF_WINC_SPI_CLK_FLAGS   IOPORT_MODE_MUX_C
 
#define CONF_WINC_SPI_CLK_GPIO   PIO_PC24_IDX
 
#define CONF_WINC_SPI_CLOCK   (48000000)
 
#define CONF_WINC_SPI_CS_FLAGS   IOPORT_MODE_MUX_C
 
#define CONF_WINC_SPI_CS_GPIO   PIO_PC25_IDX
 
#define CONF_WINC_SPI_DLYBCT   (0)
 
#define CONF_WINC_SPI_DLYBS   (0)
 
#define CONF_WINC_SPI_ID   ID_SPI1
 
#define CONF_WINC_SPI_INT_MASK   PIO_PC23
 
#define CONF_WINC_SPI_INT_PIN   IOPORT_CREATE_PIN(PIOC, 23)
 
#define CONF_WINC_SPI_INT_PIO   PIOC
 
#define CONF_WINC_SPI_INT_PIO_ID   ID_PIOC
 
#define CONF_WINC_SPI_INT_PRIORITY   (0)
 
#define CONF_WINC_SPI_MISO_FLAGS   IOPORT_MODE_MUX_C
 
#define CONF_WINC_SPI_MISO_GPIO   PIO_PC26_IDX
 
#define CONF_WINC_SPI_MOSI_FLAGS   IOPORT_MODE_MUX_C
 
#define CONF_WINC_SPI_MOSI_GPIO   PIO_PC27_IDX
 
#define CONF_WINC_SPI_NPCS   (1)
 
#define CONF_WINC_SPI_PHA   (1)
 
#define CONF_WINC_SPI_POL   (0)
 
#define CONF_WINC_USE_SPI   (1)
 

Detailed Description

WINC3400 configuration.

Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.

Definition in file conf_winc.h.

Macro Definition Documentation

◆ CONF_WINC_DEBUG

#define CONF_WINC_DEBUG   (0)

Definition at line 101 of file conf_winc.h.

◆ CONF_WINC_PIN_CHIP_ENABLE

#define CONF_WINC_PIN_CHIP_ENABLE   IOPORT_CREATE_PIN(PIOC, 22)

Definition at line 53 of file conf_winc.h.

◆ CONF_WINC_PIN_RESET

#define CONF_WINC_PIN_RESET   IOPORT_CREATE_PIN(PIOC, 21)

Settings for EVB-2.

Definition at line 52 of file conf_winc.h.

◆ CONF_WINC_PIN_WAKE

#define CONF_WINC_PIN_WAKE   IOPORT_CREATE_PIN(PIOC, 31)

Definition at line 54 of file conf_winc.h.

◆ CONF_WINC_PRINTF

#define CONF_WINC_PRINTF

Definition at line 102 of file conf_winc.h.

◆ CONF_WINC_SPI

#define CONF_WINC_SPI   SPI1

SPI pin and instance settings.

Definition at line 65 of file conf_winc.h.

◆ CONF_WINC_SPI_CLK_FLAGS

#define CONF_WINC_SPI_CLK_FLAGS   IOPORT_MODE_MUX_C

Definition at line 72 of file conf_winc.h.

◆ CONF_WINC_SPI_CLK_GPIO

#define CONF_WINC_SPI_CLK_GPIO   PIO_PC24_IDX

Definition at line 71 of file conf_winc.h.

◆ CONF_WINC_SPI_CLOCK

#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.

◆ CONF_WINC_SPI_CS_FLAGS

#define CONF_WINC_SPI_CS_FLAGS   IOPORT_MODE_MUX_C

Definition at line 74 of file conf_winc.h.

◆ CONF_WINC_SPI_CS_GPIO

#define CONF_WINC_SPI_CS_GPIO   PIO_PC25_IDX

Definition at line 73 of file conf_winc.h.

◆ CONF_WINC_SPI_DLYBCT

#define CONF_WINC_SPI_DLYBCT   (0)

Definition at line 79 of file conf_winc.h.

◆ CONF_WINC_SPI_DLYBS

#define CONF_WINC_SPI_DLYBS   (0)

SPI delay before SPCK and between consecutive transfer.

Definition at line 78 of file conf_winc.h.

◆ CONF_WINC_SPI_ID

#define CONF_WINC_SPI_ID   ID_SPI1

Definition at line 66 of file conf_winc.h.

◆ CONF_WINC_SPI_INT_MASK

#define CONF_WINC_SPI_INT_MASK   PIO_PC23

Definition at line 85 of file conf_winc.h.

◆ CONF_WINC_SPI_INT_PIN

#define CONF_WINC_SPI_INT_PIN   IOPORT_CREATE_PIN(PIOC, 23)

SPI interrupt pin.

Definition at line 82 of file conf_winc.h.

◆ CONF_WINC_SPI_INT_PIO

#define CONF_WINC_SPI_INT_PIO   PIOC

Definition at line 83 of file conf_winc.h.

◆ CONF_WINC_SPI_INT_PIO_ID

#define CONF_WINC_SPI_INT_PIO_ID   ID_PIOC

Definition at line 84 of file conf_winc.h.

◆ CONF_WINC_SPI_INT_PRIORITY

#define CONF_WINC_SPI_INT_PRIORITY   (0)

Definition at line 86 of file conf_winc.h.

◆ CONF_WINC_SPI_MISO_FLAGS

#define CONF_WINC_SPI_MISO_FLAGS   IOPORT_MODE_MUX_C

Definition at line 68 of file conf_winc.h.

◆ CONF_WINC_SPI_MISO_GPIO

#define CONF_WINC_SPI_MISO_GPIO   PIO_PC26_IDX

Definition at line 67 of file conf_winc.h.

◆ CONF_WINC_SPI_MOSI_FLAGS

#define CONF_WINC_SPI_MOSI_FLAGS   IOPORT_MODE_MUX_C

Definition at line 70 of file conf_winc.h.

◆ CONF_WINC_SPI_MOSI_GPIO

#define CONF_WINC_SPI_MOSI_GPIO   PIO_PC27_IDX

Definition at line 69 of file conf_winc.h.

◆ CONF_WINC_SPI_NPCS

#define CONF_WINC_SPI_NPCS   (1)

Definition at line 75 of file conf_winc.h.

◆ CONF_WINC_SPI_PHA

#define CONF_WINC_SPI_PHA   (1)

Definition at line 90 of file conf_winc.h.

◆ CONF_WINC_SPI_POL

#define CONF_WINC_SPI_POL   (0)

Clock polarity & phase.

Definition at line 89 of file conf_winc.h.

◆ CONF_WINC_USE_SPI

#define CONF_WINC_USE_SPI   (1)

Definition at line 62 of file conf_winc.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05