sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
AS7265X Class Reference

#include <AS7265X.h>

Public Member Functions

 AS7265X (uint8_t intPin)
 
void init (uint8_t gain, uint8_t mode, uint8_t intTime)
 
uint8_t getDevType ()
 
uint8_t getHWVersion ()
 
uint16_t getFWMajorVersion ()
 
uint16_t getFWPatchVersion ()
 
uint16_t getFWBuildVersion ()
 
uint8_t getStatus ()
 
float getTemperature (uint8_t devNum)
 
void configureLed (uint8_t ledIndCurrent, uint8_t ledDrvCurrent, uint8_t devNum)
 
void enableIndLed (uint8_t devNum)
 
void enableDrvLed (uint8_t devNum)
 
void disableIndLed (uint8_t devNum)
 
void disableDrvLed (uint8_t devNum)
 
void readCalData (float *destination)
 
void readRawData (int16_t *destination)
 
void I2Cscan ()
 
void i2cm_AS72xx_write (uint8_t virtualReg, uint8_t d)
 
uint8_t i2cm_AS72xx_read (uint8_t virtualReg)
 
void writeByte (uint8_t address, uint8_t subAddress, uint8_t data)
 
uint8_t readByte (uint8_t address, uint8_t subAddress)
 

Constructor & Destructor Documentation

AS7265X::AS7265X ( uint8_t  intPin)

Member Function Documentation

void AS7265X::configureLed ( uint8_t  ledIndCurrent,
uint8_t  ledDrvCurrent,
uint8_t  devNum 
)
void AS7265X::disableDrvLed ( uint8_t  devNum)
void AS7265X::disableIndLed ( uint8_t  devNum)
void AS7265X::enableDrvLed ( uint8_t  devNum)
void AS7265X::enableIndLed ( uint8_t  devNum)
uint8_t AS7265X::getDevType ( )
uint16_t AS7265X::getFWBuildVersion ( )
uint16_t AS7265X::getFWMajorVersion ( )
uint16_t AS7265X::getFWPatchVersion ( )
uint8_t AS7265X::getHWVersion ( )
uint8_t AS7265X::getStatus ( )
float AS7265X::getTemperature ( uint8_t  devNum)
uint8_t AS7265X::i2cm_AS72xx_read ( uint8_t  virtualReg)
void AS7265X::i2cm_AS72xx_write ( uint8_t  virtualReg,
uint8_t  d 
)
void AS7265X::I2Cscan ( )
void AS7265X::init ( uint8_t  gain,
uint8_t  mode,
uint8_t  intTime 
)
uint8_t AS7265X::readByte ( uint8_t  address,
uint8_t  subAddress 
)
void AS7265X::readCalData ( float *  destination)
void AS7265X::readRawData ( int16_t *  destination)
void AS7265X::writeByte ( uint8_t  address,
uint8_t  subAddress,
uint8_t  data 
)

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