#include "app_config.h"
#include "ad77681.h"
Go to the source code of this file.
◆ 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
◆ 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