IIO firmware for the AD717x and AD411x family of devices.
Dependencies: sdp_k1_sdram
app/main.c
- Committer:
- Janani Sunil
- Date:
- 22 months ago
- Revision:
- 3:0dcba3253ec1
- Parent:
- 0:5ad86d8d396a
File content as of revision 3:0dcba3253ec1:
/***************************************************************************//** * @file main.c * @brief Main interface for AD717x-AD411x IIO firmware application ******************************************************************************** * Copyright (c) 2021-22 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. *******************************************************************************/ /******************************************************************************/ /***************************** Include Files **********************************/ /******************************************************************************/ #include <stdbool.h> #include <assert.h> #include "ad717x_iio.h" /******************************************************************************/ /********************* Macros and Constants Definition ************************/ /******************************************************************************/ /******************************************************************************/ /******************** Variables and User Defined Data Types *******************/ /******************************************************************************/ /******************************************************************************/ /************************** Functions Declaration *****************************/ /******************************************************************************/ /******************************************************************************/ /************************** Functions Definition ******************************/ /******************************************************************************/ /** * @brief Main entry point to application * @return none */ int main(void) { /* Initialize the AD717x IIO interface */ if (ad717x_iio_initialize() != 0) { assert(-1); } while (1) { /* Monitor the IIO client events */ ad717x_iio_event_handler(); } }