precision-converters-firmware
|
AD469x device No-OS driver supports. More...
#include <stdint.h>
#include "app_config.h"
#include "ad469x_support.h"
#include "ad469x_user_config.h"
#include "no_os_error.h"
#include "no_os_gpio.h"
#include "no_os_spi.h"
Macros | |
#define | DATA_READY_TIMEOUT 0xffffffff |
Functions | |
int32_t | ad469x_polarity_mode_select (struct ad469x_dev *device, enum ad469x_polarity_select polarity_sel) |
Select between polarity modes. More... | |
int32_t | ad469x_reference_config (struct ad469x_dev *device) |
Configures the reference voltage setting. More... | |
int32_t | ad469x_trigger_conversion (struct ad469x_dev *device) |
Toggles conversion pin to trigger a new conversion. More... | |
int32_t | ad469x_read_single_sample (struct ad469x_dev *device, uint8_t chn_num, uint32_t *data) |
Read single sample from the ADC. More... | |
AD469x device No-OS driver supports.
Copyright (c) 2021-23 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.
#define DATA_READY_TIMEOUT 0xffffffff |
int32_t ad469x_polarity_mode_select | ( | struct ad469x_dev * | device, |
enum ad469x_polarity_select | polarity_sel | ||
) |
Select between polarity modes.
device[in] | - device instance |
polarity_sel[in] | - polarity selection. |
int32_t ad469x_read_single_sample | ( | struct ad469x_dev * | device, |
uint8_t | chn_num, | ||
uint32_t * | data | ||
) |
Read single sample from the ADC.
device[in] | - device instance. |
chn_num[in] | - channel number to be selected. |
data[out] | - pointer to the adc data variable. |
int32_t ad469x_reference_config | ( | struct ad469x_dev * | device | ) |
Configures the reference voltage setting.
device[in] | - device instance |
int32_t ad469x_trigger_conversion | ( | struct ad469x_dev * | device | ) |
Toggles conversion pin to trigger a new conversion.
device[in] | - device instance. |