precision-converters-firmware
runner
work
precision-converters-firmware
precision-converters-firmware
projects
ad590_console
app
ltc2488_user_config.h
Go to the documentation of this file.
1
/*************************************************************************/
14
#ifndef LTC2488_USER_CONFIG_H_
15
#define LTC2488_USER_CONFIG_H_
16
17
/******************************************************************************/
18
/***************************** Include Files **********************************/
19
/******************************************************************************/
20
#include <PinNames.h>
21
22
/******************************************************************************/
23
/********************** Macros and Constants Definition ***********************/
24
/******************************************************************************/
25
34
//#define SDP_120
35
36
#ifdef SDP_120
37
38
#define SPI_SS SDP_SPI_CS_A
39
#define SPI_MISO SDP_SPI_MISO
40
#define SPI_MOSI SDP_SPI_MOSI
41
#define SPI_SCK SDP_SPI_SCK
42
43
#else
// ARDUINO
44
45
#define SPI_SS ARDUINO_UNO_D10
46
#define SPI_MOSI ARDUINO_UNO_D11
47
#define SPI_MISO ARDUINO_UNO_D12
48
#define SPI_SCK ARDUINO_UNO_D13
49
50
#endif
51
52
/******************************************************************************/
53
/********************** Variables and User Defined Data Types *****************/
54
/******************************************************************************/
55
extern
struct
ltc2488_dev_init
ltc2488_init_str
;
56
57
#endif
ltc2488_init_str
struct ltc2488_dev_init ltc2488_init_str
Definition:
ltc2488_user_config.c:33
ltc2488_dev_init
Device driver initialization parameters.
Definition:
ltc2488.h:98
Generated by
1.9.1