precision-converters-firmware
Functions
ad7124_support.c File Reference

Provides useful support functions for the AD7124 No-OS driver. More...

#include <stdbool.h>
#include "ad7124_support.h"
Include dependency graph for ad7124_support.c:

Functions

uint8_t ad7124_get_channel_setup (struct ad7124_dev *dev, uint8_t channel)
 
uint8_t ad7124_get_channel_pga (struct ad7124_dev *dev, uint8_t channel)
 
bool ad7124_get_channel_bipolar (struct ad7124_dev *dev, uint8_t channel)
 
float ad7124_convert_sample_to_voltage (struct ad7124_dev *dev, uint8_t channel, int32_t sample)
 

Detailed Description

Provides useful support functions for the AD7124 No-OS driver.

Copyright (c) 2019-2021 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.

Function Documentation

◆ ad7124_convert_sample_to_voltage()

float ad7124_convert_sample_to_voltage ( struct ad7124_dev *  dev,
uint8_t  channel,
int32_t  sample 
)

◆ ad7124_get_channel_bipolar()

bool ad7124_get_channel_bipolar ( struct ad7124_dev *  dev,
uint8_t  channel 
)

◆ ad7124_get_channel_pga()

uint8_t ad7124_get_channel_pga ( struct ad7124_dev *  dev,
uint8_t  channel 
)

◆ ad7124_get_channel_setup()

uint8_t ad7124_get_channel_setup ( struct ad7124_dev *  dev,
uint8_t  channel 
)