device/valio/adc.h header reference
[Valio device attributes module]

The source code of this header can be browsed online.

Description [link] 

Value IO interface for a ADCs

Members [link] 

Types [link] 

Members detail [link] 

#define LIBDEVICE_VALIO_ADC_H_ [link] 

This macro is declared in device/valio/adc.h source file, line 27.

enum valio_adc_att_e [link] 

This enum is declared in device/valio/adc.h source file, line 33.

IdentifierDescription
VALIO_ADC_VALUEValue for this attribute is an array is a struct valio_adc_group_s. Selected inputs are masked through mask field.
VALIO_ADC_THRESHOLDValue for this attribute is an array of thresholds to set for each masked input. Thresholds are used for WAIT_UPDATE requests, if supported. Write-only.

struct valio_adc_group_s [link] 

This struct is declared in device/valio/adc.h source file, line 54.

Caller must provide a value array large enough to contain all masked values. Values are stored contiguously from value[0], even if mask is sparse.

FieldDescription
uint16_t mask;
int16_t value[0];
Valid XHTML 1.0 StrictGenerated by diaxen on Thu Aug 4 15:44:06 2022 using MkDoc