AD4130 Mbed IIO Firmware
Dependencies: tempsensors sdp_k1_sdram
app/main.c
- Committer:
- MPhalke@MPHALKE-L02.ad.analog.com
- Date:
- 2022-07-15
- Revision:
- 2:871d585d96ee
File content as of revision 2:871d585d96ee:
/***************************************************************************//** * @file main.c * @brief Main module for AD4130 IIO application * @details This module invokes the AD4130 IIO interfaces * through forever loop. ******************************************************************************** * 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. *******************************************************************************/ /******************************************************************************/ /***************************** Include Files **********************************/ /******************************************************************************/ #include <stdio.h> #include <stdint.h> #include "ad4130_iio.h" /******************************************************************************/ /********************** Macros and Constants Definitions **********************/ /******************************************************************************/ /******************************************************************************/ /************************ Functions Definitions *******************************/ /******************************************************************************/ /** * @brief Main entry point to application * @return none */ int main(void) { /* Initialize the AD4130 IIO interface */ if (ad4130_iio_initialize()) { printf("IIO initialization failure!!\r\n"); } while (1) { /* Monitor the IIO client events */ ad4130_iio_event_handler(); } }