precision-converters-firmware
Loading...
Searching...
No Matches
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#include "common_macros.h"
18
19/******************************************************************************/
20/***************************** Include Files **********************************/
21/******************************************************************************/
22
23/******************************************************************************/
24/********************** Macros and Constants Definition ***********************/
25/******************************************************************************/
26
27/* Select the active platform */
28#if !defined(ACTIVE_PLATFORM)
29#define ACTIVE_PLATFORM STM32_PLATFORM
30#endif
31
32#if (ACTIVE_PLATFORM == STM32_PLATFORM)
33#include "app_config_stm32.h"
34#define spi_init_extra_params stm32_spi_extra_init_params
35#define uart_extra_init_params stm32_uart_extra_init_params
36#else
37#error "No/Invalid active platform selected"
38#endif
39
40/******************************************************************************/
41/********************** Variables and User Defined Data Types *****************/
42/******************************************************************************/
44
45#endif
The file contain common macros that needs to be followed same across all the projects.
struct ltc2488_dev_init ltc2488_init_str
Definition ltc2488_user_config.c:25
Header file for STM32 platform configurations.
Device driver initialization parameters.
Definition ltc2488.h:98