Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: sdp_k1_sdram
app/ad7689_iio.h@2:007533849deb, 2022-07-21 (annotated)
- Committer:
- Mahesh Phalke
- Date:
- Thu Jul 21 16:45:24 2022 +0530
- Revision:
- 2:007533849deb
Initial firmware commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mahesh Phalke |
2:007533849deb | 1 | /***************************************************************************//** |
Mahesh Phalke |
2:007533849deb | 2 | * @file ad7689_iio.h |
Mahesh Phalke |
2:007533849deb | 3 | * @brief Header file for AD7689 IIO interface |
Mahesh Phalke |
2:007533849deb | 4 | ******************************************************************************** |
Mahesh Phalke |
2:007533849deb | 5 | * Copyright (c) 2021 Analog Devices, Inc. |
Mahesh Phalke |
2:007533849deb | 6 | * All rights reserved. |
Mahesh Phalke |
2:007533849deb | 7 | * |
Mahesh Phalke |
2:007533849deb | 8 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
Mahesh Phalke |
2:007533849deb | 9 | * By using this software you agree to the terms of the associated |
Mahesh Phalke |
2:007533849deb | 10 | * Analog Devices Software License Agreement. |
Mahesh Phalke |
2:007533849deb | 11 | *******************************************************************************/ |
Mahesh Phalke |
2:007533849deb | 12 | #ifndef _AD7689_IIO_H_ |
Mahesh Phalke |
2:007533849deb | 13 | #define _AD7689_IIO_H_ |
Mahesh Phalke |
2:007533849deb | 14 | |
Mahesh Phalke |
2:007533849deb | 15 | /******************************************************************************/ |
Mahesh Phalke |
2:007533849deb | 16 | /***************************** Include Files **********************************/ |
Mahesh Phalke |
2:007533849deb | 17 | /******************************************************************************/ |
Mahesh Phalke |
2:007533849deb | 18 | |
Mahesh Phalke |
2:007533849deb | 19 | #include "iio.h" |
Mahesh Phalke |
2:007533849deb | 20 | #include "iio_types.h" |
Mahesh Phalke |
2:007533849deb | 21 | #include "ad7689.h" |
Mahesh Phalke |
2:007533849deb | 22 | |
Mahesh Phalke |
2:007533849deb | 23 | /******************************************************************************/ |
Mahesh Phalke |
2:007533849deb | 24 | /********************** Macros and Constants Definition ***********************/ |
Mahesh Phalke |
2:007533849deb | 25 | /******************************************************************************/ |
Mahesh Phalke |
2:007533849deb | 26 | |
Mahesh Phalke |
2:007533849deb | 27 | /******************************************************************************/ |
Mahesh Phalke |
2:007533849deb | 28 | /********************** Public/Extern Declarations ****************************/ |
Mahesh Phalke |
2:007533849deb | 29 | /******************************************************************************/ |
Mahesh Phalke |
2:007533849deb | 30 | |
Mahesh Phalke |
2:007533849deb | 31 | /* AD7689 global device instance for accessing device specific APIs */ |
Mahesh Phalke |
2:007533849deb | 32 | extern struct ad7689_dev *p_ad7689_dev_inst; |
Mahesh Phalke |
2:007533849deb | 33 | |
Mahesh Phalke |
2:007533849deb | 34 | /* AD7689 current device config */ |
Mahesh Phalke |
2:007533849deb | 35 | extern struct ad7689_config ad7689_current_config; |
Mahesh Phalke |
2:007533849deb | 36 | |
Mahesh Phalke |
2:007533849deb | 37 | /* Init the IIO interface */ |
Mahesh Phalke |
2:007533849deb | 38 | int32_t ad7689_iio_initialize(void); |
Mahesh Phalke |
2:007533849deb | 39 | |
Mahesh Phalke |
2:007533849deb | 40 | /* Run the IIO event handler */ |
Mahesh Phalke |
2:007533849deb | 41 | void ad7689_iio_event_handler(void); |
Mahesh Phalke |
2:007533849deb | 42 | |
Mahesh Phalke |
2:007533849deb | 43 | #endif /* _AD7689_IIO_H_ */ |