Example program for EVAL-AD4130

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ad4130_temperature_sensor.h Source File

ad4130_temperature_sensor.h

00001 /***************************************************************************//*
00002  * @file    ad4130_temperature_sensor.h
00003  * @brief   AD4130 temperature sensor module global defines
00004 ******************************************************************************
00005  * Copyright (c) 2022 Analog Devices, Inc.
00006  * All Rights Reserved.
00007  *
00008  * This software is proprietary to Analog Devices, Inc. and its licensors.
00009  * By using this software you agree to the terms of the associated
00010  * Analog Devices Software License Agreement.
00011 ******************************************************************************/
00012 
00013 #ifndef AD4130_TEMPERATURE_SENSOR_H_
00014 #define AD4130_TEMPERATURE_SENSOR_H_
00015 
00016 #ifdef __cplusplus
00017 extern "C"
00018 {
00019 #endif //  _cplusplus
00020 
00021 /******************************************************************************/
00022 /***************************** Include Files **********************************/
00023 /******************************************************************************/
00024 
00025 #include <stdint.h>
00026 
00027 /******************************************************************************/
00028 /********************* Macros and Constants Definitions ***********************/
00029 /******************************************************************************/
00030 
00031 /******************************************************************************/
00032 /********************** Public/Extern Declarations ****************************/
00033 /******************************************************************************/
00034 
00035 float get_ntc_thermistor_temperature(void *dev, uint32_t ntc_sample,
00036                      uint8_t chn);
00037 float get_rtd_temperature(void *dev, uint32_t rtd_sample, uint8_t chn);
00038 float get_tc_temperature(void *dev,
00039              uint32_t tc_sample, uint32_t cjc_sample,
00040              uint8_t tc_chn, uint8_t cjc_chn,
00041              float *cjc_temp);
00042 
00043 #ifdef __cplusplus  // Closing extern c
00044 }
00045 #endif //  _cplusplus
00046 
00047 #endif  // end of AD4130_TEMPERATURE_SENSOR_H_