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 <sys/ring_buffer.h>
#include <drivers/gpio.h>
#include <drivers/uart.h>
#include "eswifi.h"
Data Structures | |
struct | eswifi_uart_data |
Macros | |
#define | DT_DRV_COMPAT inventek_eswifi_uart |
#define | ESWIFI_RING_BUF_SIZE 2048 |
Enumerations | |
enum | eswifi_uart_fsm { ESWIFI_UART_FSM_WAIT_CR , ESWIFI_UART_FSM_WAIT_LF , ESWIFI_UART_FSM_WAIT_MARK , ESWIFI_UART_FSM_WAIT_SPACE , ESWIFI_UART_FSM_END } |
Functions | |
LOG_MODULE_DECLARE (wifi_eswifi) | |
static void | eswifi_iface_uart_flush (struct eswifi_uart_data *uart) |
static void | eswifi_iface_uart_isr (const struct device *uart_dev, void *user_data) |
static char | get_fsm_char (int fsm) |
static int | eswifi_uart_get_resp (struct eswifi_uart_data *uart) |
static int | eswifi_uart_wait_prompt (struct eswifi_uart_data *uart) |
static int | eswifi_uart_request (struct eswifi_dev *eswifi, char *cmd, size_t clen, char *rsp, size_t rlen) |
int | eswifi_uart_init (struct eswifi_dev *eswifi) |
struct eswifi_bus_ops * | eswifi_get_bus (void) |
Variables | |
static struct eswifi_uart_data | eswifi_uart0 |
static struct eswifi_bus_ops | eswifi_bus_ops_uart |
#define DT_DRV_COMPAT inventek_eswifi_uart |
Copyright (c) 2018 Linaro Copyright (c) 2020 ATL Electronics
SPDX-License-Identifier: Apache-2.0
#define ESWIFI_RING_BUF_SIZE 2048 |
enum eswifi_uart_fsm |
struct eswifi_bus_ops * eswifi_get_bus | ( | void | ) |
|
static |
|
static |
int eswifi_uart_init | ( | struct eswifi_dev * | eswifi | ) |
|
static |
|
static |
|
static |
LOG_MODULE_DECLARE | ( | wifi_eswifi | ) |
|
static |
|
static |