Treehopper Java API
io.treehopper.libraries.RegisterManager Class Reference

Created by JayLocal on 5/2/2017. More...

Inherited by io.treehopper.libraries.io.adc.ads1115.Ads1115Registers, io.treehopper.libraries.io.adc.nau7802.Nau7802Registers, io.treehopper.libraries.sensors.inertial.adxl345.Adxl345Registers, io.treehopper.libraries.sensors.inertial.bno055.Bno055Registers, io.treehopper.libraries.sensors.inertial.itg3205.Itg3205Registers, io.treehopper.libraries.sensors.inertial.l3gd20.L3gd20Registers, io.treehopper.libraries.sensors.inertial.lis3dh.Lis3dhRegisters, io.treehopper.libraries.sensors.inertial.lsm303d.Lsm303dRegisters, io.treehopper.libraries.sensors.inertial.lsm303dlhcaccel.Lsm303dlhcAccelRegisters, io.treehopper.libraries.sensors.inertial.mpu6050.Mpu6050Registers, io.treehopper.libraries.sensors.magnetic.ak8975.Ak8975Registers, io.treehopper.libraries.sensors.magnetic.lsm303dlhcmag.Lsm303dlhcMagRegisters, io.treehopper.libraries.sensors.optical.tsl2591.Tsl2591Registers, io.treehopper.libraries.sensors.optical.vcnl4010.Vcnl4010Registers, and io.treehopper.libraries.sensors.pressure.bmp280.Bmp280Registers.

Public Member Functions

 RegisterManager (SMBusDevice dev)
 
void read (Register register)
 
void readRange (Register start, Register end)
 
void write (Register register)
 
void writeRange (Register start, Register end)
 

Protected Attributes

ArrayList< Register_registers = new ArrayList<>()
 
SMBusDevice _dev
 

Detailed Description

Created by JayLocal on 5/2/2017.

Constructor & Destructor Documentation

◆ RegisterManager()

io.treehopper.libraries.RegisterManager.RegisterManager ( SMBusDevice  dev)

Member Function Documentation

◆ read()

void io.treehopper.libraries.RegisterManager.read ( Register  register)

◆ readRange()

void io.treehopper.libraries.RegisterManager.readRange ( Register  start,
Register  end 
)

◆ write()

void io.treehopper.libraries.RegisterManager.write ( Register  register)

◆ writeRange()

void io.treehopper.libraries.RegisterManager.writeRange ( Register  start,
Register  end 
)

Member Data Documentation

◆ _dev

SMBusDevice io.treehopper.libraries.RegisterManager._dev
protected

◆ _registers

ArrayList<Register> io.treehopper.libraries.RegisterManager._registers = new ArrayList<>()
protected

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