precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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
21/******************************************************************************/
22/********************** Macros and Constants Definition ***********************/
23/******************************************************************************/
24
25/* List of platforms supported */
26#define MBED_PLATFORM 1
27#define STM32_PLATFORM 2
28
29/* Select the active platform */
30#if !defined(ACTIVE_PLATFORM)
31#define ACTIVE_PLATFORM STM32_PLATFORM
32#endif
33
34#if (ACTIVE_PLATFORM == MBED_PLATFORM)
35#include "app_config_mbed.h"
36#define spi_init_extra_params mbed_spi_extra_init_params
37#else
38#include "app_config_stm32.h"
39#define spi_init_extra_params stm32_spi_extra_init_params
40#define uart_extra_init_params stm32_uart_extra_init_params
41#endif
42
43/******************************************************************************/
44/********************** Variables and User Defined Data Types *****************/
45/******************************************************************************/
47
48#endif
struct ltc2488_dev_init ltc2488_init_str
Definition ltc2488_user_config.c:25
Header file for Mbed platform configurations.
Device driver initialization parameters.
Definition ltc2488.h:98