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

AD4692 CNV Burst Mode data transfer implementation. More...

#include <string.h>
#include "ad4692_support.h"
#include "ad4692_iio.h"
#include "ad4692_user_config.h"
#include "no_os_error.h"
#include "no_os_delay.h"
#include "no_os_util.h"
#include "app_config.h"
#include "ad4692.h"
#include "iio_trigger.h"
Include dependency graph for ad4692_support_cnv_burst_mode.c:

Macros

#define BUF_READ_TIMEOUT   0xffffffff
 
#define AD4692_ADC_MODE_STOP_STATE_MASK   NO_OS_BIT(5)
 
#define AD4692_STOP_STATE_DATA_READYb   0x1
 
#define AD4692_N_BYTES_CNV_BURST_24BIT   5
 
#define AD4692_N_BYTES_CNV_BURST_16BIT   4
 

Variables

struct ad4692_data_transfer_system ad4692_data_transfer_cnv_burst_mode
 

Detailed Description

AD4692 CNV Burst Mode data transfer implementation.

Contains all data capture logic specific to CNV Burst Mode

Copyright (c) 2026 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

◆ AD4692_ADC_MODE_STOP_STATE_MASK

#define AD4692_ADC_MODE_STOP_STATE_MASK   NO_OS_BIT(5)

◆ AD4692_N_BYTES_CNV_BURST_16BIT

#define AD4692_N_BYTES_CNV_BURST_16BIT   4

◆ AD4692_N_BYTES_CNV_BURST_24BIT

#define AD4692_N_BYTES_CNV_BURST_24BIT   5

◆ AD4692_STOP_STATE_DATA_READYb

#define AD4692_STOP_STATE_DATA_READYb   0x1

◆ BUF_READ_TIMEOUT

#define BUF_READ_TIMEOUT   0xffffffff

Variable Documentation

◆ ad4692_data_transfer_cnv_burst_mode

struct ad4692_data_transfer_system ad4692_data_transfer_cnv_burst_mode
Initial value:
= {
.initialize = ad4692_cnv_burst_init,
.prepare_transfer = ad4692_cnv_burst_prepare_transfer,
.submit_samples = ad4692_cnv_burst_submit_samples,
.trigger_handler = ad4692_cnv_burst_trigger_handler,
.end_transfer = ad4692_cnv_burst_end_transfer,
.remove = NULL,
.read_converted_data = ad4692_cnv_burst_read_converted_data,
.update_sampling_frequency = ad4692_cnv_burst_update_sampling_frequency,
.get_max_sampling_rate = ad4692_cnv_burst_get_max_sampling_rate,
}