|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Analog Devices ADLTC2990 Quad I2C Voltage, Current and Temperature Monitor. More...
Files | |
| file | adltc2990.h |
| Header file for extended sensor API of ADLTC2990 sensor. | |
Enumerations | |
| enum | adltc2990_acquisition_format { ADLTC2990_REPEATED_ACQUISITION , ADLTC2990_SINGLE_SHOT_ACQUISITION } |
| Acquisition format. More... | |
Functions | |
| int | adltc2990_is_busy (const struct device *dev, bool *is_busy) |
| check if adtlc2990 is busy doing conversion | |
| int | adltc2990_trigger_measurement (const struct device *dev, enum adltc2990_acquisition_format format) |
| Trigger the adltc2990 to start a measurement. | |
Analog Devices ADLTC2990 Quad I2C Voltage, Current and Temperature Monitor.
#include <zephyr/drivers/sensor/adltc2990.h>
Acquisition format.
| Enumerator | |
|---|---|
| ADLTC2990_REPEATED_ACQUISITION | Repeated acquisition. |
| ADLTC2990_SINGLE_SHOT_ACQUISITION | Single shot acquisition. |
#include <zephyr/drivers/sensor/adltc2990.h>
check if adtlc2990 is busy doing conversion
| dev | Pointer to the adltc2990 device |
| is_busy | Pointer to the variable to store the busy status |
| 0 | if successful |
| -EIO | General input / output error. |
| int adltc2990_trigger_measurement | ( | const struct device * | dev, |
| enum adltc2990_acquisition_format | format ) |
#include <zephyr/drivers/sensor/adltc2990.h>
Trigger the adltc2990 to start a measurement.
| dev | Pointer to the adltc2990 device |
| format | The acquisition format to be used |
| 0 | if successful |
| -EIO | General input / output error. |