Example Program for EVAL-AD7606
Dependencies: platform_drivers
Diff: app/iio_ad7606.h
- Revision:
- 6:32de160dce43
- Parent:
- 1:819ac9aa5667
- Child:
- 7:054dbd5e1f45
--- a/app/iio_ad7606.h Mon Oct 19 07:54:56 2020 +0000 +++ b/app/iio_ad7606.h Wed Jul 21 11:16:56 2021 +0100 @@ -2,7 +2,7 @@ * @file iio_ad7606.h * @brief Header file of iio_ad7606 ******************************************************************************** -* Copyright (c) 2020 Analog Devices, Inc. +* Copyright (c) 2020-2021 Analog Devices, Inc. * * All rights reserved. * This software is proprietary to Analog Devices, Inc. and its licensors. @@ -29,42 +29,14 @@ /*************************** Types Declarations *******************************/ /******************************************************************************/ -/** - * @struct iio_ad7606_init_param - * @brief Device configuration structure. - */ -struct iio_ad7606_init_param { - /** ad7606 device instance pointer */ - struct ad7606_dev *ad7606_phy; -}; - -/** - * @struct iio_ad7606_desc - * @brief Structure holding IIO descriptor. - */ -struct iio_ad7606_desc { - /** iio_interface instance pointer */ - struct iio_interface *iio_interface; -}; - /******************************************************************************/ /************************ Functions Declarations ******************************/ /******************************************************************************/ -/* Init AD7606 IIO interface */ -int32_t iio_ad7606_init(struct iio_ad7606_desc **desc, - struct iio_ad7606_init_param *init); - -/* Free the resources allocated for IIO device */ -int32_t iio_ad7606_remove(struct iio_ad7606_desc *desc); - /* Init the IIO interface */ int32_t ad7606_iio_initialize(void); /* Run the IIO event handler */ void ad7606_iio_event_handler(void); -/* Init the IIO application */ -int32_t ad7606_app_initialize(void); - #endif /* IIO_AD7606_H_ */