123 configAll &= ~(1 << 1);
virtual LT_PMBusRail ** getRails()=0
Return a list of rails if any page is part of a rail.
uint32_t getMaxSpeed(void)
Get the maximum speed the device can communicate with.
float readPout(uint8_t address, bool polling)
Get the measured output power.
float readPout(bool polling)
void marginOff(uint8_t address)
Margin rails off.
uint8_t getAddress()
Get the address.
virtual void setSpeed(uint32_t speed)
Set the speed. If > 100000, enable clock stretching.
float readVout(bool polling)
uint16_t readStatusWord()
uint16_t readStatusWord(uint8_t address)
Get the status word.
virtual char * getFaultLog()
Get the fault log text (call must free)
float readIout(uint8_t address, bool polling)
Get the measured output current.
void readModel(uint8_t address, uint8_t *model)
Get the model.
float readIout(bool polling)
void changePMBus(LT_PMBus *pmbus)
Change the pmbus.
virtual char * getType(void)
void marginHigh(uint8_t address)
Margin rail high.
float readExternalTemperature(bool polling)
float readPin(uint8_t address, bool polling)
Get the measured input power.
float readVout(uint8_t address, bool polling)
Get the measured output voltage.
uint16_t readMfrSpecialId()
void changeSpeed(uint32_t speed)
Change the speed of the bus.
float readIin(bool polling)
virtual void writeByte(uint8_t address, uint8_t command, uint8_t data)=0
SMBus write byte command.
virtual uint8_t readByte(uint8_t address, uint8_t command)=0
SMBus read byte command.
float readInternalTemperature(bool polling)
void setPage(uint8_t address, uint8_t page)
Set the page.
void setVout(float voltage)
float readExternalTemperature(uint8_t address, bool polling)
Get the measured external temperature.
void clearAllFaults(uint8_t address)
Clear all the faults for all pages.
void marginLow(uint8_t address)
Margin rails low.
float readInternalTemperature(uint8_t address, bool polling)
Get the measured internal temperature.
float readVin(bool polling)
float readIin(uint8_t address, bool polling)
Get the input current.
virtual LT_I2CBus * i2cbus(void)=0
Library Header File for LT_PMBusDevice.
virtual bool hasCapability(uint32_t capability)=0
Is/are these capability(s) supported?
uint32_t test(uint8_t address, uint8_t tries)
float readVin(uint8_t address, bool polling)
Get the input voltage.
float readDutyCycle(bool polling)
void setVout(uint8_t address, float voltage)
Set output voltage.
uint16_t readMfrSpecialId(uint8_t address)
Get speical ID.
virtual bool hasFaultLog()
Is there a fault log?
static uint16_t current
the current measurement from the LTC3335's counter test mode.
float readPin(bool polling)
void setPage(uint8_t page)
PMBusRail communication. For Multiphase Rails.
float readDutyCycle(uint8_t address, bool polling)
Get the duty cycle.