4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
6
6
7
+ /**
8
+ * @file
9
+ * @ingroup opamp_interface
10
+ * @brief Main header file for OPAMP (Operational Amplifier) driver API.
11
+ */
12
+
7
13
#ifndef ZEPHYR_INCLUDE_DRIVERS_OPAMP_H_
8
14
#define ZEPHYR_INCLUDE_DRIVERS_OPAMP_H_
9
15
10
16
/**
11
- * @brief Opamp Interface
12
- * @defgroup opamp_interface Opamp Interface
17
+ * @brief Interfaces for operational amplifiers (OPAMP).
18
+ * @defgroup opamp_interface OPAMP
13
19
* @since 4.3
14
20
* @version 0.1.0
15
21
* @ingroup io_interfaces
@@ -26,24 +32,24 @@ extern "C" {
26
32
27
33
/** @brief OPAMP gain factors. */
28
34
enum opamp_gain {
29
- OPAMP_GAIN_1_7 = 0 , /**< x 1/7. */
30
- OPAMP_GAIN_1_3 , /**< x 1/3. */
31
- OPAMP_GAIN_1 , /**< x 1. */
32
- OPAMP_GAIN_5_3 , /**< x 5/3. */
33
- OPAMP_GAIN_2 , /**< x 2. */
34
- OPAMP_GAIN_11_5 , /**< x 11/5. */
35
- OPAMP_GAIN_3 , /**< x 3. */
36
- OPAMP_GAIN_4 , /**< x 4. */
37
- OPAMP_GAIN_13_3 , /**< x 13/3. */
38
- OPAMP_GAIN_7 , /**< x 7. */
39
- OPAMP_GAIN_8 , /**< x 8. */
40
- OPAMP_GAIN_15 , /**< x 15. */
41
- OPAMP_GAIN_16 , /**< x 16. */
42
- OPAMP_GAIN_31 , /**< x 31. */
43
- OPAMP_GAIN_32 , /**< x 32. */
44
- OPAMP_GAIN_33 , /**< x 33. */
45
- OPAMP_GAIN_63 , /**< x 63. */
46
- OPAMP_GAIN_64 , /**< x 64. */
35
+ OPAMP_GAIN_1_7 = 0 , /**< x 1/7. */
36
+ OPAMP_GAIN_1_3 , /**< x 1/3. */
37
+ OPAMP_GAIN_1 , /**< x 1. */
38
+ OPAMP_GAIN_5_3 , /**< x 5/3. */
39
+ OPAMP_GAIN_2 , /**< x 2. */
40
+ OPAMP_GAIN_11_5 , /**< x 11/5. */
41
+ OPAMP_GAIN_3 , /**< x 3. */
42
+ OPAMP_GAIN_4 , /**< x 4. */
43
+ OPAMP_GAIN_13_3 , /**< x 13/3. */
44
+ OPAMP_GAIN_7 , /**< x 7. */
45
+ OPAMP_GAIN_8 , /**< x 8. */
46
+ OPAMP_GAIN_15 , /**< x 15. */
47
+ OPAMP_GAIN_16 , /**< x 16. */
48
+ OPAMP_GAIN_31 , /**< x 31. */
49
+ OPAMP_GAIN_32 , /**< x 32. */
50
+ OPAMP_GAIN_33 , /**< x 33. */
51
+ OPAMP_GAIN_63 , /**< x 63. */
52
+ OPAMP_GAIN_64 , /**< x 64. */
47
53
};
48
54
49
55
/**
0 commit comments