Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board
LT_PMBusDeviceController Class Reference

Detailed Description

Definition at line 56 of file LT_PMBusDeviceController.h.

Inheritance diagram for LT_PMBusDeviceController:
LT_PMBusDevice LT_PMBusDeviceLTC3880 LT_PMBusDeviceLTC3882 LT_PMBusDeviceLTC3883 LT_PMBusDeviceLTC3886 LT_PMBusDeviceLTC3887 LT_PMBusDeviceLTM4675 LT_PMBusDeviceLTM4676 LT_PMBusDeviceLTM4677

Public Member Functions

 LT_PMBusDeviceController (LT_PMBus *pmbus, uint8_t address, uint8_t no_pages)
 
LT_PMBusRail ** getRails ()
 Return a list of rails if any page is part of a rail. More...
 
- Public Member Functions inherited from LT_PMBusDevice
virtual ~LT_PMBusDevice ()
 
LT_PMBuspmbus ()
 
LT_SMBussmbus ()
 
void changePMBus (LT_PMBus *pmbus)
 Change the pmbus. More...
 
uint8_t getAddress ()
 Get the address. More...
 
virtual char * getType (void)
 
virtual uint8_t getNumPages (void)=0
 
void setPage (uint8_t page)
 
uint32_t getMaxSpeed (void)
 Get the maximum speed the device can communicate with. More...
 
virtual void setSpeed (uint32_t speed)
 Set the speed. If > 100000, enable clock stretching. More...
 
virtual uint32_t getCapabilities ()=0
 Get the supported capabilities. More...
 
virtual bool hasCapability (uint32_t capability)=0
 Is/are these capability(s) supported? More...
 
virtual void enableFaultLog ()
 Enable the Fault Log. More...
 
virtual void disableFaultLog ()
 Disable the Fault Log. More...
 
virtual bool hasFaultLog ()
 Is there a fault log? More...
 
virtual char * getFaultLog ()
 Get the fault log text (call must free) More...
 
virtual void clearFaultLog ()
 Clear the Fault Log. More...
 
void setVout (float voltage)
 
float readVin (bool polling)
 
float readVout (bool polling)
 
float readIin (bool polling)
 
float readIout (bool polling)
 
float readPin (bool polling)
 
float readPout (bool polling)
 
float readExternalTemperature (bool polling)
 
float readInternalTemperature (bool polling)
 
float readDutyCycle (bool polling)
 
uint16_t readStatusWord ()
 
uint16_t readMfrSpecialId ()
 
void clearFaults ()
 
void marginHigh ()
 
void marginLow ()
 
void marginOff ()
 

Additional Inherited Members

- Protected Member Functions inherited from LT_PMBusDevice
 LT_PMBusDevice (LT_PMBus *pmbus, uint8_t address)
 
void probeSpeed ()
 
- Protected Attributes inherited from LT_PMBusDevice
LT_PMBuspmbus_
 
uint8_t address_
 
uint32_t maxSpeed_
 
uint8_t model_ [9]
 

Member Function Documentation

◆ getRails()

LT_PMBusRail** LT_PMBusDeviceController::getRails ( )
virtual

Return a list of rails if any page is part of a rail.

Returns
A rail, but partially built, and may need merging with other devices. Caller must free memory.

Implements LT_PMBusDevice.

Definition at line 65 of file LT_PMBusDeviceController.h.

Constructor & Destructor Documentation

◆ LT_PMBusDeviceController()

LT_PMBusDeviceController::LT_PMBusDeviceController ( LT_PMBus pmbus,
uint8_t  address,
uint8_t  no_pages 
)

Definition at line 63 of file LT_PMBusDeviceController.h.


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