precision-converters-firmware
runner
work
precision-converters-firmware
precision-converters-firmware
projects
ad7091r_iio
app
ad7091r_support.h
Go to the documentation of this file.
1
/***************************************************************************/
12
#ifndef AD7091R_SUPPORT_H_
13
#define AD7091R_SUPPORT_H_
14
15
/******************************************************************************/
16
/***************************** Include Files **********************************/
17
/******************************************************************************/
18
19
#include "ad7091r8.h"
20
21
/******************************************************************************/
22
/********************** Public/Extern Declarations ****************************/
23
/******************************************************************************/
24
enum
ad7091r_conv_pin_state
{
25
CNV_GPIO_OUTPUT
,
26
CNV_PWM
27
};
28
29
int
ad7091r_reconfig_conv
(
struct
ad7091r8_dev *
device
,
30
enum
ad7091r_conv_pin_state
pin_state);
31
32
#endif
/* AD7091R_SUPPORT_H_ */
device
struct ad5933_dev * device
Definition:
main.c:77
ad7091r_reconfig_conv
int ad7091r_reconfig_conv(struct ad7091r8_dev *device, enum ad7091r_conv_pin_state pin_state)
Reconfigure Conversion pin from GPIO output to PWM and vice versa.
Definition:
ad7091r_support.c:32
ad7091r_conv_pin_state
ad7091r_conv_pin_state
Definition:
ad7091r_support.h:24
CNV_PWM
@ CNV_PWM
Definition:
ad7091r_support.h:26
CNV_GPIO_OUTPUT
@ CNV_GPIO_OUTPUT
Definition:
ad7091r_support.h:25
Generated by
1.9.1