Example program for AD717x and AD411x family of products.
Dependencies: adi_console_menu platform_drivers
Diff: app/ad717x_support.h
- Revision:
- 3:6c7324997606
- Parent:
- 1:48914f9593f1
- Child:
- 4:4592cc69bfa6
--- a/app/ad717x_support.h Tue Mar 31 11:25:12 2020 +0000 +++ b/app/ad717x_support.h Tue Apr 14 18:14:29 2020 +0000 @@ -97,6 +97,15 @@ #define AD717X_FILT_CONF_REG_ODR_MSK GENMASK(4,0) #define AD717X_FILT_CONF_REG_ODR_RD(x) (((x) >> 0) & 0x1F) + +// ADC operating mode types +#define CONTINUOUS_CONVERSION 0 +#define SINGLE_CONVERISION 1 +#define STANDBY_MODE 2 +#define POWER_DOWN_MODE 3 +#define INTERNAL_OFFSET_CAL_MODE 4 +#define INTERNAL_FULL_SCALE_CAL_MODE 5 + /******************************************************************************/ /********************** Variables and User Defined Data Types *****************/ /******************************************************************************/