no-OS
Loading...
Searching...
No Matches
basic_example.c File Reference

Source file for basic example. More...

#include "common_data.h"
#include "no_os_delay.h"
#include "no_os_print_log.h"
#include "no_os_irq.h"
#include "no_os_uart.h"
#include "no_os_util.h"
#include "no_os_units.h"
Include dependency graph for basic_example.c:

Functions

int example_main ()
 Basic example main execution.
 

Detailed Description

Source file for basic example.

Author
Radu Sabau (radu..nosp@m.saba.nosp@m.u@ana.nosp@m.log..nosp@m.com)

Copyright 2024(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ example_main()

int example_main ( void )

Basic example main execution.

Basic example main executiont.

Returns
ret - Result of the example execution. If working correctly, will measure active and reactive energy and RMS for channel A and for voltage stopping whenever an interrupt occurs and resulting in a stoppage of the measurement.

GPIO Pin Interrupt Controller