Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
adltc2990.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
12#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADLTC2990_H_
13#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADLTC2990_H_
14
22#include <stdbool.h>
23
24#include <zephyr/device.h>
25
35
45int adltc2990_is_busy(const struct device *dev, bool *is_busy);
46
58
63#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADLTC2990_H_ */
int adltc2990_trigger_measurement(const struct device *dev, enum adltc2990_acquisition_format format)
Trigger the adltc2990 to start a measurement.
adltc2990_acquisition_format
Acquisition format.
Definition adltc2990.h:29
int adltc2990_is_busy(const struct device *dev, bool *is_busy)
check if adtlc2990 is busy doing conversion
@ ADLTC2990_REPEATED_ACQUISITION
Repeated acquisition.
Definition adltc2990.h:31
@ ADLTC2990_SINGLE_SHOT_ACQUISITION
Single shot acquisition.
Definition adltc2990.h:33
Runtime device structure (in ROM) per driver instance.
Definition device.h:510