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
app/main.c
- Committer:
- Mahesh Phalke
- Date:
- 2022-07-21
- Revision:
- 2:007533849deb
File content as of revision 2:007533849deb:
/***************************************************************************//**
* @file main.c
* @brief Main interface for AD7689 IIO firmware application
********************************************************************************
* Copyright (c) 2021-22 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 "ad7689_iio.h"
#include "no_os_error.h"
/******************************************************************************/
/********************* Macros and Constants Definition ************************/
/******************************************************************************/
/******************************************************************************/
/******************** Variables and User Defined Data Types *******************/
/******************************************************************************/
/******************************************************************************/
/************************** Functions Declarations ****************************/
/******************************************************************************/
/******************************************************************************/
/************************** Functions Definitions *****************************/
/******************************************************************************/
/* @brief Main function
* @details This is a main entry function for AD7689 IIO application
*/
int main(void)
{
/* Initialize the AD7689 IIO interface */
if (ad7689_iio_initialize()) {
printf("IIO initialization failure!!\r\n");
}
while (1) {
/* Monitor the IIO client events */
ad7689_iio_event_handler();
}
}