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

DUMMY example header for ad74413r project. More...

#include "common_data.h"
#include "ad74413r.h"
#include "no_os_delay.h"
#include "no_os_print_log.h"
Include dependency graph for dummy_example.c:

Functions

int example_main ()
 Dummy example main execution.
 

Detailed Description

DUMMY example header for ad74413r project.

Author
Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ example_main()

int example_main ( void )

Dummy example main execution.

Basic example main execution.

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.

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