precision-converters-firmware
Loading...
Searching...
No Matches
Variables
ad514x_user_config.c File Reference

User configurations for AD514x No-OS drivers. More...

#include "dpot_user_config.h"
Include dependency graph for ad514x_user_config.c:

Variables

struct ad5141_dpot_init_param ad5141_init_params
 
struct ad5142_dpot_init_param ad5142_init_params
 
struct ad5144_dpot_init_param ad5144_init_params
 
struct ad5143_dpot_init_param ad5143_init_params
 

Detailed Description

User configurations for AD514x No-OS drivers.

Copyright 2025(c) Analog Devices, Inc.

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

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 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

◆ ad5141_init_params

struct ad5141_dpot_init_param ad5141_init_params
Initial value:
= {
.eintf_type = AD_SPI_INTERFACE,
.spi_init = &spi_mode2_init_params,
.i2c_init = &i2c_init_params,
.reset_gpio_init = &reset_gpio_init_params,
.dis_gpio_init = &dis_gpio_init_params,
.lrdac_gpio_init = &lrdac_gpio_init_params,
.wp_gpio_init = &wp_gpio_init_params,
.indep_gpio_init = &indep_gpio_init_params,
.eoperating_mode = DPOT_DEFAULT_OPERATING_MODE,
.shutdown_enable_pt = {
},
.shutdown_enable_lg = {
}
}
struct no_os_spi_init_param spi_mode2_init_params
Definition app_config.c:50
struct no_os_i2c_init_param i2c_init_params
Definition app_config.c:70
@ AD_SPI_INTERFACE
Definition dpot.h:75
struct no_os_gpio_init_param wp_gpio_init_params
Definition dpot_user_config.c:57
struct no_os_gpio_init_param reset_gpio_init_params
Definition dpot_user_config.c:49
struct no_os_gpio_init_param lrdac_gpio_init_params
Definition dpot_user_config.c:65
struct no_os_gpio_init_param indep_gpio_init_params
Definition dpot_user_config.c:81
struct no_os_gpio_init_param dis_gpio_init_params
Definition dpot_user_config.c:73
#define DPOT_RWB1_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:77
#define DPOT_RDAC1_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:72
#define DPOT_DEFAULT_OPERATING_MODE
Definition dpot_user_config.h:69
#define DPOT_RAW1_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:76

◆ ad5142_init_params

struct ad5142_dpot_init_param ad5142_init_params
Initial value:
= {
.eintf_type = AD_SPI_INTERFACE,
.spi_init = &spi_mode2_init_params,
.i2c_init = &i2c_init_params,
.reset_gpio_init = &reset_gpio_init_params,
.dis_gpio_init = &dis_gpio_init_params,
.lrdac_gpio_init = &lrdac_gpio_init_params,
.wp_gpio_init = &wp_gpio_init_params,
.indep_gpio_init = &indep_gpio_init_params,
.eoperating_mode = DPOT_DEFAULT_OPERATING_MODE,
.shutdown_enable_pt = {
},
.shutdown_enable_lg = {
}
}
#define DPOT_RDAC2_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:73
#define DPOT_RAW2_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:78
#define DPOT_RWB2_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:79

◆ ad5143_init_params

struct ad5143_dpot_init_param ad5143_init_params
Initial value:
= {
.i2c_init = &i2c_init_params,
.eoperating_mode = DPOT_DEFAULT_OPERATING_MODE,
.shutdown_enable_pt = {
},
.shutdown_enable_lg = {
},
}
#define DPOT_RAW3_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:80
#define DPOT_RDAC3_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:74
#define DPOT_RDAC4_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:75
#define DPOT_RAW4_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:82
#define DPOT_RWB4_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:83
#define DPOT_RWB3_DEFAULT_SHUTDOWN
Definition dpot_user_config.h:81

◆ ad5144_init_params

struct ad5144_dpot_init_param ad5144_init_params