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

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

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

Variables

struct no_os_gpio_init_param reset_gpio_init_params
 
struct no_os_gpio_init_param wp_gpio_init_params
 
struct no_os_gpio_init_param lrdac_gpio_init_params
 
struct no_os_gpio_init_param dis_gpio_init_params
 
struct no_os_gpio_init_param indep_gpio_init_params
 
struct no_os_gpio_init_param shdn_gpio_init_params
 
struct dpot_init_param dpot_init_params
 

Detailed Description

User configurations for digipot 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

◆ dis_gpio_init_params

struct no_os_gpio_init_param dis_gpio_init_params
Initial value:
= {
.port = DIS_GPIO_PORT,
.number = DIS_GPIO_PIN,
.platform_ops = &gpio_ops,
}
#define gpio_ops
Definition app_config.h:85
#define DIS_GPIO_PIN
Definition app_config_stm32.h:64
#define dis_gpio_extra_init_params
Definition app_config_stm32.h:76
#define DIS_GPIO_PORT
Definition app_config_stm32.h:63

◆ dpot_init_params

struct dpot_init_param dpot_init_params
Initial value:
= {
.device_id = DEFAULT_ACTIVE_DEVICE,
.dpot_ops = &DEFAULT_DPOT_OPS,
}
#define DEFAULT_ACTIVE_DEVICE
Definition app_config.h:107
#define DEFAULT_DPOT_OPS
Definition dpot_user_config.h:85
#define DEFAULT_DPOT_EXTRA_PARAMS
Definition dpot_user_config.h:86

◆ indep_gpio_init_params

struct no_os_gpio_init_param indep_gpio_init_params
Initial value:
= {
.port = INDEP_GPIO_PORT,
.number = INDEP_GPIO_PIN,
.platform_ops = &gpio_ops,
}
#define indep_gpio_extra_init_params
Definition app_config_stm32.h:77
#define INDEP_GPIO_PIN
Definition app_config_stm32.h:67
#define INDEP_GPIO_PORT
Definition app_config_stm32.h:66

◆ lrdac_gpio_init_params

struct no_os_gpio_init_param lrdac_gpio_init_params
Initial value:
= {
.port = LRDAC_GPIO_PORT,
.number = LRDAC_GPIO_PIN,
.platform_ops = &gpio_ops,
}
#define LRDAC_GPIO_PORT
Definition app_config_stm32.h:57
#define LRDAC_GPIO_PIN
Definition app_config_stm32.h:58
#define lrdac_gpio_extra_init_params
Definition app_config_stm32.h:75

◆ reset_gpio_init_params

struct no_os_gpio_init_param reset_gpio_init_params
Initial value:
= {
.port = RESET_GPIO_PORT,
.number = RESET_GPIO_PIN,
.platform_ops = &gpio_ops,
}
#define reset_gpio_extra_init_params
Definition app_config.h:149
#define RESET_GPIO_PIN
Definition app_config_stm32.h:55
#define RESET_GPIO_PORT
Definition app_config_stm32.h:54

◆ shdn_gpio_init_params

struct no_os_gpio_init_param shdn_gpio_init_params
Initial value:
= {
.port = INDEP_GPIO_PORT,
.number = INDEP_GPIO_PIN,
.platform_ops = &gpio_ops,
}

◆ wp_gpio_init_params

struct no_os_gpio_init_param wp_gpio_init_params
Initial value:
= {
.port = WP_GPIO_PORT,
.number = WP_GPIO_PIN,
.platform_ops = &gpio_ops,
}
#define wp_gpio_extra_init_params
Definition app_config_stm32.h:74
#define WP_GPIO_PORT
Definition app_config_stm32.h:60
#define WP_GPIO_PIN
Definition app_config_stm32.h:61