precision-converters-firmware
Functions
ad77681_support.h File Reference
#include "app_config.h"
#include "ad77681.h"
Include dependency graph for ad77681_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32_t ad77681_enable_cont_conv_mode (void)
 Enable continuous conversion mode. More...
 
int32_t ad77681_read_converted_sample (uint32_t *adc_raw)
 Read ADC raw data for recently sampled channel. More...
 
int32_t ad77681_read_single_sample (uint32_t *adc_raw)
 Read ADC single sample data. More...
 

Function Documentation

◆ ad77681_enable_cont_conv_mode()

int32_t ad77681_enable_cont_conv_mode ( void  )

Enable continuous conversion mode.

Returns
0 in case of success or negative value otherwise

◆ ad77681_read_converted_sample()

int32_t ad77681_read_converted_sample ( uint32_t *  adc_raw)

Read ADC raw data for recently sampled channel.

Parameters
adc_raw[in,out]- Pointer to adc data read variable
Returns
0 in case of success or negative value otherwise
Here is the caller graph for this function:

◆ ad77681_read_single_sample()

int32_t ad77681_read_single_sample ( uint32_t *  adc_raw)

Read ADC single sample data.

Parameters
adc_raw[out]- Pointer to adc data read variable
Returns
0 in case of success or negative value otherwise
Here is the caller graph for this function: