AD7768-1 MBED IIO Application Example

Dependencies:   platform_drivers

Committer:
epena
Date:
Fri Sep 24 18:39:34 2021 +0800
Revision:
1:c0429edee15b
Adding Released source code of ad7768-1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
epena 1:c0429edee15b 1 /***************************************************************************//**
epena 1:c0429edee15b 2 * @file ad77681_iio.h
epena 1:c0429edee15b 3 * @brief Header file of ad77681_iio
epena 1:c0429edee15b 4 ********************************************************************************
epena 1:c0429edee15b 5 * Copyright (c) 2021 Analog Devices, Inc.
epena 1:c0429edee15b 6 * All rights reserved.
epena 1:c0429edee15b 7 *
epena 1:c0429edee15b 8 * This software is proprietary to Analog Devices, Inc. and its licensors.
epena 1:c0429edee15b 9 * By using this software you agree to the terms of the associated
epena 1:c0429edee15b 10 * Analog Devices Software License Agreement.
epena 1:c0429edee15b 11 *******************************************************************************/
epena 1:c0429edee15b 12 #ifndef _AD77681_IIO_H_
epena 1:c0429edee15b 13 #define _AD77681_IIO_H_
epena 1:c0429edee15b 14
epena 1:c0429edee15b 15 /******************************************************************************/
epena 1:c0429edee15b 16 /***************************** Include Files **********************************/
epena 1:c0429edee15b 17 /******************************************************************************/
epena 1:c0429edee15b 18
epena 1:c0429edee15b 19 #include <stdio.h>
epena 1:c0429edee15b 20 #include <stdbool.h>
epena 1:c0429edee15b 21
epena 1:c0429edee15b 22 #include "iio.h"
epena 1:c0429edee15b 23 #include "iio_types.h"
epena 1:c0429edee15b 24
epena 1:c0429edee15b 25 /******************************************************************************/
epena 1:c0429edee15b 26 /************************ Macros/Constants ************************************/
epena 1:c0429edee15b 27 /******************************************************************************/
epena 1:c0429edee15b 28
epena 1:c0429edee15b 29 /******************************************************************************/
epena 1:c0429edee15b 30 /************************ Public Declarations *********************************/
epena 1:c0429edee15b 31 /******************************************************************************/
epena 1:c0429edee15b 32
epena 1:c0429edee15b 33 /* AD77681 global device instance for accessing device specific APIs */
epena 1:c0429edee15b 34 extern struct ad77681_dev *p_ad77681_dev_inst;
epena 1:c0429edee15b 35
epena 1:c0429edee15b 36 /* Init the IIO interface */
epena 1:c0429edee15b 37 int32_t ad77681_iio_initialize(void);
epena 1:c0429edee15b 38
epena 1:c0429edee15b 39 /* Run the IIO event handler */
epena 1:c0429edee15b 40 void ad77681_iio_event_handler(void);
epena 1:c0429edee15b 41
epena 1:c0429edee15b 42 #endif /* _AD77681_IIO_H_ */