Forked repository for pushing changes to EVAL-AD4696
Dependencies: platform_drivers
app/iio_ad4696.h@1:8792acb5a039, 2021-09-30 (annotated)
- Committer:
- pmallick
- Date:
- Thu Sep 30 11:01:05 2021 +0530
- Revision:
- 1:8792acb5a039
AD4696 IIO Application- Initial Revision
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pmallick | 1:8792acb5a039 | 1 | /***************************************************************************//** |
pmallick | 1:8792acb5a039 | 2 | * @file iio_ad4696.h |
pmallick | 1:8792acb5a039 | 3 | * @brief Header file of iio_ad4696 |
pmallick | 1:8792acb5a039 | 4 | ******************************************************************************** |
pmallick | 1:8792acb5a039 | 5 | * Copyright (c) 2021 Analog Devices, Inc. |
pmallick | 1:8792acb5a039 | 6 | * |
pmallick | 1:8792acb5a039 | 7 | * All rights reserved. |
pmallick | 1:8792acb5a039 | 8 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
pmallick | 1:8792acb5a039 | 9 | * By using this software you agree to the terms of the associated |
pmallick | 1:8792acb5a039 | 10 | * Analog Devices Software License Agreement. |
pmallick | 1:8792acb5a039 | 11 | *******************************************************************************/ |
pmallick | 1:8792acb5a039 | 12 | #ifndef IIO_AD4696_H_ |
pmallick | 1:8792acb5a039 | 13 | #define IIO_AD4696_H_ |
pmallick | 1:8792acb5a039 | 14 | |
pmallick | 1:8792acb5a039 | 15 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 16 | /***************************** Include Files **********************************/ |
pmallick | 1:8792acb5a039 | 17 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 18 | |
pmallick | 1:8792acb5a039 | 19 | #include <stdio.h> |
pmallick | 1:8792acb5a039 | 20 | #include <stdbool.h> |
pmallick | 1:8792acb5a039 | 21 | |
pmallick | 1:8792acb5a039 | 22 | #include "iio.h" |
pmallick | 1:8792acb5a039 | 23 | #include "iio_types.h" |
pmallick | 1:8792acb5a039 | 24 | |
pmallick | 1:8792acb5a039 | 25 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 26 | /****************************** Macros ****************************************/ |
pmallick | 1:8792acb5a039 | 27 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 28 | |
pmallick | 1:8792acb5a039 | 29 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 30 | /*************************** Types Declarations *******************************/ |
pmallick | 1:8792acb5a039 | 31 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 32 | |
pmallick | 1:8792acb5a039 | 33 | /* AD4696 global device instance for accessing device specific APIs */ |
pmallick | 1:8792acb5a039 | 34 | extern struct ad469x_dev *p_ad4696_dev; |
pmallick | 1:8792acb5a039 | 35 | |
pmallick | 1:8792acb5a039 | 36 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 37 | /************************ Functions Declarations ******************************/ |
pmallick | 1:8792acb5a039 | 38 | /******************************************************************************/ |
pmallick | 1:8792acb5a039 | 39 | |
pmallick | 1:8792acb5a039 | 40 | /* Init the IIO interface */ |
pmallick | 1:8792acb5a039 | 41 | int32_t ad4696_iio_initialize(void); |
pmallick | 1:8792acb5a039 | 42 | |
pmallick | 1:8792acb5a039 | 43 | /* Run the IIO event handler */ |
pmallick | 1:8792acb5a039 | 44 | void ad4696_iio_event_handler(void); |
pmallick | 1:8792acb5a039 | 45 | |
pmallick | 1:8792acb5a039 | 46 | #endif /* IIO_AD4696_H_ */ |