|
DUDS
|
Distributed Update of Data from Something
|
Prevent Doxygen from mixing this up with other source-file specific items from other files. More...
Classes | |
| struct | PeriodData |
| Information on a particular sampling rate. More... | |
Enumerations | |
| enum | CmdFlags { Cmd = 0x80, ClearInt = 0x40, Word = 0x20, AddrMask = 0x0F } |
| The flags refered to as commands in the documentation. More... | |
| enum | ConfigFlags { HighGain = 0x10, Intgrate = 0x08, InegrateTimeManual = 3, InegrateTime402ms = 2, InegrateTime101ms = 1, InegrateTime13ms7 = 0 } |
| enum | Regs { RegControl, RegConfig, RegInt = 6, RegCh0 = 0xC, RegCh1 = 0xE } |
| The device's registers. More... | |
Variables | |
| static const std::map< float, PeriodData > | IntegPeriodVals |
| Integration period values. More... | |
Prevent Doxygen from mixing this up with other source-file specific items from other files.
The flags refered to as commands in the documentation.
| Enumerator | |
|---|---|
| Cmd | Always set in command byte. |
| ClearInt | Clear interrupt flags. |
| Word | Transfer two bytes instead of one. |
| AddrMask | Spot for the address of register to read or write. |
Definition at line 54 of file APDS9301.cpp.
Definition at line 61 of file APDS9301.cpp.
The device's registers.
Definition at line 26 of file APDS9301.cpp.
|
static |
Integration period values.
Definition at line 103 of file APDS9301.cpp.
Referenced by duds::hardware::devices::instruments::APDS9301::init(), duds::hardware::devices::instruments::APDS9301::irradiance(), and duds::hardware::devices::instruments::APDS9301::maxIrradiance().