Analog Devices / Mbed OS EVAL-AD4110

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ad4110_temperature_sensor.h Source File

ad4110_temperature_sensor.h

00001 /***************************************************************************//*
00002  * @file    ad4110_temperature_sensor.h
00003  * @brief   AD4110 temperature sensor module global defines
00004  * @details
00005 ******************************************************************************
00006  * Copyright (c) 2022 Analog Devices, Inc. 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 AD4110_TEMPERATURE_SENSOR_H_
00014 #define AD4110_TEMPERATURE_SENSOR_H_
00015 
00016 #ifdef __cplusplus
00017 extern "C"
00018 {
00019 #endif //  _cplusplus
00020 
00021 /******************************************************************************/
00022 /***************************** Include Files **********************************/
00023 /******************************************************************************/
00024 
00025 /******************************************************************************/
00026 /********************* Macros and Constants Definitions ***********************/
00027 /******************************************************************************/
00028 
00029 /******************************************************************************/
00030 /********************** Public/Extern Declarations ****************************/
00031 /******************************************************************************/
00032 
00033 float get_rtd_temperature(uint32_t rtd_sample);
00034 float get_tc_temperature(uint32_t tc_sample, uint8_t tc_channel,
00035              uint32_t cjc_sample, uint8_t cjc_channel, float *cjc_temp);
00036 
00037 #ifdef __cplusplus  // Closing extern c
00038 }
00039 #endif //  _cplusplus
00040 
00041 #endif  // end of AD4110_TEMPERATURE_SENSOR_H_