precision-converters-firmware
Macros | Variables
ad469x_user_config.c File Reference

User configuration file for AD469x device. More...

#include <stdint.h>
#include "app_config.h"
#include "ad469x_user_config.h"
#include "ad469x_support.h"
#include "no_os_gpio.h"
Include dependency graph for ad469x_user_config.c:

Macros

#define USER_CONFIG_RANGE   (DEFAULT_CHN_RANGE * 1000)
 

Variables

struct no_os_gpio_init_param gpio_init_reset
 
struct no_os_gpio_init_param gpio_init_convst
 
struct no_os_gpio_init_param gpio_init_busy
 
struct no_os_spi_init_param spi_init_params
 
struct ad469x_init_param ad469x_init_str
 

Detailed Description

User configuration file for AD469x device.

Copyright (c) 2021-23 Analog Devices, Inc.

All rights reserved.

This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Macro Definition Documentation

◆ USER_CONFIG_RANGE

#define USER_CONFIG_RANGE   (DEFAULT_CHN_RANGE * 1000)

Variable Documentation

◆ ad469x_init_str

struct ad469x_init_param ad469x_init_str
Initial value:
= {
.spi_init = &spi_init_params,
.gpio_resetn = &gpio_init_reset,
.gpio_convst = &gpio_init_convst,
.gpio_busy = &gpio_init_busy,
.std_seq_osr = AD469x_OSR_1,
.std_seq_pin_pairing = AD469x_INx_COM,
.ch_sequence = AD469x_standard_seq,
.dev_id = ACTIVE_DEVICE
}
#define ACTIVE_DEVICE
Definition: app_config.h:49
struct no_os_gpio_init_param gpio_init_convst
Definition: ad469x_user_config.c:41
struct no_os_spi_init_param spi_init_params
Definition: ad469x_user_config.c:55
struct no_os_gpio_init_param gpio_init_busy
Definition: ad469x_user_config.c:48
struct no_os_gpio_init_param gpio_init_reset
Definition: ad469x_user_config.c:34

◆ gpio_init_busy

struct no_os_gpio_init_param gpio_init_busy
Initial value:
= {
.port = BSY_PORT_NUM,
.number = BSY_PIN_NUM,
.platform_ops = &gpio_ops,
}
#define gpio_ops
Definition: app_config.h:85
#define bsy_extra_init_params
Definition: app_config.h:80
#define BSY_PIN_NUM
Definition: app_config_mbed.h:87
#define BSY_PORT_NUM
Definition: app_config_mbed.h:88

◆ gpio_init_convst

struct no_os_gpio_init_param gpio_init_convst
Initial value:
= {
.port = CNV_PORT_NUM,
.number = CNV_PIN_NUM,
.platform_ops = &gpio_ops,
}
#define CNV_PORT_NUM
Definition: app_config_mbed.h:58
#define CNV_PIN_NUM
Definition: app_config_mbed.h:57
#define cnv_extra_init_params
Definition: app_config_mbed.h:77

◆ gpio_init_reset

struct no_os_gpio_init_param gpio_init_reset
Initial value:
= {
.port = RESET_PORT_NUM,
.number = RESET_PIN_NUM,
.platform_ops = &gpio_ops,
}
#define reset_extra_init_params
Definition: app_config.h:82
#define RESET_PORT_NUM
Definition: app_config_mbed.h:90
#define RESET_PIN_NUM
Definition: app_config_mbed.h:89

◆ spi_init_params

struct no_os_spi_init_param spi_init_params
Initial value:
= {
.device_id = SPI_DEVICE_ID,
.max_speed_hz = 22500000,
.chip_select = SPI_CS_PIN_NUM,
.mode = NO_OS_SPI_MODE_3,
.platform_ops = &spi_ops,
}
#define spi_ops
Definition: app_config.h:86
#define spi_extra_init_params
Definition: app_config.h:80
#define SPI_DEVICE_ID
Definition: app_config_mbed.h:70
#define SPI_CS_PIN_NUM
Definition: app_config_mbed.h:34