Vybhav Kadaba / Mbed OS EV-PRO-MW1001_Development_code_cleanup2
Embed: (wiki syntax)

« Back to documentation index

ADMW_DATA_SAMPLE Struct Reference

ADMW_DATA_SAMPLE Struct Reference
[ADMW Host Library API]

#include <admw_api.h>

Data Fields

float32_t processedValue
uint32_t Channel_ID: 4
 Indicates which channel this result corresponds to.
uint32_t Ch_Error: 1
 Indicates Error on channel.
uint32_t Ch_Alert: 1
 Indicates Alert on channel.
uint32_t Ch_Raw: 1
 Indicates if Raw sensor data field is valid.
uint32_t Ch_Valid: 1
 Indicates if this Result structure is valid.
uint32_t Status: 8
 Indicates the Status of this measurement.
uint32_t Reserved: 16
 Reserved for future use.
float32_t Raw_Sample

Detailed Description

Data sample details retreived from the ADMW device.

Definition at line 157 of file admw_api.h.


Field Documentation

uint32_t Ch_Alert

Indicates Alert on channel.

Definition at line 166 of file admw_api.h.

uint32_t Ch_Error

Indicates Error on channel.

Definition at line 165 of file admw_api.h.

uint32_t Ch_Raw

Indicates if Raw sensor data field is valid.

Definition at line 167 of file admw_api.h.

uint32_t Ch_Valid

Indicates if this Result structure is valid.

Definition at line 168 of file admw_api.h.

uint32_t Channel_ID

Indicates which channel this result corresponds to.

Definition at line 164 of file admw_api.h.

float32_t processedValue

The processed value obtained from the measurement channel, as a final measurement value, following calibration and linearisation correction, and conversion into an appropriate unit of measurement.

Definition at line 160 of file admw_api.h.

float32_t Raw_Sample

The raw value obtained from the measurement channel, before calibration and linearisation correction, and conversion.

Definition at line 172 of file admw_api.h.

uint32_t Reserved

Reserved for future use.

Definition at line 170 of file admw_api.h.

uint32_t Status

Indicates the Status of this measurement.

Definition at line 169 of file admw_api.h.