Qwiic_AS7265x_Py  2.0.0-1-gdc8e359
Python for SFE Qwiic AS7265x
Loading...
Searching...
No Matches
qwiic_as7265x.QwiicAS7265x Class Reference
Inheritance diagram for qwiic_as7265x.QwiicAS7265x:

Public Member Functions

def __init__ (self, address=None, i2c_driver=None)
 Constructor. More...
 
def is_connected (self)
 Determines if this device is connected. More...
 
def begin (self)
 Initializes this device with default parameters. More...
 
def get_device_type (self)
 Returns the device type (HW Version High Byte) More...
 
def get_hardware_version (self)
 Returns the hardware version of the device. More...
 
def get_major_firmware_version (self)
 Get the major firmware version of the device. More...
 
def get_patch_firmware_version (self)
 Get the patch firmware version of the device. More...
 
def get_build_firmware_version (self)
 Get the build firmware version of the device. More...
 
def get_temperature (self, device=0)
 Returns the temperature of a given device in Celsius. More...
 
def get_temperature_average (self)
 Get the average temperature from all three devices. More...
 
def take_measurements (self)
 Tells IC to take all channel measurements and polls for data ready flag. More...
 
def take_measurements_with_bulb (self)
 Turns on all bulbs, takes measurements of all channels, turns off all bulbs. More...
 
def enable_indicator (self)
 Enable the onboard indicator LED. More...
 
def disable_indicator (self)
 Disable the onboard indicator LED. More...
 
def enable_bulb (self, device)
 Enable the LED or bulb on a given device. More...
 
def disable_bulb (self, device)
 Disable the LED or bulb on a given device. More...
 
def set_gain (self, gain)
 Sets the gain value Gain 0: 1x (power-on default) Gain 1: 3.7x Gain 2: 16x Gain 3: 64x. More...
 
def set_measurement_mode (self, mode)
 Sets the measurement mode. More...
 
def set_integration_cycles (self, cycleValue)
 Sets the integration cycle amount. More...
 
def set_bulb_current (self, current, device)
 Set the current for the specified LED. More...
 
def set_indicator_current (self, current)
 Set the current limit of onboard LED. More...
 
def enable_interrupt (self)
 Enable the interrupt pin. More...
 
def disable_interrupt (self)
 Disable the interrupt pin. More...
 
def soft_reset (self)
 Does a soft reset. More...
 
def data_available (self)
 Check if the data ready flag is set in the control setup register. More...
 
def get_calibrated_a (self)
 
def get_calibrated_b (self)
 
def get_calibrated_c (self)
 
def get_calibrated_d (self)
 
def get_calibrated_e (self)
 
def get_calibrated_f (self)
 
def get_calibrated_g (self)
 
def get_calibrated_h (self)
 
def get_calibrated_i (self)
 
def get_calibrated_j (self)
 
def get_calibrated_k (self)
 
def get_calibrated_l (self)
 
def get_calibrated_r (self)
 
def get_calibrated_s (self)
 
def get_calibrated_t (self)
 
def get_calibrated_u (self)
 
def get_calibrated_v (self)
 
def get_calibrated_w (self)
 
def get_g (self)
 
def get_h (self)
 
def get_i (self)
 
def get_j (self)
 
def get_k (self)
 
def get_l (self)
 
def get_r (self)
 
def get_s (self)
 
def get_t (self)
 
def get_u (self)
 
def get_v (self)
 
def get_w (self)
 
def get_a (self)
 
def get_b (self)
 
def get_c (self)
 
def get_d (self)
 
def get_e (self)
 
def get_f (self)
 
def get_channel (self, channelReg, device)
 Get the channel data for a specific device. More...
 
def get_calibrated_value (self, calAddress, device)
 Given an address, read four bytes and return the floating point calibrated value. More...
 
def convert_bytes_to_float (self, myLong)
 Convert a 4-byte value containing the bytes of a float respresentation of a number to a float value. More...
 
def select_device (self, device)
 Point the master at either the first or the second slave. More...
 
def virtual_read_register (self, virtualAddr)
 Read a virtual register from the AS7265x. More...
 
def virtual_write_register (self, virtualAddr, data)
 Write a virtual register to the AS7265x. More...
 

Public Attributes

 address
 
 kTxValid
 

Static Public Attributes

 device_name = _DEFAULT_NAME
 
 available_addresses = _AVAILABLE_I2C_ADDRESS
 
int kStatusReg = 0x00
 
int kWriteReg = 0x01
 
int kReadReg = 0x02
 
int kTxValid = 0x02
 
int kRxValid = 0x01
 
int kHwVersionHigh = 0x00
 
int kHwVersionLow = 0x01
 
int kFwVersionHigh = 0x02
 
int kFwVersionLow = 0x03
 
int kConfig = 0x04
 
int kIntegrationTime = 0x05
 
int kDeviceTemp = 0x06
 
int kLedConfig = 0x07
 
int kRGA = 0x08
 
int kSHB = 0x0A
 
int kTIC = 0x0C
 
int kUJD = 0x0E
 
int kVKE = 0x10
 
int kWLF = 0x12
 
int kRGACal = 0x14
 
int kSHBCal = 0x18
 
int kTICCal = 0x1C
 
int kUJDCal = 0x20
 
int kVKECal = 0x24
 
int kWLFCal = 0x28
 
int kDevSelectControl = 0x4F
 
int kCoefData0 = 0x50
 
int kCoefData1 = 0x51
 
int kCoefData2 = 0x52
 
int kCoefData3 = 0x53
 
int kCoefDataRead = 0x54
 
int kCoefDataWrite = 0x55
 
int kConfigSRSTShift = 7
 
int kConfigSRSTMask = 0b1 << kConfigSRSTShift
 
int kConfigIntShift = 6
 
int kConfigIntMask = 0b1 << kConfigIntShift
 
int kConfigGainShift = 4
 
int kConfigGainMask = 0b11 << kConfigGainShift
 
int kConfigModeShift = 2
 
int kConfigModeMask = 0b11 << kConfigModeShift
 
int kConfigDataReadyShift = 1
 
int kConfigDataReadyMask = 0b1 << kConfigDataReadyShift
 
int kConfigFRSTShift = 0
 
int kConfigFRSTMask = 0b1 << kConfigFRSTShift
 
int kDevSelSecondSlaveShift = 5
 
int kDevSelSecondSlaveMask = 0b1 << kDevSelSecondSlaveShift
 
int kDevSelFirstSlaveShift = 4
 
int kDevSelFirstSlaveMask = 0b1 << kDevSelFirstSlaveShift
 
int kDevSelSelectShift = 0
 
int kDevSelSelectMask = 0b11 << kDevSelSelectShift
 
int kLedConfigLedDrvShift = 4
 
int kLedConfigLedDrvMask = 0b11 << kLedConfigLedDrvShift
 
int kLedConfigLedEnableShift = 3
 
int kLedConfigLedEnableMask = 0b1 << kLedConfigLedEnableShift
 
int kLedConfigIndCurrentShift = 1
 
int kLedConfigIndCurrentMask = 0b11 << kLedConfigIndCurrentShift
 
int kLedConfigIndEnableShift = 0
 
int kLedConfigIndEnableMask = 0b1 << kLedConfigIndEnableShift
 
int kPollingDelay = 5
 
int kAS72651Nir = 0x00
 
int kAS72652Visible = 0x01
 
int kAS72653Uv = 0x02
 
int kLedWhite = 0x00
 
int kLedIr = 0x01
 
int kLedUv = 0x02
 
int kLedCurrentLimit12_5mA = 0b00
 
int kLedCurrentLimit25mA = 0b01
 
int kLedCurrentLimit50mA = 0b10
 
int kLedCurrentLimit100mA = 0b11
 
int kIndicatorCurrentLimit1mA = 0b00
 
int kIndicatorCurrentLimit2mA = 0b01
 
int kIndicatorCurrentLimit4mA = 0b10
 
int kIndicatorCurrentLimit8mA = 0b11
 
int kGain1x = 0b00
 
int kGain37x = 0b01
 
int kGain16x = 0b10
 
int kGain64x = 0b11
 
int kMeasurementMode4Chan = 0b00
 
int kMeasurementMode4Chan2 = 0b01
 
int kMeasurementMode6ChanContinuous = 0b10
 
int kMeasurementMode6ChanOneShot = 0b11
 

Properties

 connected = property(is_connected)
 

Constructor & Destructor Documentation

◆ __init__()

def qwiic_as7265x.QwiicAS7265x.__init__ (   self,
  address = None,
  i2c_driver = None 
)

Constructor.

Parameters
int,optionaladdress: The I2C address to use for the device If not provided, the default address is used
I2CDriver,optionali2c_driver: An existing i2c driver object If not provided, a driver object is created

Member Function Documentation

◆ begin()

def qwiic_as7265x.QwiicAS7265x.begin (   self)

Initializes this device with default parameters.

Returns
bool Returns True if successful, otherwise False

◆ convert_bytes_to_float()

def qwiic_as7265x.QwiicAS7265x.convert_bytes_to_float (   self,
  myLong 
)

Convert a 4-byte value containing the bytes of a float respresentation of a number to a float value.

Parameters
intmyLong: The 4-byte value to convert
Returns
float The float value

◆ data_available()

def qwiic_as7265x.QwiicAS7265x.data_available (   self)

Check if the data ready flag is set in the control setup register.

Returns
bool True if the data ready flag is set, otherwise False

◆ disable_bulb()

def qwiic_as7265x.QwiicAS7265x.disable_bulb (   self,
  device 
)

Disable the LED or bulb on a given device.

Parameters
intdevice: The device to disable the LED for

Allowable device values are:

  • kLedWhite
  • kLedIr
  • kLedUv

◆ disable_indicator()

def qwiic_as7265x.QwiicAS7265x.disable_indicator (   self)

Disable the onboard indicator LED.

◆ disable_interrupt()

def qwiic_as7265x.QwiicAS7265x.disable_interrupt (   self)

Disable the interrupt pin.

◆ enable_bulb()

def qwiic_as7265x.QwiicAS7265x.enable_bulb (   self,
  device 
)

Enable the LED or bulb on a given device.

Parameters
intdevice: The device to enable the LED for

Allowable device values are:

  • kLedWhite
  • kLedIr
  • kLedUv

◆ enable_indicator()

def qwiic_as7265x.QwiicAS7265x.enable_indicator (   self)

Enable the onboard indicator LED.

◆ enable_interrupt()

def qwiic_as7265x.QwiicAS7265x.enable_interrupt (   self)

Enable the interrupt pin.

◆ get_a()

def qwiic_as7265x.QwiicAS7265x.get_a (   self)

◆ get_b()

def qwiic_as7265x.QwiicAS7265x.get_b (   self)

◆ get_build_firmware_version()

def qwiic_as7265x.QwiicAS7265x.get_build_firmware_version (   self)

Get the build firmware version of the device.

Returns
int The build firmware version

◆ get_c()

def qwiic_as7265x.QwiicAS7265x.get_c (   self)

◆ get_calibrated_a()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_a (   self)

◆ get_calibrated_b()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_b (   self)

◆ get_calibrated_c()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_c (   self)

◆ get_calibrated_d()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_d (   self)

◆ get_calibrated_e()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_e (   self)

◆ get_calibrated_f()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_f (   self)

◆ get_calibrated_g()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_g (   self)

◆ get_calibrated_h()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_h (   self)

◆ get_calibrated_i()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_i (   self)

◆ get_calibrated_j()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_j (   self)

◆ get_calibrated_k()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_k (   self)

◆ get_calibrated_l()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_l (   self)

◆ get_calibrated_r()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_r (   self)

◆ get_calibrated_s()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_s (   self)

◆ get_calibrated_t()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_t (   self)

◆ get_calibrated_u()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_u (   self)

◆ get_calibrated_v()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_v (   self)

◆ get_calibrated_value()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_value (   self,
  calAddress,
  device 
)

Given an address, read four bytes and return the floating point calibrated value.

Parameters
intcalAddress: The address to read the calibrated value from
intdevice: The device to read the calibrated value from
Returns
float The calibrated value

◆ get_calibrated_w()

def qwiic_as7265x.QwiicAS7265x.get_calibrated_w (   self)

◆ get_channel()

def qwiic_as7265x.QwiicAS7265x.get_channel (   self,
  channelReg,
  device 
)

Get the channel data for a specific device.

Parameters
intchannelReg: The register address of the channel
intdevice: The device to get the channel data from
Returns
int The channel data

◆ get_d()

def qwiic_as7265x.QwiicAS7265x.get_d (   self)

◆ get_device_type()

def qwiic_as7265x.QwiicAS7265x.get_device_type (   self)

Returns the device type (HW Version High Byte)

Returns
int The device type

◆ get_e()

def qwiic_as7265x.QwiicAS7265x.get_e (   self)

◆ get_f()

def qwiic_as7265x.QwiicAS7265x.get_f (   self)

◆ get_g()

def qwiic_as7265x.QwiicAS7265x.get_g (   self)

◆ get_h()

def qwiic_as7265x.QwiicAS7265x.get_h (   self)

◆ get_hardware_version()

def qwiic_as7265x.QwiicAS7265x.get_hardware_version (   self)

Returns the hardware version of the device.

Returns
int The hardware version of the device

◆ get_i()

def qwiic_as7265x.QwiicAS7265x.get_i (   self)

◆ get_j()

def qwiic_as7265x.QwiicAS7265x.get_j (   self)

◆ get_k()

def qwiic_as7265x.QwiicAS7265x.get_k (   self)

◆ get_l()

def qwiic_as7265x.QwiicAS7265x.get_l (   self)

◆ get_major_firmware_version()

def qwiic_as7265x.QwiicAS7265x.get_major_firmware_version (   self)

Get the major firmware version of the device.

Returns
int The major firmware version

◆ get_patch_firmware_version()

def qwiic_as7265x.QwiicAS7265x.get_patch_firmware_version (   self)

Get the patch firmware version of the device.

Returns
int The patch firmware version

◆ get_r()

def qwiic_as7265x.QwiicAS7265x.get_r (   self)

◆ get_s()

def qwiic_as7265x.QwiicAS7265x.get_s (   self)

◆ get_t()

def qwiic_as7265x.QwiicAS7265x.get_t (   self)

◆ get_temperature()

def qwiic_as7265x.QwiicAS7265x.get_temperature (   self,
  device = 0 
)

Returns the temperature of a given device in Celsius.

Parameters
intdevice: The device to get the temperature from
Returns
int The temperature in Celsius

◆ get_temperature_average()

def qwiic_as7265x.QwiicAS7265x.get_temperature_average (   self)

Get the average temperature from all three devices.

Returns
float The average temperature in Celsius

◆ get_u()

def qwiic_as7265x.QwiicAS7265x.get_u (   self)

◆ get_v()

def qwiic_as7265x.QwiicAS7265x.get_v (   self)

◆ get_w()

def qwiic_as7265x.QwiicAS7265x.get_w (   self)

◆ is_connected()

def qwiic_as7265x.QwiicAS7265x.is_connected (   self)

Determines if this device is connected.

Returns
bool True if connected, otherwise False

◆ select_device()

def qwiic_as7265x.QwiicAS7265x.select_device (   self,
  device 
)

Point the master at either the first or the second slave.

Parameters
intdevice: The device to select

Allowable device values are:

  • kLedWhite
  • kLedIr
  • kLedUv
  • kAS72651Nir (arduino lib uses this value in the indicator() functions)

◆ set_bulb_current()

def qwiic_as7265x.QwiicAS7265x.set_bulb_current (   self,
  current,
  device 
)

Set the current for the specified LED.

Parameters
intcurrent: The current to set the LED to

Allowable current values are:

  • kLedCurrentLimit12_5mA
  • kLedCurrentLimit25mA
  • kLedCurrentLimit50mA
  • kLedCurrentLimit100mA
    Parameters
    intdevice: The device to set the current for

◆ set_gain()

def qwiic_as7265x.QwiicAS7265x.set_gain (   self,
  gain 
)

Sets the gain value Gain 0: 1x (power-on default) Gain 1: 3.7x Gain 2: 16x Gain 3: 64x.

Parameters
intgain: The gain value to set

◆ set_indicator_current()

def qwiic_as7265x.QwiicAS7265x.set_indicator_current (   self,
  current 
)

Set the current limit of onboard LED.

Default is max 8mA = 0b11.

Parameters
intcurrent: The current limit to set the indicator LED to

Allowable current values are:

  • kIndicatorCurrentLimit1mA
  • kIndicatorCurrentLimit2mA
  • kIndicatorCurrentLimit4mA
  • kIndicatorCurrentLimit8mA

◆ set_integration_cycles()

def qwiic_as7265x.QwiicAS7265x.set_integration_cycles (   self,
  cycleValue 
)

Sets the integration cycle amount.

Give this function a byte from 0 to 255. Time will be 2.8ms * [integration cycles + 1]

Parameters
intcycleValue: The number of integration cycles to set

◆ set_measurement_mode()

def qwiic_as7265x.QwiicAS7265x.set_measurement_mode (   self,
  mode 
)

Sets the measurement mode.

Mode 0: 4 channels out of 6 (see datasheet) Mode 1: Different 4 channels out of 6 (see datasheet) Mode 2: All 6 channels continuously Mode 3: One-shot reading of all channels

Parameters
intmode: The mode to set

Allowable mode values are:

  • kMeasurementMode4Chan
  • kMeasurementMode4Chan2
  • kMeasurementMode6ChanContinuous
  • kMeasurementMode6ChanOneShot

◆ soft_reset()

def qwiic_as7265x.QwiicAS7265x.soft_reset (   self)

Does a soft reset.

Give sensor at least 1000ms to reset

◆ take_measurements()

def qwiic_as7265x.QwiicAS7265x.take_measurements (   self)

Tells IC to take all channel measurements and polls for data ready flag.

◆ take_measurements_with_bulb()

def qwiic_as7265x.QwiicAS7265x.take_measurements_with_bulb (   self)

Turns on all bulbs, takes measurements of all channels, turns off all bulbs.

◆ virtual_read_register()

def qwiic_as7265x.QwiicAS7265x.virtual_read_register (   self,
  virtualAddr 
)

Read a virtual register from the AS7265x.

Parameters
intvirtualAddr: The virtual register address to read
Returns
int The value of the virtual register

◆ virtual_write_register()

def qwiic_as7265x.QwiicAS7265x.virtual_write_register (   self,
  virtualAddr,
  data 
)

Write a virtual register to the AS7265x.

Parameters
intvirtualAddr: The virtual register address to write
intdata: The data byte to write to the virtual register

Member Data Documentation

◆ address

qwiic_as7265x.QwiicAS7265x.address

◆ available_addresses

qwiic_as7265x.QwiicAS7265x.available_addresses = _AVAILABLE_I2C_ADDRESS
static

◆ device_name

qwiic_as7265x.QwiicAS7265x.device_name = _DEFAULT_NAME
static

◆ kAS72651Nir

int qwiic_as7265x.QwiicAS7265x.kAS72651Nir = 0x00
static

◆ kAS72652Visible

int qwiic_as7265x.QwiicAS7265x.kAS72652Visible = 0x01
static

◆ kAS72653Uv

int qwiic_as7265x.QwiicAS7265x.kAS72653Uv = 0x02
static

◆ kCoefData0

int qwiic_as7265x.QwiicAS7265x.kCoefData0 = 0x50
static

◆ kCoefData1

int qwiic_as7265x.QwiicAS7265x.kCoefData1 = 0x51
static

◆ kCoefData2

int qwiic_as7265x.QwiicAS7265x.kCoefData2 = 0x52
static

◆ kCoefData3

int qwiic_as7265x.QwiicAS7265x.kCoefData3 = 0x53
static

◆ kCoefDataRead

int qwiic_as7265x.QwiicAS7265x.kCoefDataRead = 0x54
static

◆ kCoefDataWrite

int qwiic_as7265x.QwiicAS7265x.kCoefDataWrite = 0x55
static

◆ kConfig

int qwiic_as7265x.QwiicAS7265x.kConfig = 0x04
static

◆ kConfigDataReadyMask

int qwiic_as7265x.QwiicAS7265x.kConfigDataReadyMask = 0b1 << kConfigDataReadyShift
static

◆ kConfigDataReadyShift

int qwiic_as7265x.QwiicAS7265x.kConfigDataReadyShift = 1
static

◆ kConfigFRSTMask

int qwiic_as7265x.QwiicAS7265x.kConfigFRSTMask = 0b1 << kConfigFRSTShift
static

◆ kConfigFRSTShift

int qwiic_as7265x.QwiicAS7265x.kConfigFRSTShift = 0
static

◆ kConfigGainMask

int qwiic_as7265x.QwiicAS7265x.kConfigGainMask = 0b11 << kConfigGainShift
static

◆ kConfigGainShift

int qwiic_as7265x.QwiicAS7265x.kConfigGainShift = 4
static

◆ kConfigIntMask

int qwiic_as7265x.QwiicAS7265x.kConfigIntMask = 0b1 << kConfigIntShift
static

◆ kConfigIntShift

int qwiic_as7265x.QwiicAS7265x.kConfigIntShift = 6
static

◆ kConfigModeMask

int qwiic_as7265x.QwiicAS7265x.kConfigModeMask = 0b11 << kConfigModeShift
static

◆ kConfigModeShift

int qwiic_as7265x.QwiicAS7265x.kConfigModeShift = 2
static

◆ kConfigSRSTMask

int qwiic_as7265x.QwiicAS7265x.kConfigSRSTMask = 0b1 << kConfigSRSTShift
static

◆ kConfigSRSTShift

int qwiic_as7265x.QwiicAS7265x.kConfigSRSTShift = 7
static

◆ kDeviceTemp

int qwiic_as7265x.QwiicAS7265x.kDeviceTemp = 0x06
static

◆ kDevSelectControl

int qwiic_as7265x.QwiicAS7265x.kDevSelectControl = 0x4F
static

◆ kDevSelFirstSlaveMask

int qwiic_as7265x.QwiicAS7265x.kDevSelFirstSlaveMask = 0b1 << kDevSelFirstSlaveShift
static

◆ kDevSelFirstSlaveShift

int qwiic_as7265x.QwiicAS7265x.kDevSelFirstSlaveShift = 4
static

◆ kDevSelSecondSlaveMask

int qwiic_as7265x.QwiicAS7265x.kDevSelSecondSlaveMask = 0b1 << kDevSelSecondSlaveShift
static

◆ kDevSelSecondSlaveShift

int qwiic_as7265x.QwiicAS7265x.kDevSelSecondSlaveShift = 5
static

◆ kDevSelSelectMask

int qwiic_as7265x.QwiicAS7265x.kDevSelSelectMask = 0b11 << kDevSelSelectShift
static

◆ kDevSelSelectShift

int qwiic_as7265x.QwiicAS7265x.kDevSelSelectShift = 0
static

◆ kFwVersionHigh

int qwiic_as7265x.QwiicAS7265x.kFwVersionHigh = 0x02
static

◆ kFwVersionLow

int qwiic_as7265x.QwiicAS7265x.kFwVersionLow = 0x03
static

◆ kGain16x

int qwiic_as7265x.QwiicAS7265x.kGain16x = 0b10
static

◆ kGain1x

int qwiic_as7265x.QwiicAS7265x.kGain1x = 0b00
static

◆ kGain37x

int qwiic_as7265x.QwiicAS7265x.kGain37x = 0b01
static

◆ kGain64x

int qwiic_as7265x.QwiicAS7265x.kGain64x = 0b11
static

◆ kHwVersionHigh

int qwiic_as7265x.QwiicAS7265x.kHwVersionHigh = 0x00
static

◆ kHwVersionLow

int qwiic_as7265x.QwiicAS7265x.kHwVersionLow = 0x01
static

◆ kIndicatorCurrentLimit1mA

int qwiic_as7265x.QwiicAS7265x.kIndicatorCurrentLimit1mA = 0b00
static

◆ kIndicatorCurrentLimit2mA

int qwiic_as7265x.QwiicAS7265x.kIndicatorCurrentLimit2mA = 0b01
static

◆ kIndicatorCurrentLimit4mA

int qwiic_as7265x.QwiicAS7265x.kIndicatorCurrentLimit4mA = 0b10
static

◆ kIndicatorCurrentLimit8mA

int qwiic_as7265x.QwiicAS7265x.kIndicatorCurrentLimit8mA = 0b11
static

◆ kIntegrationTime

int qwiic_as7265x.QwiicAS7265x.kIntegrationTime = 0x05
static

◆ kLedConfig

int qwiic_as7265x.QwiicAS7265x.kLedConfig = 0x07
static

◆ kLedConfigIndCurrentMask

int qwiic_as7265x.QwiicAS7265x.kLedConfigIndCurrentMask = 0b11 << kLedConfigIndCurrentShift
static

◆ kLedConfigIndCurrentShift

int qwiic_as7265x.QwiicAS7265x.kLedConfigIndCurrentShift = 1
static

◆ kLedConfigIndEnableMask

int qwiic_as7265x.QwiicAS7265x.kLedConfigIndEnableMask = 0b1 << kLedConfigIndEnableShift
static

◆ kLedConfigIndEnableShift

int qwiic_as7265x.QwiicAS7265x.kLedConfigIndEnableShift = 0
static

◆ kLedConfigLedDrvMask

int qwiic_as7265x.QwiicAS7265x.kLedConfigLedDrvMask = 0b11 << kLedConfigLedDrvShift
static

◆ kLedConfigLedDrvShift

int qwiic_as7265x.QwiicAS7265x.kLedConfigLedDrvShift = 4
static

◆ kLedConfigLedEnableMask

int qwiic_as7265x.QwiicAS7265x.kLedConfigLedEnableMask = 0b1 << kLedConfigLedEnableShift
static

◆ kLedConfigLedEnableShift

int qwiic_as7265x.QwiicAS7265x.kLedConfigLedEnableShift = 3
static

◆ kLedCurrentLimit100mA

int qwiic_as7265x.QwiicAS7265x.kLedCurrentLimit100mA = 0b11
static

◆ kLedCurrentLimit12_5mA

int qwiic_as7265x.QwiicAS7265x.kLedCurrentLimit12_5mA = 0b00
static

◆ kLedCurrentLimit25mA

int qwiic_as7265x.QwiicAS7265x.kLedCurrentLimit25mA = 0b01
static

◆ kLedCurrentLimit50mA

int qwiic_as7265x.QwiicAS7265x.kLedCurrentLimit50mA = 0b10
static

◆ kLedIr

int qwiic_as7265x.QwiicAS7265x.kLedIr = 0x01
static

◆ kLedUv

int qwiic_as7265x.QwiicAS7265x.kLedUv = 0x02
static

◆ kLedWhite

int qwiic_as7265x.QwiicAS7265x.kLedWhite = 0x00
static

◆ kMeasurementMode4Chan

int qwiic_as7265x.QwiicAS7265x.kMeasurementMode4Chan = 0b00
static

◆ kMeasurementMode4Chan2

int qwiic_as7265x.QwiicAS7265x.kMeasurementMode4Chan2 = 0b01
static

◆ kMeasurementMode6ChanContinuous

int qwiic_as7265x.QwiicAS7265x.kMeasurementMode6ChanContinuous = 0b10
static

◆ kMeasurementMode6ChanOneShot

int qwiic_as7265x.QwiicAS7265x.kMeasurementMode6ChanOneShot = 0b11
static

◆ kPollingDelay

int qwiic_as7265x.QwiicAS7265x.kPollingDelay = 5
static

◆ kReadReg

int qwiic_as7265x.QwiicAS7265x.kReadReg = 0x02
static

◆ kRGA

int qwiic_as7265x.QwiicAS7265x.kRGA = 0x08
static

◆ kRGACal

int qwiic_as7265x.QwiicAS7265x.kRGACal = 0x14
static

◆ kRxValid

int qwiic_as7265x.QwiicAS7265x.kRxValid = 0x01
static

◆ kSHB

int qwiic_as7265x.QwiicAS7265x.kSHB = 0x0A
static

◆ kSHBCal

int qwiic_as7265x.QwiicAS7265x.kSHBCal = 0x18
static

◆ kStatusReg

int qwiic_as7265x.QwiicAS7265x.kStatusReg = 0x00
static

◆ kTIC

int qwiic_as7265x.QwiicAS7265x.kTIC = 0x0C
static

◆ kTICCal

int qwiic_as7265x.QwiicAS7265x.kTICCal = 0x1C
static

◆ kTxValid [1/2]

int qwiic_as7265x.QwiicAS7265x.kTxValid = 0x02
static

◆ kTxValid [2/2]

qwiic_as7265x.QwiicAS7265x.kTxValid

◆ kUJD

int qwiic_as7265x.QwiicAS7265x.kUJD = 0x0E
static

◆ kUJDCal

int qwiic_as7265x.QwiicAS7265x.kUJDCal = 0x20
static

◆ kVKE

int qwiic_as7265x.QwiicAS7265x.kVKE = 0x10
static

◆ kVKECal

int qwiic_as7265x.QwiicAS7265x.kVKECal = 0x24
static

◆ kWLF

int qwiic_as7265x.QwiicAS7265x.kWLF = 0x12
static

◆ kWLFCal

int qwiic_as7265x.QwiicAS7265x.kWLFCal = 0x28
static

◆ kWriteReg

int qwiic_as7265x.QwiicAS7265x.kWriteReg = 0x01
static

Property Documentation

◆ connected

qwiic_as7265x.QwiicAS7265x.connected = property(is_connected)
static

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