|
Zephyr Project API 4.3.99
A Scalable Open Source RTOS
|
Main header file for OPAMP (Operational Amplifier) driver API. More...
Go to the source code of this file.
Data Structures | |
| struct | opamp_driver_api |
| @driver_ops{OPAMP} More... | |
Enumerations | |
| enum | opamp_gain { OPAMP_GAIN_1_7 = 0 , OPAMP_GAIN_1_3 , OPAMP_GAIN_1 , OPAMP_GAIN_5_3 , OPAMP_GAIN_2 , OPAMP_GAIN_11_5 , OPAMP_GAIN_3 , OPAMP_GAIN_4 , OPAMP_GAIN_13_3 , OPAMP_GAIN_7 , OPAMP_GAIN_8 , OPAMP_GAIN_15 , OPAMP_GAIN_16 , OPAMP_GAIN_31 , OPAMP_GAIN_32 , OPAMP_GAIN_33 , OPAMP_GAIN_63 , OPAMP_GAIN_64 } |
| OPAMP gain factors. More... | |
Functions | |
| int | opamp_set_gain (const struct device *dev, enum opamp_gain gain) |
| Set opamp gain. | |
| enum | opamp_functional_mode { OPAMP_FUNCTIONAL_MODE_DIFFERENTIAL = 0 , OPAMP_FUNCTIONAL_MODE_INVERTING , OPAMP_FUNCTIONAL_MODE_NON_INVERTING , OPAMP_FUNCTIONAL_MODE_FOLLOWER , OPAMP_FUNCTIONAL_MODE_STANDALONE } |
| @def_driverbackendgroup{OPAMP,opamp_interface} More... | |
| typedef int(* | opamp_api_set_gain_t) (const struct device *dev, enum opamp_gain gain) |
| Callback API to set opamp gain. | |
Main header file for OPAMP (Operational Amplifier) driver API.