no-OS
Loading...
Searching...
No Matches
iio_example.c File Reference
#include "iio_app.h"
#include "common_data.h"
#include "no_os_util.h"
#include "no_os_print_log.h"
#include "no_os_delay.h"
#include "iio_ad405x.h"
Include dependency graph for iio_example.c:

Macros

#define DATA_BUFFER_SIZE   1000
 

Functions

int example_main ()
 Basic example main executiont.
 

Variables

uint8_t iio_data_buffer [DATA_BUFFER_SIZE *sizeof(int32_t)]
 

Macro Definition Documentation

◆ DATA_BUFFER_SIZE

#define DATA_BUFFER_SIZE   1000

Function Documentation

◆ example_main()

int example_main ( void )

Basic example main executiont.

Returns
ret - Result of the example execution. If working correctly, will execute continuously the while(1) loop and will not return.

Basic example main executiont.

  • 50 ADC readings with delay.
  • Threshold event (non-blocking).
    Returns
    ret - Result of the example execution. If working correctly, will execute continuously the while(1) loop and will not return.

Variable Documentation

◆ iio_data_buffer

uint8_t iio_data_buffer[DATA_BUFFER_SIZE *sizeof(int32_t)]