|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Data Structures | |
| struct | opamp_driver_api |
| Driver Operations OPAMP driver operations More... | |
Typedefs | |
| typedef int(* | opamp_api_set_gain_t) (const struct device *dev, enum opamp_gain gain) |
| Callback API to set opamp gain. | |
Enumerations | |
| 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 } |
| OPAMP functional mode. More... | |
This group contains the API type definitions, callback signatures, and other helpers required to implement a OPAMP driver.
| typedef int(* opamp_api_set_gain_t) (const struct device *dev, enum opamp_gain gain) |
#include <zephyr/drivers/opamp.h>
Callback API to set opamp gain.
See opamp_set_gain() for argument description
#include <zephyr/drivers/opamp.h>
OPAMP functional mode.
Values correspond 1:1 to the functional-mode property in dts/bindings/opamp/opamp-controller.yaml.