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

The source code of this header can be browsed online.

Description  

Value IO interface for a ADCs

Members  

Types  

Members detail  

#define LIBDEVICE_VALIO_ADC_H_  

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

enum valio_adc_att_e  

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  

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 Wed Oct 17 21:18:38 2018 using MkDoc