Forked repository for pushing changes to EVAL-AD4696
Dependencies: platform_drivers
app/main.c
- Committer:
- pmallick
- Date:
- 2021-09-30
- Revision:
- 1:8792acb5a039
File content as of revision 1:8792acb5a039:
/***************************************************************************//** * @file main.c * @brief Main module for AD4696 IIO application * @details This module invokes the AD4696 IIO interfaces * through forever loop. ******************************************************************************** * Copyright (c) 2021 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 <stdint.h> #include <assert.h> #include "iio_ad4696.h" #include "error.h" /******************************************************************************/ /********************** Macros and Constants Definitions **********************/ /******************************************************************************/ /******************************************************************************/ /************************ Functions Definitions *******************************/ /******************************************************************************/ /** * @brief Main entry point to application * @return none */ int main(void) { /* Initialize the AD4696 IIO interface */ if (ad4696_iio_initialize() == FAILURE) { assert(false); } while (1) { /* Monitor the IIO client events */ ad4696_iio_event_handler(); } }