no-OS
Functions
main.c File Reference

Main function on maxim platform used by iio_demo_freeRTOS project. More...

#include "platform_includes.h"
#include "common_data.h"
Include dependency graph for main.c:

Functions

int iiodTask ()
 IIOD example task. More...
 
int blinkingTask ()
 LED blinking task for multithreading example. More...
 
int create_tasks (void)
 Creating iio example with blinking led task. More...
 
int main ()
 Main function of iio_demo_freeRTOS project. More...
 

Detailed Description

Main function on maxim platform used by iio_demo_freeRTOS project.

Author
Robert Budai (rober.nosp@m.t.bu.nosp@m.dai@a.nosp@m.nalo.nosp@m.g.com)

Copyright 2023(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Function Documentation

◆ blinkingTask()

int blinkingTask ( )

LED blinking task for multithreading example.

Returns
Returns error code
Here is the caller graph for this function:

◆ create_tasks()

int create_tasks ( void  )

Creating iio example with blinking led task.

Returns
Returns error code
Here is the caller graph for this function:

◆ iiodTask()

int iiodTask ( )

IIOD example task.

Returns
Returns the error code of iio_example_main function
Here is the caller graph for this function:

◆ main()

int main ( )

Main function of iio_demo_freeRTOS project.

Returns
int - Returns error code