Paul Cercueil | 56ca9db | 2016-04-05 09:46:19 +0200 | [diff] [blame] | 1 | |
2 | #ifndef _DT_BINDINGS_ADI_AD5592R_H | ||||
3 | #define _DT_BINDINGS_ADI_AD5592R_H | ||||
4 | |||||
5 | #define CH_MODE_UNUSED 0 | ||||
6 | #define CH_MODE_ADC 1 | ||||
7 | #define CH_MODE_DAC 2 | ||||
8 | #define CH_MODE_DAC_AND_ADC 3 | ||||
9 | #define CH_MODE_GPIO 8 | ||||
10 | |||||
11 | #define CH_OFFSTATE_PULLDOWN 0 | ||||
12 | #define CH_OFFSTATE_OUT_LOW 1 | ||||
13 | #define CH_OFFSTATE_OUT_HIGH 2 | ||||
14 | #define CH_OFFSTATE_OUT_TRISTATE 3 | ||||
15 | |||||
16 | #endif /* _DT_BINDINGS_ADI_AD5592R_H */ |