precision-converters-firmware
Variables
ltc2488_user_config.c File Reference

User configuration file for LTC2488 device. More...

#include "ltc2488.h"
#include "ltc2488_user_config.h"
#include "mbed_spi.h"
Include dependency graph for ltc2488_user_config.c:

Variables

struct mbed_spi_init_param spi_init_extra_params
 
struct ltc2488_dev_init ltc2488_init_str
 

Detailed Description

User configuration file for LTC2488 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

◆ ltc2488_init_str

struct ltc2488_dev_init ltc2488_init_str
Initial value:
= {
.spi_init = {
.max_speed_hz = 2000000,
.chip_select = SPI_SS,
.mode = NO_OS_SPI_MODE_0,
.platform_ops = &mbed_spi_ops
}
}
struct mbed_spi_init_param spi_init_extra_params
Definition: ltc2488_user_config.c:26
#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
}
#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