precision-converters-firmware
Variables
ad5592r_user_config.c File Reference

: Device parameters, structure and initial condition settings More...

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include "app_config.h"
#include "ad5592r-base.h"
#include "mbed_platform_support.h"
#include "no_os_i2c.h"
#include "no_os_spi.h"
#include "mbed_spi.h"
#include "mbed_i2c.h"
Include dependency graph for ad5592r_user_config.c:

Variables

struct mbed_spi_init_param spi_init_extra_params
 
struct mbed_i2c_init_param i2c_init_extra_params
 
struct no_os_spi_init_param spi_user_params
 
struct no_os_i2c_init_param i2c_user_params
 
const struct ad5592r_init_param ad5592r_user_param
 
const struct ad5592r_dev ad5592r_dev_user
 

Detailed Description

: Device parameters, structure and initial condition settings

: Settings for parameters and descriptors for interface protocols. Start up configuration


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

◆ ad5592r_dev_user

const struct ad5592r_dev ad5592r_dev_user

◆ ad5592r_user_param

const struct ad5592r_init_param ad5592r_user_param
Initial value:
= {
.int_ref = false
}

◆ i2c_init_extra_params

struct mbed_i2c_init_param i2c_init_extra_params
Initial value:
= {
.i2c_sda_pin = I2C_SDA,
.i2c_scl_pin = I2C_SCL
}
#define I2C_SDA
Definition: app_config_mbed.h:69
#define I2C_SCL
Definition: app_config_mbed.h:68

◆ i2c_user_params

struct no_os_i2c_init_param i2c_user_params
Initial value:
= {
.max_speed_hz = 100000,
.slave_address = AD5593R_I2C,
.platform_ops = &mbed_i2c_ops,
}
struct mbed_i2c_init_param i2c_init_extra_params
Definition: ad5592r_user_config.c:41
#define AD5593R_I2C
Definition: app_config.h:55

◆ spi_init_extra_params

struct mbed_spi_init_param spi_init_extra_params
Initial value:
= {
.spi_clk_pin = SPI_SCK,
.spi_miso_pin = SPI_HOST_SDI,
.spi_mosi_pin = SPI_HOST_SDO,
}
#define SPI_HOST_SDO
Definition: app_config_mbed.h:34
#define SPI_SCK
Definition: app_config_mbed.h:36
#define SPI_HOST_SDI
Definition: app_config_mbed.h:35

◆ spi_user_params

struct no_os_spi_init_param spi_user_params
Initial value:
= {
.max_speed_hz = 10000000,
.chip_select = SPI_CSB,
.mode = NO_OS_SPI_MODE_2,
.platform_ops = &mbed_spi_ops,
}
#define SPI_CSB
Definition: app_config_mbed.h:33
struct mbed_spi_init_param spi_init_extra_params
Definition: ad5592r_user_config.c:35