Example program for EVAL-AD4130

Dependencies:   tempsensors sdp_k1_sdram

Revision:
2:7b2b268ea49c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/ad4130_temperature_sensor.h	Wed Jul 20 18:12:00 2022 +0530
@@ -0,0 +1,47 @@
+/***************************************************************************//*
+ * @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_