precision-converters-firmware
Variables
ad405x_user_config.c File Reference

User configuration file for AD405X. More...

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

Variables

struct no_os_gpio_init_param gpio_gpio0_param
 
struct no_os_gpio_init_param gpio_gpio1_param
 
struct ad405x_init_param ad405x_init_params
 

Detailed Description

User configuration file for AD405X.

Copyright (c) 2022-2024 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.

Variable Documentation

◆ ad405x_init_params

struct ad405x_init_param ad405x_init_params
Initial value:
= {
.spi_init = &spi_init_params,
.active_device = ACTIVE_DEVICE_ID,
.gpio_cnv = &gpio_cnv_param,
.gpio_gpio0 = &gpio_gpio0_param,
.gpio_gpio1 = &gpio_gpio1_param,
.rate = AD405X_2_MSPS,
.filter_length = AD405X_LENGTH_2,
.operation_mode = AD405X_CONFIG_MODE_OP
}
#define ACTIVE_DEVICE_ID
Definition: app_config.h:82
struct no_os_gpio_init_param gpio_gpio1_param
Definition: ad405x_user_config.c:57
struct no_os_gpio_init_param gpio_gpio0_param
Definition: ad405x_user_config.c:49

◆ gpio_gpio0_param

struct no_os_gpio_init_param gpio_gpio0_param
Initial value:
= {
.port = GP0_PORT_NUM,
.number = GP0_PIN_NUM,
.platform_ops = &gpio_ops,
}
#define gpio_ops
Definition: app_config.h:85
#define GP0_PORT_NUM
Definition: app_config_mbed.h:60
#define GP0_PIN_NUM
Definition: app_config_mbed.h:59
#define gp0_extra_init_params
Definition: app_config_mbed.h:78

◆ gpio_gpio1_param

struct no_os_gpio_init_param gpio_gpio1_param
Initial value:
= {
.port = GP1_PORT_NUM,
.number = GP1_PIN_NUM,
.platform_ops = &gpio_ops,
}
#define GP1_PORT_NUM
Definition: app_config_mbed.h:62
#define gp1_extra_init_params
Definition: app_config_mbed.h:79
#define GP1_PIN_NUM
Definition: app_config_mbed.h:61