Example program for EVAL-AD4130
Dependencies: tempsensors sdp_k1_sdram
app/ad4130_temperature_sensor.h
- Committer:
- Mahesh Phalke
- Date:
- 2022-07-20
- Revision:
- 2:7b2b268ea49c
File content as of revision 2:7b2b268ea49c:
/***************************************************************************//* * @file ad4130_temperature_sensor.h * @brief AD4130 temperature sensor module global defines ****************************************************************************** * Copyright (c) 2022 Analog Devices, Inc. * All Rights Reserved. * * This software is proprietary to Analog Devices, Inc. and its licensors. * By using this software you agree to the terms of the associated * Analog Devices Software License Agreement. ******************************************************************************/ #ifndef AD4130_TEMPERATURE_SENSOR_H_ #define AD4130_TEMPERATURE_SENSOR_H_ #ifdef __cplusplus extern "C" { #endif // _cplusplus /******************************************************************************/ /***************************** Include Files **********************************/ /******************************************************************************/ #include <stdint.h> /******************************************************************************/ /********************* Macros and Constants Definitions ***********************/ /******************************************************************************/ /******************************************************************************/ /********************** Public/Extern Declarations ****************************/ /******************************************************************************/ float get_ntc_thermistor_temperature(void *dev, uint32_t ntc_sample, uint8_t chn); float get_rtd_temperature(void *dev, uint32_t rtd_sample, uint8_t chn); float get_tc_temperature(void *dev, uint32_t tc_sample, uint32_t cjc_sample, uint8_t tc_chn, uint8_t cjc_chn, float *cjc_temp); #ifdef __cplusplus // Closing extern c } #endif // _cplusplus #endif // end of AD4130_TEMPERATURE_SENSOR_H_