precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ad4130_thermocouple_config.h
Go to the documentation of this file.
1/*************************************************************************/
13#ifndef _AD4130_THERMOCOUPLE_CONFIG_H_
14#define _AD4130_THERMOCOUPLE_CONFIG_H_
15
16/******************************************************************************/
17/***************************** Include Files **********************************/
18/******************************************************************************/
19
20#include <stdint.h>
21#include "ad413x.h"
22
23/******************************************************************************/
24/********************** Macros and Constants Definition ***********************/
25/******************************************************************************/
26
27/* Select the Cold Junction Compensation (CJC) sensor type for TC measurement */
28#define USE_CJC_AS_RTD
29//#define USE_CJC_AS_THERMISTOR
30
31/* Select FS (or ODR) for thermocouple config (applicable to all channels) */
32#define AD4130_FS_CONFIG 48 // ODR = 50SPS for SINC3/4 filter
33
34/* Filter type for default thermocouple config
35 * Note: Applicable for all setups to keep the same ODR for all channels */
36#define AD4130_FILTER_TYPE AD413X_SYNC3_STANDALONE
37
38/* Scaler factor used in FS to ODR conversion (For SINC3/4 filter) */
39#define FS_TO_ODR_CONV_SCALER (32U * AD4130_FS_CONFIG)
40
41/******************************************************************************/
42/********************** Public/Extern Declarations ****************************/
43/******************************************************************************/
44
45extern struct ad413x_init_param ad4130_thermocouple_config_params;
46
47#endif /* end of _AD4130_THERMOCOUPLE_CONFIG_H_ */
struct ad413x_init_param ad4130_thermocouple_config_params
Definition ad4130_thermocouple_config.c:28