IIO firmware for the AD4110

Dependencies:   tempsensors sdp_k1_sdram

Committer:
Janani Sunil
Date:
Mon Aug 01 11:09:48 2022 +0530
Revision:
1:a78dbaa4b05d
Parent:
0:6ca37a8f8ba9
Initial implementation of AD4110 IIO Firmware

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Janani Sunil 0:6ca37a8f8ba9 1 /***************************************************************************//*
Janani Sunil 0:6ca37a8f8ba9 2 * @file ad4110_support.h
Janani Sunil 0:6ca37a8f8ba9 3 * @brief AD4110 No-OS driver support header file
Janani Sunil 0:6ca37a8f8ba9 4 ******************************************************************************
Janani Sunil 0:6ca37a8f8ba9 5 * Copyright (c) 2022 Analog Devices, Inc. All Rights Reserved.
Janani Sunil 0:6ca37a8f8ba9 6 *
Janani Sunil 0:6ca37a8f8ba9 7 * This software is proprietary to Analog Devices, Inc. and its licensors.
Janani Sunil 0:6ca37a8f8ba9 8 * By using this software you agree to the terms of the associated
Janani Sunil 0:6ca37a8f8ba9 9 * Analog Devices Software License Agreement.
Janani Sunil 0:6ca37a8f8ba9 10 ******************************************************************************/
Janani Sunil 0:6ca37a8f8ba9 11 #ifndef AD4110_SUPPORT_H_
Janani Sunil 0:6ca37a8f8ba9 12 #define AD4110_SUPPORT_H_
Janani Sunil 0:6ca37a8f8ba9 13
Janani Sunil 0:6ca37a8f8ba9 14 /******************************************************************************/
Janani Sunil 0:6ca37a8f8ba9 15 /***************************** Include Files **********************************/
Janani Sunil 0:6ca37a8f8ba9 16 /******************************************************************************/
Janani Sunil 0:6ca37a8f8ba9 17
Janani Sunil 0:6ca37a8f8ba9 18 #include <stdlib.h>
Janani Sunil 0:6ca37a8f8ba9 19
Janani Sunil 0:6ca37a8f8ba9 20 /******************************************************************************/
Janani Sunil 0:6ca37a8f8ba9 21 /********************* Macros and Constants Definitions ***********************/
Janani Sunil 0:6ca37a8f8ba9 22 /******************************************************************************/
Janani Sunil 0:6ca37a8f8ba9 23
Janani Sunil 0:6ca37a8f8ba9 24 /******************************************************************************/
Janani Sunil 0:6ca37a8f8ba9 25 /********************** Public/Extern Declarations ****************************/
Janani Sunil 0:6ca37a8f8ba9 26 /******************************************************************************/
Janani Sunil 0:6ca37a8f8ba9 27
Janani Sunil 0:6ca37a8f8ba9 28 float convert_adc_raw_into_rtd_resistance(uint32_t adc_raw, float rtd_ref);
Janani Sunil 0:6ca37a8f8ba9 29 int32_t perform_sign_conversion(uint32_t adc_raw_data);
Janani Sunil 0:6ca37a8f8ba9 30 float convert_adc_sample_into_voltage(uint32_t adc_raw, uint8_t channel_id);
Janani Sunil 0:6ca37a8f8ba9 31
Janani Sunil 0:6ca37a8f8ba9 32 #endif /* end of AD4110_SUPPORT_H_ */