Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include "eswifi_log.h"
#include <zephyr.h>
#include <kernel.h>
#include <device.h>
#include <string.h>
#include <errno.h>
#include <drivers/gpio.h>
#include <drivers/spi.h>
#include "eswifi.h"
Data Structures | |
struct | eswifi_spi_data |
Macros | |
#define | DT_DRV_COMPAT inventek_eswifi |
#define | ESWIFI_SPI_THREAD_STACK_SIZE 1024 |
#define | SPI_READ_CHUNK_SIZE 32 |
Functions | |
LOG_MODULE_DECLARE (wifi_eswifi) | |
K_KERNEL_STACK_MEMBER (eswifi_spi_poll_stack, 1024) | |
static bool | eswifi_spi_cmddata_ready (struct eswifi_spi_data *spi) |
static int | eswifi_spi_wait_cmddata_ready (struct eswifi_spi_data *spi) |
static int | eswifi_spi_write (struct eswifi_dev *eswifi, char *data, size_t dlen) |
static int | eswifi_spi_read (struct eswifi_dev *eswifi, char *data, size_t dlen) |
static int | eswifi_spi_request (struct eswifi_dev *eswifi, char *cmd, size_t clen, char *rsp, size_t rlen) |
static void | eswifi_spi_read_msg (struct eswifi_dev *eswifi) |
static void | eswifi_spi_poll_thread (void *p1) |
int | eswifi_spi_init (struct eswifi_dev *eswifi) |
struct eswifi_bus_ops * | eswifi_get_bus (void) |
Variables | |
static struct eswifi_spi_data | eswifi_spi0 |
static struct eswifi_bus_ops | eswifi_bus_ops_spi |
#define DT_DRV_COMPAT inventek_eswifi |
Copyright (c) 2018 Linaro
SPDX-License-Identifier: Apache-2.0
#define ESWIFI_SPI_THREAD_STACK_SIZE 1024 |
#define SPI_READ_CHUNK_SIZE 32 |
struct eswifi_bus_ops * eswifi_get_bus | ( | void | ) |
|
static |
int eswifi_spi_init | ( | struct eswifi_dev * | eswifi | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
K_KERNEL_STACK_MEMBER | ( | eswifi_spi_poll_stack | , |
1024 | |||
) |
LOG_MODULE_DECLARE | ( | wifi_eswifi | ) |
|
static |
|
static |