Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
adltc2990.h File Reference
#include <stdbool.h>
#include <zephyr/device.h>

Go to the source code of this file.

Enumerations

enum  adltc2990_acquisition_format { ADLTC2990_REPEATED_ACQUISITION , ADLTC2990_SINGLE_SHOT_ACQUISITION }
 

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.
 

Enumeration Type Documentation

◆ adltc2990_acquisition_format

Enumerator
ADLTC2990_REPEATED_ACQUISITION 
ADLTC2990_SINGLE_SHOT_ACQUISITION 

Function Documentation

◆ adltc2990_is_busy()

int adltc2990_is_busy ( const struct device * dev,
bool * is_busy )

check if adtlc2990 is busy doing conversion

Parameters
devPointer to the adltc2990 device
is_busyPointer to the variable to store the busy status
Return values
0if successful
-EIOGeneral input / output error.

◆ adltc2990_trigger_measurement()

int adltc2990_trigger_measurement ( const struct device * dev,
enum adltc2990_acquisition_format format )

Trigger the adltc2990 to start a measurement.

Parameters
devPointer to the adltc2990 device
formatThe acquisition format to be used
Return values
0if successful
-EIOGeneral input / output error.