Example Program for EVAL-AD7606
Dependencies: platform_drivers
app/iio_ad7606.h@6:32de160dce43, 2021-07-21 (annotated)
- Committer:
- Kjansen
- Date:
- Wed Jul 21 11:16:56 2021 +0100
- Revision:
- 6:32de160dce43
- Parent:
- 1:819ac9aa5667
- Child:
- 7:054dbd5e1f45
Updated the project directory structure to remove the duplicate drivers repositories and replaced with common no-os driver repository
Who changed what in which revision?
User | Revision | Line number | New 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 | /******************************************************************************/ |
mahphalke |
1:819ac9aa5667 | 33 | /************************ Functions 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 | |
mahphalke |
1:819ac9aa5667 | 42 | #endif /* IIO_AD7606_H_ */ |