Line data Source code
1 0 : /*
2 : * Copyright 2025 NXP
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_OPAMP_OPAMP_H_
8 : #define ZEPHYR_INCLUDE_DT_BINDINGS_OPAMP_OPAMP_H_
9 :
10 : /**
11 : * @brief Enumerations for opamp functional mode.
12 : */
13 1 : enum opamp_functional_mode {
14 : /** Differential amplifier mode */
15 : OPAMP_FUNCTIONAL_MODE_DIFFERENTIAL = 0,
16 : /** Inverting amplifier mode */
17 : OPAMP_FUNCTIONAL_MODE_INVERTING,
18 : /** Non-inverting amplifier mode */
19 : OPAMP_FUNCTIONAL_MODE_NON_INVERTING,
20 : /** Follower mode */
21 : OPAMP_FUNCTIONAL_MODE_FOLLOWER,
22 : /**
23 : * @brief Standalone mode.
24 : * The gain is set by external resistors. The API call to set the gain
25 : * is ignored in this mode or has no impact.
26 : */
27 : OPAMP_FUNCTIONAL_MODE_STANDALONE,
28 : };
29 :
30 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_OPAMP_OPAMP_H_ */
|