50 #ifndef LT_PMBusDeviceManager_H_ 51 #define LT_PMBusDeviceManager_H_ 77 for (i = 0; i < no_pages_; i++)
82 railDef[0]->
pages = (uint8_t *) malloc(
sizeof(uint8_t));
92 rails[no_pages_] = NULL;
void setSpeed(uint32_t speed)
Set the speed. If > 100000, enable clock stretching.
LT_PMBusDeviceManager(LT_PMBus *pmbus, uint8_t address, uint8_t no_pages)
static LT_PMBusRail ** rails
void changeSpeed(uint32_t speed)
Change the speed of the bus.
virtual uint32_t getCapabilities()=0
Get the supported capabilities.
virtual LT_I2CBus * i2cbus(void)=0
Library Header File for LT_PMBusDevice.
LT_PMBusRail ** getRails()
Return a list of rails if any page is part of a rail.
PMBusRail communication. For Multiphase Rails.