adi,ad5592r.h 375 B

1234567891011121314151617
  1. #ifndef _DT_BINDINGS_ADI_AD5592R_H
  2. #define _DT_BINDINGS_ADI_AD5592R_H
  3. #define CH_MODE_UNUSED 0
  4. #define CH_MODE_ADC 1
  5. #define CH_MODE_DAC 2
  6. #define CH_MODE_DAC_AND_ADC 3
  7. #define CH_MODE_GPIO 8
  8. #define CH_OFFSTATE_PULLDOWN 0
  9. #define CH_OFFSTATE_OUT_LOW 1
  10. #define CH_OFFSTATE_OUT_HIGH 2
  11. #define CH_OFFSTATE_OUT_TRISTATE 3
  12. #endif /* _DT_BINDINGS_ADI_AD5592R_H */