1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | |
3 | #ifndef _DT_BINDINGS_ADI_AD74413R_H |
4 | #define _DT_BINDINGS_ADI_AD74413R_H |
5 | |
6 | #define CH_FUNC_HIGH_IMPEDANCE 0x0 |
7 | #define CH_FUNC_VOLTAGE_OUTPUT 0x1 |
8 | #define CH_FUNC_CURRENT_OUTPUT 0x2 |
9 | #define CH_FUNC_VOLTAGE_INPUT 0x3 |
10 | #define CH_FUNC_CURRENT_INPUT_EXT_POWER 0x4 |
11 | #define CH_FUNC_CURRENT_INPUT_LOOP_POWER 0x5 |
12 | #define CH_FUNC_RESISTANCE_INPUT 0x6 |
13 | #define CH_FUNC_DIGITAL_INPUT_LOGIC 0x7 |
14 | #define CH_FUNC_DIGITAL_INPUT_LOOP_POWER 0x8 |
15 | #define CH_FUNC_CURRENT_INPUT_EXT_POWER_HART 0x9 |
16 | #define CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART 0xA |
17 | |
18 | #define CH_FUNC_MIN CH_FUNC_HIGH_IMPEDANCE |
19 | #define CH_FUNC_MAX CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART |
20 | |
21 | #endif /* _DT_BINDINGS_ADI_AD74413R_H */ |
22 | |