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

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

#include "common_data.h"
#include "no_os_gpio.h"
#include "no_os_spi.h"
#include "ad3552r.h"
#include "axi_dmac.h"
#include "clk_axi_clkgen.h"
#include "axi_dac_core.h"
Include dependency graph for common_data.c:

Variables

struct axi_dac_init ad3552r_core_ip
 
struct axi_clkgen_init clkgen_ip
 
struct axi_dmac_init dmac_ip
 
struct no_os_gpio_init_param gpio_ldac_param
 
struct no_os_gpio_init_param gpio_reset_param
 
struct no_os_gpio_init_param default_gpio_param
 

Detailed Description

Defines common data to be used by iio examples.

Author
Angelo Dureghello (adure.nosp@m.ghel.nosp@m.lo@ba.nosp@m.ylib.nosp@m.re.co.nosp@m.m)

Copyright 2024(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Variable Documentation

◆ ad3552r_core_ip

struct axi_dac_init ad3552r_core_ip
Initial value:
= {
.name = "ad3552r_core",
.bus_type = AXI_DAC_BUS_TYPE_QSPI,
.num_channels = 2,
}
#define TX_CORE_BASEADDR
Definition parameters.h:61
@ AXI_DAC_BUS_TYPE_QSPI
Definition axi_dac_core.h:17

◆ clkgen_ip

struct axi_clkgen_init clkgen_ip
Initial value:
= {
.name = "tx_clkgen",
.parent_rate = 100000000,
}
#define TX_CLKGEN_BASEADDR
Definition parameters.h:63

◆ default_gpio_param

struct no_os_gpio_init_param default_gpio_param
Initial value:
= {
.platform_ops = GPIO_OPS,
.extra = GPIO_EXTRA
}
#define GPIO_EXTRA
Definition parameters.h:50
#define GPIO_OPS
Definition parameters.h:49

◆ dmac_ip

struct axi_dmac_init dmac_ip
Initial value:
= {
.name = "tx_dmac",
.base = TX_DMA_BASEADDR,
.irq_option = IRQ_DISABLED
}
#define TX_DMA_BASEADDR
Definition parameters.h:62
@ IRQ_DISABLED
Definition axi_dmac.h:47

◆ gpio_ldac_param

struct no_os_gpio_init_param gpio_ldac_param
Initial value:
= {
.platform_ops = GPIO_OPS,
.extra = GPIO_EXTRA,
.number = GPIO_OFFSET + GPIO_LDAC_N,
}
#define GPIO_OFFSET
Definition parameters.h:50
#define GPIO_LDAC_N
Definition parameters.h:24

◆ gpio_reset_param

struct no_os_gpio_init_param gpio_reset_param
Initial value:
= {
.platform_ops = GPIO_OPS,
.extra = GPIO_EXTRA,
}
#define GPIO_RESET_N
Definition parameters.h:23