![]() |
no-OS
|
#include "common_data.h"#include "adxl313.h"#include "no_os_uart.h"#include "no_os_delay.h"#include "no_os_print_log.h"#include "no_os_error.h"Functions | |
| int | example_main () |
| Basic example main execution. | |
| int example_main | ( | void | ) |
Basic example main execution.
Basic example main executiont.
IIO descriptor and initialization parameter.
IIO app.
Declaring iio_devices structure
Initializing IIO app init param.
Initializing IIO app.
Running the IIO app (use iio_info or osc in terminal).
Set the threshold voltage to 5V
The comparator output will be available on the GPO_A pin
Set the DAC output on channel C to 5V
Measure input current on channel D
Initialize the ADC_RDY GPIO and associated IRQ event
GPIO Pin Interrupt Controller
Negative temperature
Positive temperature
Negative temperature
Positive temperature
Switch to APG mode
Switch to AWG mode