Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: tempsensors sdp_k1_sdram
main.c
00001 /***************************************************************************//** 00002 * @file main.c 00003 * @brief Main interface for AD4110-1 IIO firmware application 00004 ******************************************************************************** 00005 * Copyright (c) 2022 Analog Devices, Inc. 00006 * All rights reserved. 00007 * 00008 * This software is proprietary to Analog Devices, Inc. and its licensors. 00009 * By using this software you agree to the terms of the associated 00010 * Analog Devices Software License Agreement. 00011 *******************************************************************************/ 00012 00013 /******************************************************************************/ 00014 /***************************** Include Files **********************************/ 00015 /******************************************************************************/ 00016 00017 #include "ad4110_iio.h" 00018 #include "no_os_error.h" 00019 00020 /******************************************************************************/ 00021 /********************* Macros and Constants Definition ************************/ 00022 /******************************************************************************/ 00023 00024 /******************************************************************************/ 00025 /******************** Variables and User Defined Data Types *******************/ 00026 /******************************************************************************/ 00027 00028 /******************************************************************************/ 00029 /************************** Functions Declaration *****************************/ 00030 /******************************************************************************/ 00031 00032 /******************************************************************************/ 00033 /************************** Functions Definition ******************************/ 00034 /******************************************************************************/ 00035 00036 /* @brief Main function 00037 * @details This is a main entry function for firmware application 00038 */ 00039 int main(void) 00040 { 00041 /* Initialize the IIO device interface */ 00042 if (ad4110_iio_initialize()) { 00043 printf("IIO initialization failure!!\r\n"); 00044 } 00045 00046 while (1) { 00047 /* Monitor the IIO client events */ 00048 ad4110_iio_event_handler(); 00049 } 00050 }
Generated on Mon Aug 1 2022 05:40:39 by
1.7.2

