precision-converters-firmware
runner
work
precision-converters-firmware
precision-converters-firmware
projects
ad579x_iio
app
ad579x_support.h
Go to the documentation of this file.
1
/***************************************************************************/
13
#ifndef AD579X_SUPPORT_H
14
#define AD579X_SUPPORT_H
15
16
/******************************************************************************/
17
/***************************** Include Files **********************************/
18
/******************************************************************************/
19
20
#include <stdbool.h>
21
#include <stdint.h>
22
#include "ad5791.h"
23
24
/******************************************************************************/
25
/********************* Macros and Constants Definitions ***********************/
26
/******************************************************************************/
27
28
/* Mask for register address bits in the register */
29
#define AD579X_ADDRESS_MASK NO_OS_GENMASK(23, 20)
30
31
/******************************************************************************/
32
/********************** Variables and User Defined Data Types *****************/
33
/******************************************************************************/
34
35
/******************************************************************************/
36
/********************** Public/Extern Declarations ****************************/
37
/******************************************************************************/
38
int
ad579x_reconfig_ldac
(
struct
ad5791_dev *
device
);
39
40
#endif
/* AD579X_SUPPORT_H_ */
ad579x_reconfig_ldac
int ad579x_reconfig_ldac(struct ad5791_dev *device)
Reconfigure LDAC pin as GPIO output.
Definition:
ad579x_support.c:36
device
struct ad5933_dev * device
Definition:
main.c:77
Generated by
1.9.1