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: sdp_k1_sdram
main.c
00001 /***************************************************************************//** 00002 * @file main.c 00003 * @brief Main interface for AD717x-AD411x IIO firmware application 00004 ******************************************************************************** 00005 * Copyright (c) 2021-22 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 <stdbool.h> 00018 #include <assert.h> 00019 #include "ad717x_iio.h" 00020 00021 /******************************************************************************/ 00022 /********************* Macros and Constants Definition ************************/ 00023 /******************************************************************************/ 00024 00025 /******************************************************************************/ 00026 /******************** Variables and User Defined Data Types *******************/ 00027 /******************************************************************************/ 00028 00029 /******************************************************************************/ 00030 /************************** Functions Declaration *****************************/ 00031 /******************************************************************************/ 00032 00033 /******************************************************************************/ 00034 /************************** Functions Definition ******************************/ 00035 /******************************************************************************/ 00036 00037 /** 00038 * @brief Main entry point to application 00039 * @return none 00040 */ 00041 int main(void) 00042 { 00043 /* Initialize the AD717x IIO interface */ 00044 if (ad717x_iio_initialize() != 0) { 00045 assert(-1); 00046 } 00047 00048 while (1) { 00049 /* Monitor the IIO client events */ 00050 ad717x_iio_event_handler(); 00051 } 00052 }
Generated on Tue Nov 15 2022 11:39:51 by
