Analog Devices / Mbed OS EVAL-AD4110

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ad4110_support.h Source File

ad4110_support.h

00001 /***************************************************************************//*
00002  * @file    ad4110_support.h
00003  * @brief   AD4110 No-OS driver support header file
00004 ******************************************************************************
00005  * Copyright (c) 2022 Analog Devices, Inc. All Rights Reserved.
00006  *
00007  * This software is proprietary to Analog Devices, Inc. and its licensors.
00008  * By using this software you agree to the terms of the associated
00009  * Analog Devices Software License Agreement.
00010 ******************************************************************************/
00011 #ifndef AD4110_SUPPORT_H_
00012 #define AD4110_SUPPORT_H_
00013 
00014 /******************************************************************************/
00015 /***************************** Include Files **********************************/
00016 /******************************************************************************/
00017 
00018 #include <stdlib.h>
00019 
00020 /******************************************************************************/
00021 /********************* Macros and Constants Definitions ***********************/
00022 /******************************************************************************/
00023 
00024 /******************************************************************************/
00025 /********************** Public/Extern Declarations ****************************/
00026 /******************************************************************************/
00027 
00028 float convert_adc_raw_into_rtd_resistance(uint32_t adc_raw, float rtd_ref);
00029 int32_t perform_sign_conversion(uint32_t adc_raw_data);
00030 float convert_adc_sample_into_voltage(uint32_t adc_raw, uint8_t channel_id);
00031 
00032 #endif  /* end of AD4110_SUPPORT_H_ */