Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
wifi_winc1500_nm_bsp_internal.h
Go to the documentation of this file.
1
7#ifndef ZEPHYR_DRIVERS_WIFI_WINC1500_WIFI_WINC1500_NM_BSP_INTERNAL_H_
8#define ZEPHYR_DRIVERS_WIFI_WINC1500_WIFI_WINC1500_NM_BSP_INTERNAL_H_
9
10#include <device.h>
11#include <drivers/gpio.h>
12#include <drivers/spi.h>
13
15#include <bus_wrapper/include/nm_bus_wrapper.h>
16
17extern tstrNmBusCapabilities egstrNmBusCapabilities;
18
19#if defined(CONFIG_WINC1500_DRV_USE_OLD_SPI_SW)
20#define USE_OLD_SPI_SW
21#endif /*CONFIG_WINC1500_DRV_USE_OLD_SPI_SW*/
22
23#define NM_EDGE_INTERRUPT (1)
24
25#define NM_DEBUG CONF_WINC_DEBUG
26#define NM_BSP_PRINTF CONF_WINC_PRINTF
27
32
34};
35
37 const struct device *dev;
39};
40
44 const struct device *spi;
46};
47
48extern struct winc1500_device winc1500;
49
50#endif /* ZEPHYR_DRIVERS_WIFI_WINC1500_WIFI_WINC1500_NM_BSP_INTERNAL_H_ */
Public APIs for GPIO drivers.
Public API for SPI drivers and applications.
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
Runtime device structure (in ROM) per driver instance.
Definition: device.h:367
GPIO callback structure.
Definition: gpio.h:525
SPI controller configuration structure.
Definition: spi.h:244
Definition: wifi_winc1500_nm_bsp_internal.h:41
const struct device * spi
Definition: wifi_winc1500_nm_bsp_internal.h:44
struct spi_config spi_cfg
Definition: wifi_winc1500_nm_bsp_internal.h:45
struct winc1500_gpio_configuration * gpios
Definition: wifi_winc1500_nm_bsp_internal.h:42
struct gpio_callback gpio_cb
Definition: wifi_winc1500_nm_bsp_internal.h:43
Definition: wifi_winc1500_nm_bsp_internal.h:36
const struct device * dev
Definition: wifi_winc1500_nm_bsp_internal.h:37
uint32_t pin
Definition: wifi_winc1500_nm_bsp_internal.h:38
winc1500_gpio_index
Definition: wifi_winc1500_nm_bsp_internal.h:28
@ WINC1500_GPIO_IDX_RESET_N
Definition: wifi_winc1500_nm_bsp_internal.h:31
@ WINC1500_GPIO_IDX_IRQN
Definition: wifi_winc1500_nm_bsp_internal.h:30
@ WINC1500_GPIO_IDX_MAX
Definition: wifi_winc1500_nm_bsp_internal.h:33
@ WINC1500_GPIO_IDX_CHIP_EN
Definition: wifi_winc1500_nm_bsp_internal.h:29
struct winc1500_device winc1500
Definition: wifi_winc1500_nm_bsp.c:14
tstrNmBusCapabilities egstrNmBusCapabilities
Definition: wifi_winc1500_nm_bus_wrapper.c:36