precision-converters-firmware
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 /******************************************************************************/
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_ */
struct ad5933_dev * device
Definition: main.c:77
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
Definition: ad7091r_support.h:24
@ CNV_PWM
Definition: ad7091r_support.h:26
@ CNV_GPIO_OUTPUT
Definition: ad7091r_support.h:25