precision-converters-firmware
Loading...
Searching...
No Matches
Macros | Variables
ad406x_support.c File Reference

Implementation of AD406x support functions. More...

#include <stdint.h>
#include "iio.h"
#include "iio_trigger.h"
#include "app_support.h"
#include "ad405x_iio.h"
#include "no_os_error.h"
Include dependency graph for ad406x_support.c:

Macros

#define ALIGN_SIZE   (sizeof(uint32_t) * 2)
 
#define MAX_DMA_BYTES
 

Variables

uint8_t local_adc_data [MAX_DMA_BYTES]
 
struct iio_hw_trig * ad405x_hw_trig_desc
 
uint8_t bytes_per_sample
 
const struct ad405x_support_desc ad406x_support_descriptor
 

Detailed Description

Implementation of AD406x support functions.

This module has all the support file necessary for working of AD406x

Copyright (c) 2025 Analog Devices, Inc.

This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Macro Definition Documentation

◆ ALIGN_SIZE

#define ALIGN_SIZE   (sizeof(uint32_t) * 2)

◆ MAX_DMA_BYTES

#define MAX_DMA_BYTES
Value:
(((uint32_t)(64000 / ALIGN_SIZE)) * \
#define ALIGN_SIZE
Definition ad406x_support.c:36

Variable Documentation

◆ ad405x_hw_trig_desc

struct iio_hw_trig* ad405x_hw_trig_desc
extern

◆ ad406x_support_descriptor

const struct ad405x_support_desc ad406x_support_descriptor
Initial value:
= {
.submit = ad406x_submit_windowed,
.pre_enable = ad406x_pre_enable_windowed,
.post_disable = ad406x_post_disable_windowed,
.trigger_handler = NULL
}

◆ bytes_per_sample

uint8_t bytes_per_sample
extern

◆ local_adc_data

uint8_t local_adc_data[MAX_DMA_BYTES]