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

Go to the source code of this file.

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::TSL2591_internal
 Prevent Doxygen from mixing this up with other source-file specific items from other files.
 

Enumerations

enum  duds::hardware::devices::instruments::TSL2591_internal::CmdFlags { duds::hardware::devices::instruments::TSL2591_internal::Cmd = 0x80, duds::hardware::devices::instruments::TSL2591_internal::TransNorm = 0x20, duds::hardware::devices::instruments::TSL2591_internal::TransSpec = 0x60, duds::hardware::devices::instruments::TSL2591_internal::AddrMask = 0x1F }
 The flags refered to as commands in the documentation. More...
 
enum  duds::hardware::devices::instruments::TSL2591_internal::ControlFlags {
  duds::hardware::devices::instruments::TSL2591_internal::IntgrTimeShift = 0, duds::hardware::devices::instruments::TSL2591_internal::IntgrTimeMask = 0x7, duds::hardware::devices::instruments::TSL2591_internal::GainShift = 4, duds::hardware::devices::instruments::TSL2591_internal::GainMask = 0x30,
  duds::hardware::devices::instruments::TSL2591_internal::Reset = 0x80
}
 More configuration flags. More...
 
enum  duds::hardware::devices::instruments::TSL2591_internal::EnableFlags {
  duds::hardware::devices::instruments::TSL2591_internal::OscOn = 1, duds::hardware::devices::instruments::TSL2591_internal::Sample = 2, duds::hardware::devices::instruments::TSL2591_internal::IntEnable = 0x10, duds::hardware::devices::instruments::TSL2591_internal::SleepOnInt = 0x40,
  duds::hardware::devices::instruments::TSL2591_internal::NonPersistantInterrutEnable = 0x80
}
 Flags used to enable various features. More...
 
enum  duds::hardware::devices::instruments::TSL2591_internal::Regs {
  duds::hardware::devices::instruments::TSL2591_internal::RegEnable, duds::hardware::devices::instruments::TSL2591_internal::RegControl, duds::hardware::devices::instruments::TSL2591_internal::RegDeviceId = 0x12, duds::hardware::devices::instruments::TSL2591_internal::RegStatus,
  duds::hardware::devices::instruments::TSL2591_internal::RegCh0, duds::hardware::devices::instruments::TSL2591_internal::RegCh1 = 0x16
}
 The device's registers. More...
 

Variables

static std::uint16_t duds::hardware::devices::instruments::TSL2591_internal::gainSettings [4]
 The set of selectable gain factors. More...