precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ad4130_power_test_config.h
Go to the documentation of this file.
1/*************************************************************************/
13#ifndef _AD4130_POWER_TEST_CONFIG_H_
14#define _AD4130_POWER_TEST_CONFIG_H_
15
16/******************************************************************************/
17/***************************** Include Files **********************************/
18/******************************************************************************/
19
20#include <stdint.h>
21#include "ad413x.h"
22
23/******************************************************************************/
24/********************** Macros and Constants Definition ***********************/
25/******************************************************************************/
26
27/* Select FS (or ODR) for power test config (applicable to all channels) */
28#define AD4130_FS_CONFIG 4 // ODR = 600SPS for SINC3/4 filter
29
30/* Filter type for power test config
31 * Note: Applicable for all setups to keep the same ODR for all channels */
32#define AD4130_FILTER_TYPE AD413X_SYNC3_STANDALONE
33
34/* Scaler factor used in FS to ODR conversion (For SINC3/4 filter) */
35#define FS_TO_ODR_CONV_SCALER (32U * AD4130_FS_CONFIG)
36
37/* Power test channels list */
38#define POWER_TEST_V_AVDD_CHN 0
39#define POWER_TEST_V_IOVDD_CHN 1
40#define POWER_TEST_I_AVDD_CHN 2
41#define POWER_TEST_I_IOVDD_CHN 3
42#define POWER_TEST_V_AVSS_DGND_CHN 4
43#define POWER_TEST_V_REF_CHN 5
44
45/******************************************************************************/
46/********************** Public/Extern Declarations ****************************/
47/******************************************************************************/
48
49extern struct ad413x_init_param ad4130_power_test_config_params;
50
51#endif /* end of _AD4130_POWER_TEST_CONFIG_H_ */
struct ad413x_init_param ad4130_power_test_config_params
Definition ad4130_power_test_config.c:28