IIO firmware for the AD4110
Dependencies: tempsensors sdp_k1_sdram
app/ad4110_iio.h@0:6ca37a8f8ba9, 2022-07-27 (annotated)
- Committer:
- Janani Sunil
- Date:
- Wed Jul 27 17:04:15 2022 +0530
- Revision:
- 0:6ca37a8f8ba9
Initial implementation for AD4110 IIO Firmware
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Janani Sunil | 0:6ca37a8f8ba9 | 1 | /***************************************************************************//** |
Janani Sunil | 0:6ca37a8f8ba9 | 2 | * @file ad4110_iio.h |
Janani Sunil | 0:6ca37a8f8ba9 | 3 | * @brief Header file of AD4110-1 IIO interfaces |
Janani Sunil | 0:6ca37a8f8ba9 | 4 | ******************************************************************************** |
Janani Sunil | 0:6ca37a8f8ba9 | 5 | * Copyright (c) 2022 Analog Devices, Inc. |
Janani Sunil | 0:6ca37a8f8ba9 | 6 | * All rights reserved. |
Janani Sunil | 0:6ca37a8f8ba9 | 7 | * |
Janani Sunil | 0:6ca37a8f8ba9 | 8 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
Janani Sunil | 0:6ca37a8f8ba9 | 9 | * By using this software you agree to the terms of the associated |
Janani Sunil | 0:6ca37a8f8ba9 | 10 | * Analog Devices Software License Agreement. |
Janani Sunil | 0:6ca37a8f8ba9 | 11 | *******************************************************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 12 | #ifndef AD4110_IIO_H_ |
Janani Sunil | 0:6ca37a8f8ba9 | 13 | #define AD4110_IIO_H_ |
Janani Sunil | 0:6ca37a8f8ba9 | 14 | |
Janani Sunil | 0:6ca37a8f8ba9 | 15 | /******************************************************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 16 | /***************************** Include Files **********************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 17 | /******************************************************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 18 | |
Janani Sunil | 0:6ca37a8f8ba9 | 19 | #include <stdint.h> |
Janani Sunil | 0:6ca37a8f8ba9 | 20 | #include "iio.h" |
Janani Sunil | 0:6ca37a8f8ba9 | 21 | #include "ad4110.h" |
Janani Sunil | 0:6ca37a8f8ba9 | 22 | |
Janani Sunil | 0:6ca37a8f8ba9 | 23 | /******************************************************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 24 | /************************ Macros/Constants ************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 25 | /******************************************************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 26 | |
Janani Sunil | 0:6ca37a8f8ba9 | 27 | /* CJC has been incorporated on channel 1 (LV Channel) */ |
Janani Sunil | 0:6ca37a8f8ba9 | 28 | #define CJC_CHANNEL 1 |
Janani Sunil | 0:6ca37a8f8ba9 | 29 | #define HV_CHANNEL 0 |
Janani Sunil | 0:6ca37a8f8ba9 | 30 | |
Janani Sunil | 0:6ca37a8f8ba9 | 31 | /******************************************************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 32 | /************************ Public Declarations *********************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 33 | /******************************************************************************/ |
Janani Sunil | 0:6ca37a8f8ba9 | 34 | |
Janani Sunil | 0:6ca37a8f8ba9 | 35 | extern struct ad4110_dev *ad4110_dev_inst; |
Janani Sunil | 0:6ca37a8f8ba9 | 36 | int32_t ad4110_iio_initialize(void); |
Janani Sunil | 0:6ca37a8f8ba9 | 37 | void ad4110_iio_event_handler(void); |
Janani Sunil | 0:6ca37a8f8ba9 | 38 | |
Janani Sunil | 0:6ca37a8f8ba9 | 39 | #endif // AD4110_IIO_H_ |
Janani Sunil | 0:6ca37a8f8ba9 | 40 |