|
DUDS
|
Distributed Update of Data from Something
|
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... | |
Information on a particular sampling rate.
Definition at line 80 of file APDS9301.cpp.
| 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.
| 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.
| 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.