precision-converters-firmware
Variables
ad7124_user_config.c File Reference

User configuration file for AD7124 device. More...

#include <stdint.h>
#include "app_config.h"
#include "ad7124_user_config.h"
#include "mbed_spi.h"
#include "mbed_gpio.h"
Include dependency graph for ad7124_user_config.c:

Variables

struct mbed_spi_init_param spi_init_extra_params
 
struct no_os_spi_init_param ad7124_spi_init
 
struct ad7124_init_param ad7124_init_params
 

Detailed Description

User configuration file for AD7124 device.

Copyright (c) 2021-22 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

◆ ad7124_init_params

struct ad7124_init_param ad7124_init_params
Initial value:
= {
ad7124_regs,
10000
}
struct no_os_spi_init_param ad7124_spi_init
Definition: ad7124_user_config.c:42

◆ ad7124_spi_init

struct no_os_spi_init_param ad7124_spi_init
Initial value:
= {
.max_speed_hz = 10000000,
.chip_select = SPI_SS,
.mode = NO_OS_SPI_MODE_3,
.platform_ops = &mbed_spi_ops,
}
struct mbed_spi_init_param spi_init_extra_params
Definition: ad7124_user_config.c:34
#define SPI_SS
Definition: ltc2488_user_config.h:45

◆ spi_init_extra_params

struct mbed_spi_init_param spi_init_extra_params
Initial value:
= {
.spi_clk_pin = SPI_SCK,
.spi_miso_pin = SPI_MISO,
.spi_mosi_pin = SPI_MOSI,
.use_sw_csb = false
}
#define SPI_SCK
Definition: app_config_mbed.h:36
#define SPI_MOSI
Definition: ltc2488_user_config.h:46
#define SPI_MISO
Definition: ltc2488_user_config.h:47