no-OS
Variables
common_data.c File Reference

Defines data common to all examples. More...

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

Variables

struct max_uart_init_param uart_extra_ip
 
struct no_os_uart_init_param uart_ip
 

Detailed Description

Defines data common to all examples.

Author
Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2023(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Variable Documentation

◆ uart_extra_ip

struct max_uart_init_param uart_extra_ip
Initial value:
= {
.flow = UART_FLOW_DIS
}

◆ uart_ip

struct no_os_uart_init_param uart_ip
Initial value:
= {
.device_id = 0,
.asynchronous_rx = false,
.baud_rate = 115200,
.size = NO_OS_UART_CS_8,
.parity = NO_OS_UART_PAR_NO,
.extra = &uart_extra_ip,
.platform_ops = &max_uart_ops,
}
NO_OS_UART_STOP_1_BIT
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:100
UART_FLOW_DIS
@ UART_FLOW_DIS
Definition: maxim_uart.h:53
max_uart_ops
const struct no_os_uart_platform_ops max_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_uart.c:481
NO_OS_UART_PAR_NO
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:83
uart_extra_ip
struct max_uart_init_param uart_extra_ip
Definition: common_data.c:54
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:72