![]() |
no-OS
|
SPI-to-UART example source file for ades1754. More...
#include "common_data.h"#include "max17851.h"#include "no_os_delay.h"#include "no_os_print_log.h"Macros | |
| #define | ADES1754_CELL_RESOLUTION 16383.0f |
Functions | |
| int | example_main () |
| SPI-to-UART example main execution. | |
SPI-to-UART example source file for ades1754.
Copyright 2025(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define ADES1754_CELL_RESOLUTION 16383.0f |
| int example_main | ( | void | ) |
SPI-to-UART example main execution.
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
GPIO Pin Interrupt Controller