precision-converters-firmware
ad355xr_support.h
Go to the documentation of this file.
1 /***************************************************************************/
13 #ifndef AD355XR_SUPPORT_H_
14 #define AD355XR_SUPPORT_H_
15 
16 /******************************************************************************/
17 /***************************** Include Files **********************************/
18 /******************************************************************************/
19 
20 #include <stdint.h>
21 #include "ad3552r.h"
22 
23 /******************************************************************************/
24 /********************** Macros and Constants Definition ***********************/
25 /******************************************************************************/
26 
27 /******************************************************************************/
28 /********************** Variables and User Defined Data Types *****************/
29 /******************************************************************************/
30 
31 /******************************************************************************/
32 /************************ Public Declarations *********************************/
33 /******************************************************************************/
34 
35 int32_t ad355xr_write_one_sample_all_ch(struct ad3552r_desc *desc,
36  uint16_t *data);
37 int32_t ad355xr_write_one_sample_one_ch(struct ad3552r_desc *desc,
38  uint16_t *data, uint8_t ch_num);
39 #endif /* AD355XR_SUPPORT_H_ */
int32_t ad355xr_write_one_sample_one_ch(struct ad3552r_desc *desc, uint16_t *data, uint8_t ch_num)
Writes one sample to a dac channel.
Definition: ad355xr_support.c:77
int32_t ad355xr_write_one_sample_all_ch(struct ad3552r_desc *desc, uint16_t *data)
Writes one sample to all the dac channels.
Definition: ad355xr_support.c:39