Configurations for the WILC1000 Serial Bridge Application.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
#define CONF_DRIVER_LOCK 1 |
#define CONF_WILC_DEBUG (0) |
#define CONF_WILC_PIN_CHIP_ENABLE IOPORT_CREATE_PIN(PIOA, 6) |
Referenced by init_chip_pins(), and nm_bsp_reset().
#define CONF_WILC_PIN_RESET IOPORT_CREATE_PIN(PIOA, 24) |
Referenced by init_chip_pins(), and nm_bsp_reset().
#define CONF_WILC_PIN_WAKE IOPORT_CREATE_PIN(PIOA, 25) |
#define CONF_WILC_PRINTF osprintf |
#define CONF_WILC_SPI SPI |
SPI pin and instance settings.
Referenced by nm_bus_init().
#define CONF_WILC_SPI_CLK_FLAGS SPI_SPCK_FLAGS |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_CLK_GPIO SPI_SPCK_GPIO |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_CLOCK (48000000) |
SPI clock.
Referenced by nm_bus_init().
#define CONF_WILC_SPI_CS_FLAGS PIO_OUTPUT_1 |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_CS_GPIO SPI_NPCS0_GPIO |
Referenced by init_chip_pins(), and nm_bus_init().
#define CONF_WILC_SPI_DLYBCT (0) |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_DLYBS (0) |
SPI delay before SPCK and between consecutive transfer.
Referenced by nm_bus_init().
#define CONF_WILC_SPI_ID ID_SPI |
#define CONF_WILC_SPI_INT_MASK (1 << 1) |
Referenced by chip_isr(), nm_bsp_interrupt_ctrl(), and nm_bsp_register_isr().
#define CONF_WILC_SPI_INT_PIN IOPORT_CREATE_PIN(PIOA, 1) |
SPI interrupt pin.
Referenced by nm_bsp_register_isr().
#define CONF_WILC_SPI_INT_PIO PIOA |
Referenced by nm_bsp_interrupt_ctrl(), and nm_bsp_register_isr().
#define CONF_WILC_SPI_INT_PIO_ID ID_PIOA |
Referenced by chip_isr(), and nm_bsp_register_isr().
#define CONF_WILC_SPI_INT_PRIORITY (configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY) |
Highest INT priority that can call FreeRTOS FromISR() functions.
Referenced by nm_bsp_register_isr().
#define CONF_WILC_SPI_MISO_FLAGS SPI_MISO_FLAGS |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_MISO_GPIO SPI_MISO_GPIO |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_MOSI_FLAGS SPI_MOSI_FLAGS |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_MOSI_GPIO SPI_MOSI_GPIO |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_NPCS (0) |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_PHA (1) |
Referenced by nm_bus_init().
#define CONF_WILC_SPI_POL (0) |
Clock polarity & phase.
Referenced by nm_bus_init().
#define CONF_WILC_USE_1000_REV_B |
Select WILC firmware to use.
#define CONF_WILC_USE_SDIO |
#define CONF_WILC_USE_SDIO_EXT_IRQ |
#define DRIVER_SIGNAL_ISR os_hook_isr |
Referenced by isr().
#define WILC_SERIAL_BRIDGE_INTERFACE |
For WIFI SDIO or SPI Interface with PC GUI Testing.