Analog Devices / Mbed OS EVAL-AD7689

Dependencies:   sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ad7689_iio.h Source File

ad7689_iio.h

Go to the documentation of this file.
00001 /***************************************************************************//**
00002 * @file   ad7689_iio.h
00003 * @brief  Header file for AD7689 IIO interface
00004 ********************************************************************************
00005 * Copyright (c) 2021 Analog Devices, Inc.
00006 * 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 #ifndef _AD7689_IIO_H_
00013 #define _AD7689_IIO_H_
00014 
00015 /******************************************************************************/
00016 /***************************** Include Files **********************************/
00017 /******************************************************************************/
00018 
00019 #include "iio.h"
00020 #include "iio_types.h"
00021 #include "ad7689.h"
00022 
00023 /******************************************************************************/
00024 /********************** Macros and Constants Definition ***********************/
00025 /******************************************************************************/
00026 
00027 /******************************************************************************/
00028 /********************** Public/Extern Declarations ****************************/
00029 /******************************************************************************/
00030 
00031 /* AD7689 global device instance for accessing device specific APIs */
00032 extern struct ad7689_dev *p_ad7689_dev_inst;
00033 
00034 /* AD7689 current device config */
00035 extern struct ad7689_config ad7689_current_config;
00036 
00037 /* Init the IIO interface */
00038 int32_t ad7689_iio_initialize(void);
00039 
00040 /* Run the IIO event handler */
00041 void ad7689_iio_event_handler(void);
00042 
00043 #endif /* _AD7689_IIO_H_ */