Analog Devices / Mbed OS EVAL-AD4110

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ad4110_rtd_mode_config.h Source File

ad4110_rtd_mode_config.h

Go to the documentation of this file.
00001 /*************************************************************************//**
00002  *   @file   ad4110_rtd_mode_config.h
00003  *   @brief  RTD Mode Configuration for AD4110 IIO Application
00004 ******************************************************************************
00005 * Copyright (c) 2022 Analog Devices, Inc.
00006 *
00007 * All rights reserved.
00008 *
00009 * This software is proprietary to Analog Devices, Inc. and its licensors.
00010 * By using this software you agree to the terms of the associated
00011 * Analog Devices Software License Agreement.
00012 *****************************************************************************/
00013 
00014 #ifndef AD4110_RTD_MODE_CONFIG_H_
00015 #define AD4110_RTD_MODE_CONFIG_H_
00016 
00017 /******************************************************************************/
00018 /***************************** Include Files **********************************/
00019 /******************************************************************************/
00020 
00021 #include "ad4110.h"
00022 
00023 /******************************************************************************/
00024 /********************** Macros and Constants Definition ***********************/
00025 /******************************************************************************/
00026 
00027 /* RTD Mode Configurarion. Uncomment any one mode to select the
00028  * Mode of operation. Default is 2-wire*/
00029 #define RTD_2WIRE_CONFIG
00030 // #define RTD_3WIRE_CONFIG
00031 // #define RTD_4WIRE_CONFIG
00032 
00033 /* Note: AD4110_DEFAULT_PGA value is applied during calculation of actual quantity
00034 * from the ADC raw value. GAIN_CH holds the value of the bitfield needed while
00035 * configuring the gain in the device during initialization. It has to be ensured
00036 * that these values are in match with each other */
00037 #define AD4110_DEFAULT_PGA      8
00038 #define GAIN_CH             AD4110_GAIN_8
00039 
00040 /******************************************************************************/
00041 /********************** Variables and User Defined Data Types *****************/
00042 /******************************************************************************/
00043 
00044 /******************************************************************************/
00045 /************************ Public Declarations *********************************/
00046 /******************************************************************************/
00047 
00048 extern struct ad4110_init_param ad4110_rtd_mode_init_params;
00049 
00050 #endif // AD4110_RTD_MODE_CONFIG_H_
00051