![]() |
no-OS
|
Basic example source file for adp1050 project. More...
#include "common_data.h"#include "no_os_delay.h"#include "no_os_i2c.h"#include "no_os_print_log.h"#include "no_os_util.h"#include "no_os_pwm.h"#include "adp1050.h"Functions | |
| int | example_main () |
| Basic example main executiont. | |
Basic example source file for adp1050 project.
Copyright 2024(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| int example_main | ( | void | ) |
Basic example main executiont.
Basic example main execution.
Basic example main executiont.
Basic example main executiont.
Basic example main executiont.
Basic example main executiont.
Basic example main executiont.
Basic example main executiont.
Basic example main executiont.
Basic example main executiont.
This example demonstrates basic ADMT4000 functionality by continuously reading sensor values and displaying them on the console.
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
GPIO Pin Interrupt Controller