Zephyr API Documentation 4.0.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
6#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADLTC2990_H_
7#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADLTC2990_H_
8
9#include <stdbool.h>
10
11#include <zephyr/device.h>
12
17
27int adltc2990_is_busy(const struct device *dev, bool *is_busy);
28
40
41#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
Definition adltc2990.h:13
@ ADLTC2990_REPEATED_ACQUISITION
Definition adltc2990.h:14
@ ADLTC2990_SINGLE_SHOT_ACQUISITION
Definition adltc2990.h:15
int adltc2990_is_busy(const struct device *dev, bool *is_busy)
check if adtlc2990 is busy doing conversion
Runtime device structure (in ROM) per driver instance.
Definition device.h:411