AD4130 Mbed IIO Firmware
Dependencies: tempsensors sdp_k1_sdram
app/ad4130_iio.h
- Committer:
- MPhalke@MPHALKE-L02.ad.analog.com
- Date:
- 2022-07-15
- Revision:
- 2:871d585d96ee
File content as of revision 2:871d585d96ee:
/***************************************************************************//** * @file ad4130_iio.h * @brief Header file of AD4130 IIO interface ******************************************************************************** * Copyright (c) 2020, 2022 Analog Devices, Inc. * * All rights reserved. * This software is proprietary to Analog Devices, Inc. and its licensors. * By using this software you agree to the terms of the associated * Analog Devices Software License Agreement. *******************************************************************************/ #ifndef AD4130_IIO_H_ #define AD4130_IIO_H_ /******************************************************************************/ /***************************** Include Files **********************************/ /******************************************************************************/ #include <stdio.h> #include <stdbool.h> #include "iio.h" #include "iio_types.h" /******************************************************************************/ /****************************** Macros ****************************************/ /******************************************************************************/ /* ADC channels assigned to sensors for the measurement * (each channel per sensor) */ enum sensor_channels { SENSOR_CHANNEL0, SENSOR_CHANNEL1, NUM_OF_SENSOR_CHANNELS }; /******************************************************************************/ /************************ Public Declarations *********************************/ /******************************************************************************/ /* Init the IIO interface */ int32_t ad4130_iio_initialize(void); /* Run the IIO event handler */ void ad4130_iio_event_handler(void); extern struct ad413x_dev *ad4130_dev_inst; #endif /* AD4130_IIO_H_ */