IIO firmware for the AD4110
Dependencies: tempsensors sdp_k1_sdram
app/main.c
- Committer:
- Janani Sunil
- Date:
- 2022-08-01
- Revision:
- 1:a78dbaa4b05d
- Parent:
- 0:6ca37a8f8ba9
File content as of revision 1:a78dbaa4b05d:
/***************************************************************************//** * @file main.c * @brief Main interface for AD4110-1 IIO firmware application ******************************************************************************** * Copyright (c) 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 "ad4110_iio.h" #include "no_os_error.h" /******************************************************************************/ /********************* Macros and Constants Definition ************************/ /******************************************************************************/ /******************************************************************************/ /******************** Variables and User Defined Data Types *******************/ /******************************************************************************/ /******************************************************************************/ /************************** Functions Declaration *****************************/ /******************************************************************************/ /******************************************************************************/ /************************** Functions Definition ******************************/ /******************************************************************************/ /* @brief Main function * @details This is a main entry function for firmware application */ int main(void) { /* Initialize the IIO device interface */ if (ad4110_iio_initialize()) { printf("IIO initialization failure!!\r\n"); } while (1) { /* Monitor the IIO client events */ ad4110_iio_event_handler(); } }