no-OS
Loading...
Searching...
No Matches
common_data.c File Reference

Defines common data to be used by demo_esp examples. More...

#include "common_data.h"
Include dependency graph for common_data.c:

Variables

struct no_os_uart_init_param uart_ip
 
struct no_os_irq_init_param irq_ip
 
struct no_os_timer_init_param timer_ip
 
struct no_os_gpio_init_param gpio_wifi_rst_ip
 

Detailed Description

Defines common data to be used by demo_esp examples.

Author
Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)

Copyright 2023(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Variable Documentation

◆ gpio_wifi_rst_ip

struct no_os_gpio_init_param gpio_wifi_rst_ip
Initial value:
= {
.port = GPIO_PORT,
.number = GPIO_NR,
.pull = NO_OS_PULL_NONE,
.platform_ops = GPIO_OPS,
.extra = GPIO_EXTRA
}
#define GPIO_EXTRA
Definition parameters.h:50
#define GPIO_OPS
Definition parameters.h:49
#define GPIO_NR
Definition parameters.h:27
#define GPIO_PORT
Definition parameters.h:26
@ NO_OS_PULL_NONE
Definition no_os_gpio.h:31

◆ irq_ip

struct no_os_irq_init_param irq_ip
Initial value:
= {
.irq_ctrl_id = 0,
.platform_ops = IRQ_OPS,
.extra = 0
}
#define IRQ_OPS
Definition parameters.h:23

◆ timer_ip

struct no_os_timer_init_param timer_ip
Initial value:
= {
.id = TIMER_ID,
.freq_hz = TIMER_FREQ,
.ticks_count = 0,
.platform_ops = TIMER_OPS,
.extra = TIMER_EXTRA
}
#define TIMER_ID
Definition parameters.h:78
#define TIMER_OPS
Definition parameters.h:81
#define TIMER_EXTRA
Definition parameters.h:37
#define TIMER_FREQ
Definition parameters.h:31

◆ uart_ip

struct no_os_uart_init_param uart_ip
Initial value:
= {
.device_id = UART_DEVICE_ID,
.baud_rate = UART_CONFIG_BAUDRATE,
.irq_id = UART_CONFIG_IRQ_ID,
.asynchronous_rx = true,
.size = NO_OS_UART_CS_8,
.parity = NO_OS_UART_PAR_NO,
.platform_ops = UART_OPS,
.extra = UART_EXTRA
}
#define UART_DEVICE_ID
Definition parameters.h:23
#define UART_OPS
Definition parameters.h:26
#define UART_EXTRA
Definition parameters.h:25
#define UART_CONFIG_BAUDRATE
Definition parameters.h:21
#define UART_CONFIG_IRQ_ID
Definition parameters.h:22
@ NO_OS_UART_CS_8
Definition no_os_uart.h:31
@ NO_OS_UART_PAR_NO
Definition no_os_uart.h:42
@ NO_OS_UART_STOP_1_BIT
Definition no_os_uart.h:59