Example Program for EVAL-AD7606

Dependencies:   platform_drivers

Committer:
Kjansen
Date:
Tue Aug 03 11:54:49 2021 +0100
Revision:
7:054dbd5e1f45
Parent:
6:32de160dce43
Modified the ADC data capture module to remove dependancy on type of ADC and it's specific operations

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mahphalke 1:819ac9aa5667 1 /***************************************************************************//**
mahphalke 1:819ac9aa5667 2 * @file iio_ad7606.h
mahphalke 1:819ac9aa5667 3 * @brief Header file of iio_ad7606
mahphalke 1:819ac9aa5667 4 ********************************************************************************
Kjansen 6:32de160dce43 5 * Copyright (c) 2020-2021 Analog Devices, Inc.
mahphalke 1:819ac9aa5667 6 *
mahphalke 1:819ac9aa5667 7 * All rights reserved.
mahphalke 1:819ac9aa5667 8 * This software is proprietary to Analog Devices, Inc. and its licensors.
mahphalke 1:819ac9aa5667 9 * By using this software you agree to the terms of the associated
mahphalke 1:819ac9aa5667 10 * Analog Devices Software License Agreement.
mahphalke 1:819ac9aa5667 11 *******************************************************************************/
mahphalke 1:819ac9aa5667 12 #ifndef IIO_AD7606_H_
mahphalke 1:819ac9aa5667 13 #define IIO_AD7606_H_
mahphalke 1:819ac9aa5667 14
mahphalke 1:819ac9aa5667 15 /******************************************************************************/
mahphalke 1:819ac9aa5667 16 /***************************** Include Files **********************************/
mahphalke 1:819ac9aa5667 17 /******************************************************************************/
mahphalke 1:819ac9aa5667 18
mahphalke 1:819ac9aa5667 19 #include <stdio.h>
mahphalke 1:819ac9aa5667 20 #include <stdbool.h>
mahphalke 1:819ac9aa5667 21 #include "iio.h"
mahphalke 1:819ac9aa5667 22 #include "iio_types.h"
mahphalke 1:819ac9aa5667 23
mahphalke 1:819ac9aa5667 24 /******************************************************************************/
mahphalke 1:819ac9aa5667 25 /****************************** Macros ****************************************/
mahphalke 1:819ac9aa5667 26 /******************************************************************************/
mahphalke 1:819ac9aa5667 27
mahphalke 1:819ac9aa5667 28 /******************************************************************************/
mahphalke 1:819ac9aa5667 29 /*************************** Types Declarations *******************************/
mahphalke 1:819ac9aa5667 30 /******************************************************************************/
mahphalke 1:819ac9aa5667 31
mahphalke 1:819ac9aa5667 32 /******************************************************************************/
Kjansen 7:054dbd5e1f45 33 /*************************** Public Declarations ******************************/
mahphalke 1:819ac9aa5667 34 /******************************************************************************/
mahphalke 1:819ac9aa5667 35
mahphalke 1:819ac9aa5667 36 /* Init the IIO interface */
mahphalke 1:819ac9aa5667 37 int32_t ad7606_iio_initialize(void);
mahphalke 1:819ac9aa5667 38
mahphalke 1:819ac9aa5667 39 /* Run the IIO event handler */
mahphalke 1:819ac9aa5667 40 void ad7606_iio_event_handler(void);
mahphalke 1:819ac9aa5667 41
Kjansen 7:054dbd5e1f45 42 extern struct ad7606_dev *p_ad7606_dev_inst;
Kjansen 7:054dbd5e1f45 43
mahphalke 1:819ac9aa5667 44 #endif /* IIO_AD7606_H_ */