DUDS
Distributed Update of Data from Something
duds::hardware::devices::instruments::APDS9301_internal::PeriodData Struct Reference

Information on a particular sampling rate. More...

Public Attributes

int maxcnt
 The maximum value the device will report for the sampling period. More...
 
int regval
 The value given to the device to select the sampling period. More...
 
float scale
 A scalar applied to change the irradiance result based on the sampling period. More...
 

Detailed Description

Information on a particular sampling rate.

Definition at line 80 of file APDS9301.cpp.

Member Data Documentation

◆ maxcnt

int duds::hardware::devices::instruments::APDS9301_internal::PeriodData::maxcnt

The maximum value the device will report for the sampling period.

If the result equals this value, the input was too bright to measure.

Definition at line 97 of file APDS9301.cpp.

◆ regval

int duds::hardware::devices::instruments::APDS9301_internal::PeriodData::regval

The value given to the device to select the sampling period.

Definition at line 92 of file APDS9301.cpp.

◆ scale

float duds::hardware::devices::instruments::APDS9301_internal::PeriodData::scale

A scalar applied to change the irradiance result based on the sampling period.

This is useful because the documentation only has figures relating the results from the 101ms sampling period to physical values. Annoyingly, illuminance is specified for 402ms instead of keeping things consistent.

Definition at line 88 of file APDS9301.cpp.


The documentation for this struct was generated from the following file: