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

Basic example for ad405x project. More...

#include "common_data.h"
#include "no_os_delay.h"
#include "no_os_print_log.h"
#include "ad405x.h"
Include dependency graph for i3c_dma_example.c:

Functions

void complete_callback (void *ctx)
 Basic callback to an irq event.
 
int example_main ()
 Basic example main execution for I3C variant. Loops through two states:
 

Variables

bool block_non_blocking = true
 

Detailed Description

Basic example for ad405x project.

Author
Swaroop P Kukkillaya (swaro.nosp@m.op.k.nosp@m.ukkil.nosp@m.laya.nosp@m.@anal.nosp@m.og.c.nosp@m.om)

Copyright 2025(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ complete_callback()

void complete_callback ( void * ctx)

Basic callback to an irq event.

◆ example_main()

int example_main ( void )

Basic example main execution for I3C variant. Loops through two states:

Basic example main execution.

Basic example main executiont.

  • 50 ADC readings with delay.
  • Threshold event (non-blocking).
    Returns
    ret - Result of the example execution. If working correctly, will execute continuously the while(1) loop and will not return.

Variable Documentation

◆ block_non_blocking

bool block_non_blocking = true