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

Detailed Description

Definition at line 55 of file LT_PMBusDeviceLTC2975.h.

Inheritance diagram for LT_PMBusDeviceLTC2975:
LT_PMBusDeviceManager LT_PMBusDevice

Public Member Functions

 LT_PMBusDeviceLTC2975 (LT_PMBus *pmbus, uint8_t address)
 
uint32_t getCapabilities ()
 Get the supported capabilities. More...
 
bool hasCapability (uint32_t capability)
 Is/are these capability(s) supported? More...
 
char * getType (void)
 
uint8_t getNumPages (void)
 
- Public Member Functions inherited from LT_PMBusDeviceManager
 LT_PMBusDeviceManager (LT_PMBus *pmbus, uint8_t address, uint8_t no_pages)
 
void setSpeed (uint32_t speed)
 Set the speed. If > 100000, enable clock stretching. More...
 
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...
 
void setPage (uint8_t page)
 
uint32_t getMaxSpeed (void)
 Get the maximum speed the device can communicate with. 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 ()
 

Static Public Member Functions

static LT_PMBusDevicedetect (LT_PMBus *pmbus, uint8_t address)
 

Static Public Attributes

static uint32_t cap_
 

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

◆ detect()

static LT_PMBusDevice* LT_PMBusDeviceLTC2975::detect ( LT_PMBus pmbus,
uint8_t  address 
)
static

Definition at line 92 of file LT_PMBusDeviceLTC2975.h.

◆ getCapabilities()

uint32_t LT_PMBusDeviceLTC2975::getCapabilities ( )
virtual

Get the supported capabilities.

Returns
or'd list of capabilities

Implements LT_PMBusDevice.

Definition at line 65 of file LT_PMBusDeviceLTC2975.h.

◆ getNumPages()

uint8_t LT_PMBusDeviceLTC2975::getNumPages ( void  )
virtual

Implements LT_PMBusDevice.

Definition at line 87 of file LT_PMBusDeviceLTC2975.h.

◆ getType()

char* LT_PMBusDeviceLTC2975::getType ( void  )
virtual

Reimplemented from LT_PMBusDevice.

Definition at line 80 of file LT_PMBusDeviceLTC2975.h.

◆ hasCapability()

bool LT_PMBusDeviceLTC2975::hasCapability ( uint32_t  capability)
virtual

Is/are these capability(s) supported?

Returns
true if yes
Parameters
capabilityList of capabilities

Implements LT_PMBusDevice.

Definition at line 73 of file LT_PMBusDeviceLTC2975.h.

Constructor & Destructor Documentation

◆ LT_PMBusDeviceLTC2975()

LT_PMBusDeviceLTC2975::LT_PMBusDeviceLTC2975 ( LT_PMBus pmbus,
uint8_t  address 
)

Definition at line 61 of file LT_PMBusDeviceLTC2975.h.

Field Documentation

◆ cap_

uint32_t LT_PMBusDeviceLTC2975::cap_
static
Initial value:

Definition at line 59 of file LT_PMBusDeviceLTC2975.h.


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