AD7768-1 MBED IIO Application Example

Dependencies:   platform_drivers

Revision:
1:c0429edee15b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/ad77681_iio.h	Fri Sep 24 18:39:34 2021 +0800
@@ -0,0 +1,42 @@
+/***************************************************************************//**
+*   @file   ad77681_iio.h
+*   @brief  Header file of ad77681_iio
+********************************************************************************
+* Copyright (c) 2021 Analog Devices, Inc.
+* All rights reserved.
+*
+* This software is proprietary to Analog Devices, Inc. and its licensors.
+* By using this software you agree to the terms of the associated
+* Analog Devices Software License Agreement.
+*******************************************************************************/
+#ifndef _AD77681_IIO_H_
+#define _AD77681_IIO_H_
+
+/******************************************************************************/
+/***************************** Include Files **********************************/
+/******************************************************************************/
+
+#include <stdio.h>
+#include <stdbool.h>
+
+#include "iio.h"
+#include "iio_types.h"
+
+/******************************************************************************/
+/************************ Macros/Constants ************************************/
+/******************************************************************************/
+
+/******************************************************************************/
+/************************ Public Declarations *********************************/
+/******************************************************************************/
+
+/* AD77681 global device instance for accessing device specific APIs */
+extern struct ad77681_dev *p_ad77681_dev_inst;
+
+/* Init the IIO interface */
+int32_t ad77681_iio_initialize(void);
+
+/* Run the IIO event handler */
+void ad77681_iio_event_handler(void);
+
+#endif /* _AD77681_IIO_H_ */