precision-converters-firmware
|
Header for AD7689 no-os driver support file. More...
Go to the source code of this file.
Functions | |
int32_t | ad7689_read_single_sample (uint8_t input_chn, uint32_t *raw_data) |
Read the single ADC sample (raw data) for input channel. More... | |
int32_t | ad7689_perform_init_cnv (uint8_t first_active_chn, uint8_t second_active_chn, uint8_t num_of_active_channels) |
Perform the 2 dummy conversions after device initialization. More... | |
int32_t | ad7689_read_converted_sample (uint8_t *adc_data, uint8_t next_chn) |
Read ADC raw data for recently sampled channel and trigger new conversion. More... | |
Header for AD7689 no-os driver support file.
Copyright (c) 2022 Analog Devices, Inc. All rights reserved.
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.
int32_t ad7689_perform_init_cnv | ( | uint8_t | first_active_chn, |
uint8_t | second_active_chn, | ||
uint8_t | num_of_active_channels | ||
) |
Perform the 2 dummy conversions after device initialization.
first_active_chn[in] | - First ADC channel in sequencer |
second_active_chn[in] | - Second ADC channel in sequencer |
num_of_active_channels[in] | - Number of ADC channels in sequencer |
int32_t ad7689_read_converted_sample | ( | uint8_t * | adc_data, |
uint8_t | next_chn | ||
) |
Read ADC raw data for recently sampled channel and trigger new conversion.
adc_data[in,out] | - Pointer to adc data read variable |
next_chn[in] | - Next channel in sequence |
int32_t ad7689_read_single_sample | ( | uint8_t | input_chn, |
uint32_t * | raw_data | ||
) |
Read the single ADC sample (raw data) for input channel.
input_chn[in] | - Input channel to be sampled and read data for |
raw_data[in,out]- | ADC raw data |