DUDS
Distributed Update of Data from Something
APDS9301.cpp File Reference
Include dependency graph for APDS9301.cpp:

Go to the source code of this file.

Classes

struct  duds::hardware::devices::instruments::APDS9301_internal::PeriodData
 Information on a particular sampling rate. More...
 

Namespaces

 duds
 
 duds::hardware
 
 duds::hardware::devices
 The root namespace for various device drivers to support specific hardware items.
 
 duds::hardware::devices::instruments
 The namespace with support for various instruments that sense properties of the physical world.
 
 duds::hardware::devices::instruments::APDS9301_internal
 Prevent Doxygen from mixing this up with other source-file specific items from other files.
 

Enumerations

enum  duds::hardware::devices::instruments::APDS9301_internal::CmdFlags { duds::hardware::devices::instruments::APDS9301_internal::Cmd = 0x80, duds::hardware::devices::instruments::APDS9301_internal::ClearInt = 0x40, duds::hardware::devices::instruments::APDS9301_internal::Word = 0x20, duds::hardware::devices::instruments::APDS9301_internal::AddrMask = 0x0F }
 The flags refered to as commands in the documentation. More...
 
enum  duds::hardware::devices::instruments::APDS9301_internal::ConfigFlags {
  duds::hardware::devices::instruments::APDS9301_internal::HighGain = 0x10, duds::hardware::devices::instruments::APDS9301_internal::Intgrate = 0x08, duds::hardware::devices::instruments::APDS9301_internal::InegrateTimeManual = 3, duds::hardware::devices::instruments::APDS9301_internal::InegrateTime402ms = 2,
  duds::hardware::devices::instruments::APDS9301_internal::InegrateTime101ms = 1, duds::hardware::devices::instruments::APDS9301_internal::InegrateTime13ms7 = 0
}
 
enum  duds::hardware::devices::instruments::APDS9301_internal::Regs {
  duds::hardware::devices::instruments::APDS9301_internal::RegControl, duds::hardware::devices::instruments::APDS9301_internal::RegConfig, duds::hardware::devices::instruments::APDS9301_internal::RegInt = 6, duds::hardware::devices::instruments::APDS9301_internal::RegCh0 = 0xC,
  duds::hardware::devices::instruments::APDS9301_internal::RegCh1 = 0xE
}
 The device's registers. More...
 

Variables

static const std::map< float, PeriodData > duds::hardware::devices::instruments::APDS9301_internal::IntegPeriodVals
 Integration period values. More...