precision-converters-firmware
Loading...
Searching...
No Matches
ad717x_system_config.h
Go to the documentation of this file.
1/***************************************************************************/
13#ifndef AD717X_SYSTEM_CONFIG_H_
14#define AD717X_SYSTEM_CONFIG_H_
15
16#include "iio.h"
17#include "ad717x.h"
18
19/******************************************************************************/
20/********************** Macros and Constants Definitions **********************/
21/******************************************************************************/
22
23/******************************************************************************/
24/********************** Variables and User Defined Data Types *****************/
25/******************************************************************************/
26
27/******************************************************************************/
28/************************ Public Declarations *********************************/
29/******************************************************************************/
30
31/* Initialize the IIO device descriptor for AD717x system configuration */
32int32_t iio_ad717x_system_config_init(struct iio_device **desc,
33 ad717x_dev *device);
34
35/* Check if the AD717x system reconfigure is requested */
37
38/* Remove the AD717x system configuration device */
39int32_t iio_ad717x_system_config_remove(struct iio_device *desc);
40
41/* Get the effective sampling frequency with all channels enabled */
42int32_t ad717x_get_sampling_frequency(ad717x_dev *device,
43 float *sampling_freq);
44
45#endif // AD717X_SYSTEM_CONFIG_H_
struct ad5933_dev * device
Definition main.c:90
bool iio_ad717x_is_system_reconfigured(void)
Check if the AD717x system reconfigure is requested.
Definition ad717x_system_config.c:1205
int32_t iio_ad717x_system_config_init(struct iio_device **desc, ad717x_dev *device)
Initialize the IIO device descriptor for AD717x system configuration.
Definition ad717x_system_config.c:1142
int32_t ad717x_get_sampling_frequency(ad717x_dev *device, float *sampling_freq)
Get the effective sampling frequency with all channels enabled.
Definition ad717x_system_config.c:596
int32_t iio_ad717x_system_config_remove(struct iio_device *desc)
Remove the AD717x system configuration device.
Definition ad717x_system_config.c:1215