![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
PMBus communication. More...
PMBus communication.
Do not use polled commands with LTC2978 or LTC2977. Commands that end in WithPage use PAGE_PLUS. This is reserved for future products.
Definition at line 370 of file LT_PMBus.h.
Public Member Functions | |
LT_PMBus (LT_SMBus *smbus) | |
Construct a LT_PMBus. More... | |
~LT_PMBus () | |
LT_SMBus * | smbus () |
void | smbus (LT_SMBus *smbus) |
PsmDeviceType | deviceType (uint8_t address) |
Get the type of PSM device. More... | |
bool | isLtc297x (uint8_t address) |
Determine if the device is from the LTC297X family, by using the product id in MFR_SPECIAL_ID. More... | |
bool | isLtc2977 (uint8_t address) |
Determine if the device is from the LTC2977 family, by using the product id in MFR_SPECIAL_ID. More... | |
bool | isLtc2974 (uint8_t address) |
Determine if the device is from the LTC2974 family, by using the product id in MFR_SPECIAL_ID. More... | |
bool | isLtc2978 (uint8_t address) |
Determine if the device is a LTC2978/A by looking at bit 2 (RESERVED2) in the MFR_COMMON. More... | |
void | setVout (uint8_t address, float voltage) |
Set output voltage. More... | |
void | setVoutWithPage (uint8_t address, float voltage, uint8_t page) |
Set output voltage. More... | |
void | setVoutWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set output voltage. More... | |
void | setVoutWithSupervision (uint8_t address, float voltage, float margin_percent, float warn_percent, float fault_percent) |
Set output voltage and supervisors. More... | |
void | setVoutWithSupervisionWithPage (uint8_t address, float voltage, float margin_percent, float warn_percent, float fault_percent, uint8_t page) |
Set output voltage and supervisors. More... | |
void | setVoutWithSupervisionWithPagePlus (uint8_t address, float voltage, float margin_percent, float warn_percent, float fault_percent, uint8_t page) |
Set output voltage and supervisors. More... | |
void | setVoutMaxWithPage (uint8_t address, float voltage, uint8_t page) |
Set the maximum output voltage. More... | |
void | setVoutMaxWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the maximum output voltage. More... | |
void | setVoutMax (uint8_t address, float voltage) |
Set the maximum output voltage. More... | |
void | setTonDelay (uint8_t address, float delay) |
Set delay before rail turns on. More... | |
void | setTonRise (uint8_t address, float rise) |
Set the turn on rise time. More... | |
void | setTonMaxFaultLimit (uint8_t address, float max) |
Set the maximum time allow for turn on. More... | |
void | setToffDelay (uint8_t address, float delay) |
Set the delay before the rail turns off. More... | |
void | setToffFall (uint8_t address, float fall) |
Set the turn off fall time. More... | |
void | setToffMaxWarnLimit (uint8_t address, float max) |
Set the maximum time allow to turn off. More... | |
void | setVoutMin (uint8_t address, float voltage) |
Set the minimum output voltage. More... | |
void | setVoutMinWithPage (uint8_t address, float voltage, uint8_t page) |
Set the minimum output voltage. More... | |
void | setVoutMinWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the minimum output voltage. More... | |
void | setVoutOvFaultLimit (uint8_t address, float voltage) |
Set the over voltage supervisor fault limit. More... | |
void | setVoutOvFaultLimitWithPage (uint8_t address, float voltage, uint8_t page) |
Set the over voltage supervisor fault limit. More... | |
void | setVoutOvFaultLimitWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the over voltage supervisor fault limit. More... | |
void | setVoutOvWarnLimit (uint8_t address, float voltage) |
Set the over voltage supervisor warning limit. More... | |
void | setVoutOvWarnLimitWithPage (uint8_t address, float voltage, uint8_t page) |
Set the over voltage supervisor warning limit. More... | |
void | setVoutOvWarnLimitWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the over voltage supervisor warning limit. More... | |
void | setVoutUvWarnLimit (uint8_t address, float voltage) |
Set the under voltage supervisor warning limit. More... | |
void | setVoutUvWarnLimitWithPage (uint8_t address, float voltage, uint8_t page) |
Set the under voltage supervisor warning limit. More... | |
void | setVoutUvWarnLimitWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the under voltage supervisor warning limit. More... | |
void | setVoutMarginHigh (uint8_t address, float voltage) |
Set the margin high. More... | |
void | setVoutMarginHighWithPage (uint8_t address, float voltage, uint8_t page) |
Set the margin high. More... | |
void | setVoutMarginHighWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the margin high. More... | |
void | setVoutMarginLow (uint8_t address, float voltage) |
Set the margin low. More... | |
void | setVoutMarginLowWithPage (uint8_t address, float voltage, uint8_t page) |
Set the margin low. More... | |
void | setVoutMarginLowWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the margin low. More... | |
void | setVinOvWarningLimit (uint8_t address, float voltage) |
Set the input over voltage warning limit. More... | |
void | setVoutUvFaultLimit (uint8_t address, float voltage) |
Set the under voltage fault limit. More... | |
void | setVoutUvFaultLimitWithPage (uint8_t address, float voltage, uint8_t page) |
Set the under voltage fault limit. More... | |
void | setVoutUvFaultLimitWithPagePlus (uint8_t address, float voltage, uint8_t page) |
Set the under voltage fault limit. More... | |
void | setIoutOcFaultLimit (uint8_t address, float current) |
Set the over current fault limit. More... | |
void | setIoutOcFaultLimitWithPage (uint8_t address, float current, uint8_t page) |
Set the over current fault limit. More... | |
void | setIoutOcFaultLimitWithPagePlus (uint8_t address, float current, uint8_t page) |
Set the over current fault limit. More... | |
void | setIoutOcWarnLimit (uint8_t address, float current) |
Set the over current warning limit. More... | |
void | setIoutOcWarnLimitWithPage (uint8_t address, float current, uint8_t page) |
Set the over current warning limit. More... | |
void | setIoutOcWarnLimitWithPagePlus (uint8_t address, float current, uint8_t page) |
Set the over current warning limit. More... | |
void | setVinOvFaultLimit (uint8_t address, float voltage) |
Set the input over voltage fault limit. More... | |
void | setVinOvWarnLimit (uint8_t address, float voltage) |
Set the input over voltage warnign limit. More... | |
void | setVinUvFaultLimit (uint8_t address, float voltage) |
Set the input under voltage fault limit. More... | |
void | setVinUvWarnLimit (uint8_t address, float voltage) |
Set the input under voltage warning limit. More... | |
void | setIinOcWarnLimit (uint8_t address, float current) |
Set the input over current warning limit. More... | |
void | setOtFaultLimit (uint8_t address, float temperature) |
Set the over temperature fault limit. More... | |
void | setOtFaultLimitWithPage (uint8_t address, float temperature, uint8_t page) |
Set the over temperature fault limit. More... | |
void | setOtFaultLimitWithPagePlus (uint8_t address, float temperature, uint8_t page) |
Set the over temperature fault limit. More... | |
void | setOtWarnLimit (uint8_t address, float temperature) |
Set the over temperature warning limit. More... | |
void | setOtWarnLimitWithPage (uint8_t address, float temperature, uint8_t page) |
Set the over temperature warning limit. More... | |
void | setOtWarnLimitWithPagePlus (uint8_t address, float temperature, uint8_t page) |
Set the over temperature warning limit. More... | |
void | setUtFaultLimit (uint8_t address, float temperature) |
Set the under temperature fault limit. More... | |
void | setUtFaultLimitWithPage (uint8_t address, float temperature, uint8_t page) |
Set the under temperature fault limit. More... | |
void | setUtFaultLimitWithPagePlus (uint8_t address, float temperature, uint8_t page) |
Set the under temperature fault limit. More... | |
void | setUtWarnLimit (uint8_t address, float temperature) |
Set the under temperature warning limit. More... | |
void | setUtWarnLimitWithPage (uint8_t address, float temperature, uint8_t page) |
Set the under temperature warning limit. More... | |
void | setUtWarnLimitWithPagePlus (uint8_t address, float temperature, uint8_t page) |
Set the under temperature warning limit. More... | |
float | getOtWarnLimit (uint8_t address) |
Get the over temperature warning limit. More... | |
float | getOtWarnLimitWithPage (uint8_t address, uint8_t page) |
Get the over temperature warning limit. More... | |
float | getOtWarnLimitWithPagePlus (uint8_t address, uint8_t page) |
Get the over temperature warning limit. More... | |
void | setTemp1Gain (uint8_t address, uint16_t gain) |
Set the temperature 1 gain. More... | |
uint16_t | getTemp1Gain (uint8_t address) |
Get the temperature 1 gain. More... | |
void | setTemp1Offset (uint8_t address, float offset) |
Set the temperature 1 offset. More... | |
float | getTemp1Offset (uint8_t address) |
Get the temperature 1 offset. More... | |
float | readVin (uint8_t address, bool polling) |
Get the input voltage. More... | |
float | getVoutOv (uint8_t address, bool polling) |
Get the output over voltage limit. More... | |
float | getVoutOvWithPage (uint8_t address, uint8_t page) |
Get the output over voltage limit. More... | |
float | getVoutOvWithPagePlus (uint8_t address, uint8_t page) |
Get the output over voltage limit. More... | |
float | readVout (uint8_t address, bool polling) |
Get the measured output voltage. More... | |
float | getVout (uint8_t address, bool polling) |
Get the set output voltage. More... | |
float | readVoutWithPage (uint8_t address, uint8_t page) |
Get the measured output voltage. More... | |
float | readVoutWithPagePlus (uint8_t address, uint8_t page) |
Get the measured output voltage. More... | |
float | getVoutUv (uint8_t address, bool polling) |
Get the under voltage limit. More... | |
float | getVoutUvWithPage (uint8_t address, uint8_t page) |
Get the under voltage limit. More... | |
float | getVoutUvWithPagePlus (uint8_t address, uint8_t page) |
Get the under voltage limit. More... | |
float | readIin (uint8_t address, bool polling) |
Get the input current. More... | |
float | getIoutOc (uint8_t address, bool polling) |
Get the over current limit. More... | |
float | getIoutOcWithPage (uint8_t address, uint8_t page) |
Get the over current limit. More... | |
float | getIoutOcWithPagePlus (uint8_t address, uint8_t page) |
Get the over current limit. More... | |
float | readIout (uint8_t address, bool polling) |
Get the measured output current. More... | |
float | readIoutWithPage (uint8_t address, uint8_t page) |
Get the measured output current. More... | |
float | readIoutWithPagePlus (uint8_t address, uint8_t page) |
Get the measured output current. More... | |
float | readPin (uint8_t address, bool polling) |
Get the measured input power. More... | |
float | readPout (uint8_t address, bool polling) |
Get the measured output power. More... | |
float | readPoutWithPage (uint8_t address, uint8_t page) |
Get the measured output power. More... | |
float | readPoutWithPagePlus (uint8_t address, uint8_t page) |
Get the measured output power. More... | |
float | readExternalTemperature (uint8_t address, bool polling) |
Get the measured external temperature. More... | |
float | readInternalTemperature (uint8_t address, bool polling) |
Get the measured internal temperature. More... | |
float | readDutyCycle (uint8_t address, bool polling) |
Get the duty cycle. More... | |
float | readItemp (uint8_t address) |
Get the internal measured temperature. More... | |
float | readOtemp (uint8_t address) |
Get the external measured temperature. More... | |
float | readOtempWithPage (uint8_t address, uint8_t page) |
Get the external measured temperature. More... | |
float | readOtempWithPagePlus (uint8_t address, uint8_t page) |
Get the external measured temperature. More... | |
void | setVoutStatusMask (uint8_t address, uint8_t mask) |
Get the output voltage status mask. More... | |
void | setIoutStatusMask (uint8_t address, uint8_t mask) |
Get the output current status mask. More... | |
void | setInputStatusMask (uint8_t address, uint8_t mask) |
Get the input status mask. More... | |
void | setTemperatureStatusMask (uint8_t address, uint8_t mask) |
Get the temperature status mask. More... | |
void | setCmlStatusMask (uint8_t address, uint8_t mask) |
Get the CML status mask. More... | |
void | setMfrStatusMask (uint8_t address, uint8_t mask) |
Get the MFR status mask. More... | |
uint8_t | getVoutStatusMask (uint8_t address) |
Get the output voltage status mask. More... | |
uint8_t | getIoutStatusMask (uint8_t address) |
Get the output current status mask. More... | |
uint8_t | getInputStatusMask (uint8_t address) |
Get the input status mask. More... | |
uint8_t | getTemperatureStatusMask (uint8_t address) |
Get the temperature status mask. More... | |
uint8_t | getCmlStatusMask (uint8_t address) |
Get the CML status mask. More... | |
uint8_t | getMfrStatusMask (uint8_t address) |
Get the MFR status mask. More... | |
uint8_t | readVoutStatusByte (uint8_t address) |
Get the output voltage status byte. More... | |
uint8_t | readIoutStatusByte (uint8_t address) |
Get the output current status byte. More... | |
uint8_t | readInputStatusByte (uint8_t address) |
Get the input status byte. More... | |
uint8_t | readTemperatureStatusByte (uint8_t address) |
Get the temperature status byte. More... | |
uint8_t | readCmlStatusByte (uint8_t address) |
Get the CML status byte. More... | |
uint8_t | readMfrStatusByte (uint8_t address) |
Get the MFR status byte. More... | |
uint8_t | readMfrFaultLogStatusByte (uint8_t address) |
Get the fault log status byte. More... | |
uint16_t | readMfrPads (uint8_t address) |
Get the state of the pads. More... | |
uint8_t | readPmbusRevision (uint8_t address) |
Get the pmbus revision. More... | |
void | readRevision (uint8_t address, uint8_t *revision) |
Get the slave revision. More... | |
void | readModel (uint8_t address, uint8_t *model) |
Get the model. More... | |
uint8_t | readStatusByte (uint8_t address) |
Get the status byte. More... | |
uint8_t | readStatusByteWithPage (uint8_t address, uint8_t page) |
Get the status byte. More... | |
uint8_t | readStatusByteWithPagePlus (uint8_t address, uint8_t page) |
Get the status byte. More... | |
uint16_t | readStatusWord (uint8_t address) |
Get the status word. More... | |
uint16_t | readStatusWordWithPage (uint8_t address, uint8_t page) |
Get the status word. More... | |
uint16_t | readStatusWordWithPagePlus (uint8_t address, uint8_t page) |
Get the status word. More... | |
uint8_t | readStatusCml (uint8_t address) |
Get the status CML byte. More... | |
void | enableWriteProtect (uint8_t address) |
Enable the write protect. More... | |
void | enableWriteProtectGlobal (void) |
Enable the write protect. More... | |
void | disableWriteProtect (uint8_t address) |
Disable the write protect. More... | |
void | disableWriteProtectGlobal (void) |
Disable the write protect. More... | |
void | clearFaults (uint8_t address) |
Clear the faults of the existing page. More... | |
void | clearAllFaults (uint8_t address) |
Clear all the faults for all pages. More... | |
void | clearFaultsGlobal (void) |
Clear all the faults for all pages of all devices. More... | |
void | setMfrWatchdogFirst (uint8_t address, float delay) |
Set the first watchdog timer. More... | |
void | setMfrWatchdog (uint8_t address, float delay) |
Set watchdog timer. More... | |
void | restoreFromNvm (uint8_t address) |
Restore device from NVM. More... | |
void | restoreFromNvmAll (uint8_t *addresses, uint8_t no_addresses) |
Restore list of devices from NVM. More... | |
void | restoreFromNvmGlobal (void) |
Restore all devices from NVM. More... | |
void | storeToNvm (uint8_t address) |
Store RAM to NVM. More... | |
void | storeToNvmAll (uint8_t *addresses, uint8_t no_addresses) |
Store RAM to NVM for list of devices. More... | |
void | storeToNvmGlobal (void) |
Store RAM to NVM for all devices. More... | |
bool | unlockNVM (uint8_t address) |
Unlock NVM. More... | |
bool | lockNVM (uint8_t address) |
Lock NVM. More... | |
void | eraseNVM (uint8_t address) |
bool | compareRamWithNvm (uint8_t address) |
Compare RAM to NVM for device. More... | |
void | page (uint8_t *addresses, uint8_t no_addresses) |
Set the page. More... | |
void | sequenceOn (uint8_t *addresses, uint8_t no_addresses) |
Sequence on a list of devices. More... | |
void | immediateOff (uint8_t *addresses, uint8_t no_addresses) |
Turn off all devices immediately. More... | |
void | sequenceOff (uint8_t *addresses, uint8_t no_addresses) |
Sequence off a list of addresses. More... | |
void | sequenceOffGlobal (void) |
Sequence off all rails. More... | |
void | sequenceOnGlobal (void) |
Sequence on all rails. More... | |
void | immediateOffGlobal (void) |
Turn off all rails immediately. More... | |
void | resetGlobal (void) |
Issue reset to all devices. More... | |
void | reset (uint8_t address) |
Issue reset to one device. More... | |
void | marginHighAll (uint8_t *addresses, uint8_t *pages, uint8_t no_addresses) |
Margin a list of rails high. More... | |
void | marginLowAll (uint8_t *addresses, uint8_t *pages, uint8_t no_addresses) |
Margin a list of rails low. More... | |
void | marginOffAll (uint8_t *addresses, uint8_t *pages, uint8_t no_addresses) |
Margin off a list of rails low. More... | |
void | marginHigh (uint8_t address) |
Margin rail high. More... | |
void | marginLow (uint8_t address) |
Margin rails low. More... | |
void | marginOff (uint8_t address) |
Margin rails off. More... | |
void | marginHighGlobal (void) |
Margin all rails high. More... | |
void | marginLowGlobal (void) |
Margin all rails low. More... | |
void | marginOffGlobal (void) |
Margin all rails off. More... | |
void | setUserData03 (uint8_t address, uint16_t data) |
Set user data 3. More... | |
uint16_t | getUserData03 (uint8_t address) |
Get user data 3. More... | |
void | setUserData04 (uint8_t address, uint16_t data) |
Set user data 4. More... | |
uint16_t | getUserData04 (uint8_t address) |
Get user data 4. More... | |
void | setSpareData0 (uint8_t address, uint16_t data) |
Set spare data 0. More... | |
uint16_t | getSpareData0 (uint8_t address) |
Get spare data 0. More... | |
void | setRailAddress (uint8_t address, uint8_t rail_address) |
Set rail address of a Controller. More... | |
uint8_t | getRailAddress (uint8_t address) |
Get the rail address of a Controller. More... | |
void | setPageWithPolling (uint8_t address, uint8_t page) |
Set the page and poll the busy bit. More... | |
void | setPage (uint8_t address, uint8_t page) |
Set the page. More... | |
uint8_t | getPage (uint8_t address) |
Get the page. More... | |
void | enablePec (uint8_t address) |
Enable pec for all transactions. More... | |
void | disablePec (uint8_t address) |
Disable pec for all transactions. More... | |
uint8_t | waitForNotBusy (uint8_t address) |
Read MFR_COMMON until not Busy. More... | |
uint8_t | waitForNvmDone (uint8_t address) |
Read MFR_EEPROM_STATUS until done (LTC388X only) More... | |
uint8_t * | bricks (uint8_t *addresses, uint8_t no_addresses) |
Find bricked devices. More... | |
void | startGroupProtocol (void) |
starts group protocol More... | |
void | executeGroupProtocol (void) |
ends group protocol More... | |
uint16_t | readMfrSpecialId (uint8_t address) |
Get speical ID. More... | |
uint8_t * LT_PMBus::bricks | ( | uint8_t * | addresses, |
uint8_t | no_addresses | ||
) |
Find bricked devices.
addresses | Addresses to test |
Definition at line 3295 of file LT_PMBus.cpp.
void LT_PMBus::clearAllFaults | ( | uint8_t | address | ) |
Clear all the faults for all pages.
address | Slave address |
Definition at line 2576 of file LT_PMBus.cpp.
void LT_PMBus::clearFaults | ( | uint8_t | address | ) |
Clear the faults of the existing page.
address | Slave address |
Definition at line 2566 of file LT_PMBus.cpp.
void LT_PMBus::clearFaultsGlobal | ( | void | ) |
Clear all the faults for all pages of all devices.
Definition at line 2606 of file LT_PMBus.cpp.
bool LT_PMBus::compareRamWithNvm | ( | uint8_t | address | ) |
Compare RAM to NVM for device.
Definition at line 2750 of file LT_PMBus.cpp.
PsmDeviceType LT_PMBus::deviceType | ( | uint8_t | address | ) |
Get the type of PSM device.
address |
|
Definition at line 96 of file LT_PMBus.cpp.
void LT_PMBus::disablePec | ( | uint8_t | address | ) |
Disable pec for all transactions.
address | Slave address |
Definition at line 3210 of file LT_PMBus.cpp.
void LT_PMBus::disableWriteProtect | ( | uint8_t | address | ) |
Disable the write protect.
address | Slave address |
Definition at line 2548 of file LT_PMBus.cpp.
void LT_PMBus::disableWriteProtectGlobal | ( | void | ) |
void LT_PMBus::enablePec | ( | uint8_t | address | ) |
Enable pec for all transactions.
address | Slave address |
Definition at line 3173 of file LT_PMBus.cpp.
void LT_PMBus::enableWriteProtect | ( | uint8_t | address | ) |
Enable the write protect.
address | Slave address |
Definition at line 2530 of file LT_PMBus.cpp.
void LT_PMBus::enableWriteProtectGlobal | ( | void | ) |
void LT_PMBus::eraseNVM | ( | uint8_t | address | ) |
Definition at line 2743 of file LT_PMBus.cpp.
void LT_PMBus::executeGroupProtocol | ( | void | ) |
ends group protocol
Definition at line 3356 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getCmlStatusMask | ( | uint8_t | address | ) |
Get the CML status mask.
address | Slave address |
Definition at line 2286 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getInputStatusMask | ( | uint8_t | address | ) |
Get the input status mask.
address | Slave address |
Definition at line 2262 of file LT_PMBus.cpp.
float LT_PMBus::getIoutOc | ( | uint8_t | address, |
bool | polling | ||
) |
Get the over current limit.
address | Slave address |
polling | true for polling |
Definition at line 1834 of file LT_PMBus.cpp.
float LT_PMBus::getIoutOcWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the over current limit.
address | Slave address |
page | PAGE |
Definition at line 1860 of file LT_PMBus.cpp.
float LT_PMBus::getIoutOcWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the over current limit.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 1874 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getIoutStatusMask | ( | uint8_t | address | ) |
Get the output current status mask.
address | Slave address |
Definition at line 2250 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getMfrStatusMask | ( | uint8_t | address | ) |
Get the MFR status mask.
address | Slave address |
Definition at line 2298 of file LT_PMBus.cpp.
float LT_PMBus::getOtWarnLimit | ( | uint8_t | address | ) |
Get the over temperature warning limit.
address | Slave address |
Definition at line 1432 of file LT_PMBus.cpp.
float LT_PMBus::getOtWarnLimitWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the over temperature warning limit.
address | Slave address |
page | PAGE |
Definition at line 1451 of file LT_PMBus.cpp.
float LT_PMBus::getOtWarnLimitWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the over temperature warning limit.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 1463 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getPage | ( | uint8_t | address | ) |
Get the page.
address | Slave address |
Definition at line 3167 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getRailAddress | ( | uint8_t | address | ) |
Get the rail address of a Controller.
address | Slave address |
Definition at line 3131 of file LT_PMBus.cpp.
uint16_t LT_PMBus::getSpareData0 | ( | uint8_t | address | ) |
Get spare data 0.
address | Slave address |
Definition at line 3120 of file LT_PMBus.cpp.
uint16_t LT_PMBus::getTemp1Gain | ( | uint8_t | address | ) |
Get the temperature 1 gain.
address | Slave address |
Definition at line 1380 of file LT_PMBus.cpp.
float LT_PMBus::getTemp1Offset | ( | uint8_t | address | ) |
Get the temperature 1 offset.
address | Slave address |
Definition at line 1413 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getTemperatureStatusMask | ( | uint8_t | address | ) |
Get the temperature status mask.
address | Slave address |
Definition at line 2274 of file LT_PMBus.cpp.
uint16_t LT_PMBus::getUserData03 | ( | uint8_t | address | ) |
Get user data 3.
address | Slave address |
Definition at line 3099 of file LT_PMBus.cpp.
uint16_t LT_PMBus::getUserData04 | ( | uint8_t | address | ) |
Get user data 4.
address | Slave address |
Definition at line 3109 of file LT_PMBus.cpp.
float LT_PMBus::getVout | ( | uint8_t | address, |
bool | polling | ||
) |
Get the set output voltage.
address | Slave address |
polling | true for polling |
Definition at line 1634 of file LT_PMBus.cpp.
float LT_PMBus::getVoutOv | ( | uint8_t | address, |
bool | polling | ||
) |
Get the output over voltage limit.
address | Slave address |
polling | true for polling |
Definition at line 1512 of file LT_PMBus.cpp.
float LT_PMBus::getVoutOvWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the output over voltage limit.
address | Slave address |
page | PAGE |
Definition at line 1556 of file LT_PMBus.cpp.
float LT_PMBus::getVoutOvWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the output over voltage limit.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 1570 of file LT_PMBus.cpp.
uint8_t LT_PMBus::getVoutStatusMask | ( | uint8_t | address | ) |
Get the output voltage status mask.
address | Slave address |
Definition at line 2238 of file LT_PMBus.cpp.
float LT_PMBus::getVoutUv | ( | uint8_t | address, |
bool | polling | ||
) |
Get the under voltage limit.
address | Slave address |
polling | true for polling |
Definition at line 1719 of file LT_PMBus.cpp.
float LT_PMBus::getVoutUvWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the under voltage limit.
address | Slave address |
page | PAGE |
Definition at line 1763 of file LT_PMBus.cpp.
float LT_PMBus::getVoutUvWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the under voltage limit.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 1777 of file LT_PMBus.cpp.
void LT_PMBus::immediateOff | ( | uint8_t * | addresses, |
uint8_t | no_addresses | ||
) |
Turn off all devices immediately.
addresses | Slave addresses |
no_addresses | Number of slave addresses |
Definition at line 2822 of file LT_PMBus.cpp.
void LT_PMBus::immediateOffGlobal | ( | void | ) |
bool LT_PMBus::isLtc2974 | ( | uint8_t | address | ) |
Determine if the device is from the LTC2974 family, by using the product id in MFR_SPECIAL_ID.
address | Slave address |
Definition at line 158 of file LT_PMBus.cpp.
bool LT_PMBus::isLtc2977 | ( | uint8_t | address | ) |
Determine if the device is from the LTC2977 family, by using the product id in MFR_SPECIAL_ID.
address | Slave address |
Definition at line 152 of file LT_PMBus.cpp.
bool LT_PMBus::isLtc2978 | ( | uint8_t | address | ) |
Determine if the device is a LTC2978/A by looking at bit 2 (RESERVED2) in the MFR_COMMON.
This bit is high on all devices except LTC2978/A. Therfore, if the bit is low, the device is a LTC2987/A. This work around a LTC2978/A eratta whereby the MFR_SPECIAL_ID can be overwritten with incorrect data. MFR_SPECIAL_ID cannot be modified in the other devices.
address | Slave address |
Definition at line 164 of file LT_PMBus.cpp.
bool LT_PMBus::isLtc297x | ( | uint8_t | address | ) |
Determine if the device is from the LTC297X family, by using the product id in MFR_SPECIAL_ID.
address | Slave address |
Definition at line 146 of file LT_PMBus.cpp.
bool LT_PMBus::lockNVM | ( | uint8_t | address | ) |
void LT_PMBus::marginHigh | ( | uint8_t | address | ) |
void LT_PMBus::marginHighAll | ( | uint8_t * | addresses, |
uint8_t * | pages, | ||
uint8_t | no_addresses | ||
) |
Margin a list of rails high.
addresses | Slave addresses |
pages | The page used for setPage |
no_addresses | Number of slave addresses |
Definition at line 2923 of file LT_PMBus.cpp.
void LT_PMBus::marginHighGlobal | ( | void | ) |
void LT_PMBus::marginLow | ( | uint8_t | address | ) |
void LT_PMBus::marginLowAll | ( | uint8_t * | addresses, |
uint8_t * | pages, | ||
uint8_t | no_addresses | ||
) |
Margin a list of rails low.
addresses | Slave addresses |
pages | The page used for setPage |
no_addresses | Number of slave addresses |
Definition at line 2965 of file LT_PMBus.cpp.
void LT_PMBus::marginLowGlobal | ( | void | ) |
void LT_PMBus::marginOff | ( | uint8_t | address | ) |
void LT_PMBus::marginOffAll | ( | uint8_t * | addresses, |
uint8_t * | pages, | ||
uint8_t | no_addresses | ||
) |
Margin off a list of rails low.
addresses | Slave addresses |
pages | The page used for setPage |
no_addresses | Number of slave addresses |
Definition at line 3001 of file LT_PMBus.cpp.
void LT_PMBus::marginOffGlobal | ( | void | ) |
void LT_PMBus::page | ( | uint8_t * | addresses, |
uint8_t | no_addresses | ||
) |
Set the page.
addresses | Slave addresses |
no_addresses | Number of slave addresses |
Definition at line 2768 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readCmlStatusByte | ( | uint8_t | address | ) |
Get the CML status byte.
address | Slave address |
Definition at line 2342 of file LT_PMBus.cpp.
float LT_PMBus::readDutyCycle | ( | uint8_t | address, |
bool | polling | ||
) |
Get the duty cycle.
address | Slave address |
polling | true for polling |
Definition at line 2102 of file LT_PMBus.cpp.
float LT_PMBus::readExternalTemperature | ( | uint8_t | address, |
bool | polling | ||
) |
Get the measured external temperature.
address | Slave address |
polling | true for polling |
Definition at line 2052 of file LT_PMBus.cpp.
float LT_PMBus::readIin | ( | uint8_t | address, |
bool | polling | ||
) |
Get the input current.
address | Slave address |
polling | true for polling |
Definition at line 1805 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readInputStatusByte | ( | uint8_t | address | ) |
Get the input status byte.
address | Slave address |
Definition at line 2326 of file LT_PMBus.cpp.
float LT_PMBus::readInternalTemperature | ( | uint8_t | address, |
bool | polling | ||
) |
Get the measured internal temperature.
address | Slave address |
polling | true for polling |
Definition at line 2077 of file LT_PMBus.cpp.
float LT_PMBus::readIout | ( | uint8_t | address, |
bool | polling | ||
) |
Get the measured output current.
address | Slave address |
polling | true for polling |
Definition at line 1898 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readIoutStatusByte | ( | uint8_t | address | ) |
Get the output current status byte.
address | Slave address |
Definition at line 2318 of file LT_PMBus.cpp.
float LT_PMBus::readIoutWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the measured output current.
address | Slave address |
page | PAGE |
Definition at line 1924 of file LT_PMBus.cpp.
float LT_PMBus::readIoutWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the measured output current.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 1938 of file LT_PMBus.cpp.
float LT_PMBus::readItemp | ( | uint8_t | address | ) |
Get the internal measured temperature.
address | Slave address |
Definition at line 2127 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readMfrFaultLogStatusByte | ( | uint8_t | address | ) |
Get the fault log status byte.
address | Slave address |
Definition at line 2358 of file LT_PMBus.cpp.
uint16_t LT_PMBus::readMfrPads | ( | uint8_t | address | ) |
Get the state of the pads.
address | Slave address |
Definition at line 2366 of file LT_PMBus.cpp.
uint16_t LT_PMBus::readMfrSpecialId | ( | uint8_t | address | ) |
uint8_t LT_PMBus::readMfrStatusByte | ( | uint8_t | address | ) |
Get the MFR status byte.
address | Slave address |
Definition at line 2350 of file LT_PMBus.cpp.
void LT_PMBus::readModel | ( | uint8_t | address, |
uint8_t * | model | ||
) |
Get the model.
address | Slave address |
model | Place to store the model string |
Definition at line 2409 of file LT_PMBus.cpp.
float LT_PMBus::readOtemp | ( | uint8_t | address | ) |
Get the external measured temperature.
address | Slave address |
Definition at line 2175 of file LT_PMBus.cpp.
float LT_PMBus::readOtempWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the external measured temperature.
address | Slave address |
page | PAGE |
Definition at line 2150 of file LT_PMBus.cpp.
float LT_PMBus::readOtempWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the external measured temperature.
address | Slave address |
page | PAGE PLUS PAGE |
float LT_PMBus::readPin | ( | uint8_t | address, |
bool | polling | ||
) |
Get the measured input power.
address | Slave address |
polling | true for polling |
Definition at line 2027 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readPmbusRevision | ( | uint8_t | address | ) |
Get the pmbus revision.
address | Slave address |
Definition at line 2380 of file LT_PMBus.cpp.
float LT_PMBus::readPout | ( | uint8_t | address, |
bool | polling | ||
) |
Get the measured output power.
address | Slave address |
polling | true for polling |
Definition at line 1963 of file LT_PMBus.cpp.
float LT_PMBus::readPoutWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the measured output power.
address | Slave address |
page | PAGE |
Definition at line 1988 of file LT_PMBus.cpp.
float LT_PMBus::readPoutWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the measured output power.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 2001 of file LT_PMBus.cpp.
void LT_PMBus::readRevision | ( | uint8_t | address, |
uint8_t * | revision | ||
) |
Get the slave revision.
address | Slave address |
revision | Place to store the revision |
Definition at line 2393 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readStatusByte | ( | uint8_t | address | ) |
Get the status byte.
address | Slave address |
Definition at line 2423 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readStatusByteWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the status byte.
address | Slave address |
page | PAGE |
Definition at line 2438 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readStatusByteWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the status byte.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 2451 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readStatusCml | ( | uint8_t | address | ) |
Get the status CML byte.
address | Slave address |
Definition at line 2517 of file LT_PMBus.cpp.
uint16_t LT_PMBus::readStatusWord | ( | uint8_t | address | ) |
Get the status word.
address | Slave address |
Definition at line 2470 of file LT_PMBus.cpp.
uint16_t LT_PMBus::readStatusWordWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the status word.
address | Slave address |
page | PAGE |
Definition at line 2485 of file LT_PMBus.cpp.
uint16_t LT_PMBus::readStatusWordWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the status word.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 2498 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readTemperatureStatusByte | ( | uint8_t | address | ) |
Get the temperature status byte.
address | Slave address |
Definition at line 2334 of file LT_PMBus.cpp.
float LT_PMBus::readVin | ( | uint8_t | address, |
bool | polling | ||
) |
Get the input voltage.
address | Slave address |
polling | true for polling |
Definition at line 1487 of file LT_PMBus.cpp.
float LT_PMBus::readVout | ( | uint8_t | address, |
bool | polling | ||
) |
Get the measured output voltage.
address | Slave address |
polling | true for polling |
Definition at line 1598 of file LT_PMBus.cpp.
uint8_t LT_PMBus::readVoutStatusByte | ( | uint8_t | address | ) |
Get the output voltage status byte.
address | Slave address |
Definition at line 2310 of file LT_PMBus.cpp.
float LT_PMBus::readVoutWithPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the measured output voltage.
address | Slave address |
page | PAGE |
Definition at line 1678 of file LT_PMBus.cpp.
float LT_PMBus::readVoutWithPagePlus | ( | uint8_t | address, |
uint8_t | page | ||
) |
Get the measured output voltage.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 1692 of file LT_PMBus.cpp.
void LT_PMBus::reset | ( | uint8_t | address | ) |
void LT_PMBus::resetGlobal | ( | void | ) |
void LT_PMBus::restoreFromNvm | ( | uint8_t | address | ) |
Restore device from NVM.
address | Slave address |
Definition at line 2663 of file LT_PMBus.cpp.
void LT_PMBus::restoreFromNvmAll | ( | uint8_t * | addresses, |
uint8_t | no_addresses | ||
) |
Restore list of devices from NVM.
addresses | Slave addresses |
no_addresses | Number of slave addresses |
Definition at line 2673 of file LT_PMBus.cpp.
void LT_PMBus::restoreFromNvmGlobal | ( | void | ) |
void LT_PMBus::sequenceOff | ( | uint8_t * | addresses, |
uint8_t | no_addresses | ||
) |
Sequence off a list of addresses.
addresses | Slave addresses |
no_addresses | Number of slave addresses |
Definition at line 2850 of file LT_PMBus.cpp.
void LT_PMBus::sequenceOffGlobal | ( | void | ) |
void LT_PMBus::sequenceOn | ( | uint8_t * | addresses, |
uint8_t | no_addresses | ||
) |
Sequence on a list of devices.
addresses | Slave addresses |
no_addresses | Number of slave addresses |
Definition at line 2794 of file LT_PMBus.cpp.
void LT_PMBus::sequenceOnGlobal | ( | void | ) |
void LT_PMBus::setCmlStatusMask | ( | uint8_t | address, |
uint8_t | mask | ||
) |
Get the CML status mask.
address | Slave address |
mask | The status mask |
Definition at line 2222 of file LT_PMBus.cpp.
void LT_PMBus::setIinOcWarnLimit | ( | uint8_t | address, |
float | current | ||
) |
Set the input over current warning limit.
address | Slave address |
current | DCurrent |
Definition at line 1124 of file LT_PMBus.cpp.
void LT_PMBus::setInputStatusMask | ( | uint8_t | address, |
uint8_t | mask | ||
) |
Get the input status mask.
address | Slave address |
mask | The status mask |
Definition at line 2206 of file LT_PMBus.cpp.
void LT_PMBus::setIoutOcFaultLimit | ( | uint8_t | address, |
float | current | ||
) |
Set the over current fault limit.
address | Slave address |
current | Current |
Definition at line 934 of file LT_PMBus.cpp.
void LT_PMBus::setIoutOcFaultLimitWithPage | ( | uint8_t | address, |
float | current, | ||
uint8_t | page | ||
) |
Set the over current fault limit.
address | Slave address |
page | PAGE |
Definition at line 954 of file LT_PMBus.cpp.
void LT_PMBus::setIoutOcFaultLimitWithPagePlus | ( | uint8_t | address, |
float | current, | ||
uint8_t | page | ||
) |
Set the over current fault limit.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 967 of file LT_PMBus.cpp.
void LT_PMBus::setIoutOcWarnLimit | ( | uint8_t | address, |
float | current | ||
) |
Set the over current warning limit.
address | Slave address |
current | Current |
Definition at line 991 of file LT_PMBus.cpp.
void LT_PMBus::setIoutOcWarnLimitWithPage | ( | uint8_t | address, |
float | current, | ||
uint8_t | page | ||
) |
Set the over current warning limit.
address | Slave address |
current | Current |
page | PAGE |
Definition at line 1011 of file LT_PMBus.cpp.
void LT_PMBus::setIoutOcWarnLimitWithPagePlus | ( | uint8_t | address, |
float | current, | ||
uint8_t | page | ||
) |
Set the over current warning limit.
address | Slave address |
current | Current |
page | PAGE PLUS PAGE |
Definition at line 1024 of file LT_PMBus.cpp.
void LT_PMBus::setIoutStatusMask | ( | uint8_t | address, |
uint8_t | mask | ||
) |
Get the output current status mask.
address | Slave address |
mask | The status mask |
Definition at line 2198 of file LT_PMBus.cpp.
void LT_PMBus::setMfrStatusMask | ( | uint8_t | address, |
uint8_t | mask | ||
) |
Get the MFR status mask.
address | Slave address |
mask | The status mask |
Definition at line 2230 of file LT_PMBus.cpp.
void LT_PMBus::setMfrWatchdog | ( | uint8_t | address, |
float | delay | ||
) |
Set watchdog timer.
address | Slave address |
delay | Normal delay |
Definition at line 2645 of file LT_PMBus.cpp.
void LT_PMBus::setMfrWatchdogFirst | ( | uint8_t | address, |
float | delay | ||
) |
Set the first watchdog timer.
address | Slave address |
delay | First delay |
Definition at line 2626 of file LT_PMBus.cpp.
void LT_PMBus::setOtFaultLimit | ( | uint8_t | address, |
float | temperature | ||
) |
Set the over temperature fault limit.
address | Slave address |
temperature | Temperature |
Definition at line 1143 of file LT_PMBus.cpp.
void LT_PMBus::setOtFaultLimitWithPage | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the over temperature fault limit.
address | Slave address |
temperature | Temperature |
page | PAGE |
Definition at line 1181 of file LT_PMBus.cpp.
void LT_PMBus::setOtFaultLimitWithPagePlus | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the over temperature fault limit.
address | Slave address |
temperature | Temperature |
page | PAGE PLUS PAGE |
Definition at line 1193 of file LT_PMBus.cpp.
void LT_PMBus::setOtWarnLimit | ( | uint8_t | address, |
float | temperature | ||
) |
Set the over temperature warning limit.
address | Slave address |
temperature | Temperature |
Definition at line 1163 of file LT_PMBus.cpp.
void LT_PMBus::setOtWarnLimitWithPage | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the over temperature warning limit.
address | Slave address |
temperature | Temperature |
page | PAGE |
Definition at line 1239 of file LT_PMBus.cpp.
void LT_PMBus::setOtWarnLimitWithPagePlus | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the over temperature warning limit.
address | Slave address |
temperature | Temperature |
page | PAGE PLUS PAGE |
Definition at line 1251 of file LT_PMBus.cpp.
void LT_PMBus::setPage | ( | uint8_t | address, |
uint8_t | page | ||
) |
Set the page.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 3156 of file LT_PMBus.cpp.
void LT_PMBus::setPageWithPolling | ( | uint8_t | address, |
uint8_t | page | ||
) |
Set the page and poll the busy bit.
address | Slave address |
page | PAGE PLUS PAGE |
Definition at line 3144 of file LT_PMBus.cpp.
void LT_PMBus::setRailAddress | ( | uint8_t | address, |
uint8_t | rail_address | ||
) |
Set rail address of a Controller.
address | Slave address |
rail_address | Rail Address |
Definition at line 3126 of file LT_PMBus.cpp.
void LT_PMBus::setSpareData0 | ( | uint8_t | address, |
uint16_t | data | ||
) |
Set spare data 0.
address | Slave address |
data | Spare data |
Definition at line 3114 of file LT_PMBus.cpp.
void LT_PMBus::setTemp1Gain | ( | uint8_t | address, |
uint16_t | gain | ||
) |
Set the temperature 1 gain.
address | Slave address |
gain | gain |
Definition at line 1369 of file LT_PMBus.cpp.
void LT_PMBus::setTemp1Offset | ( | uint8_t | address, |
float | offset | ||
) |
Set the temperature 1 offset.
address | Slave address |
offset | Offset |
Definition at line 1394 of file LT_PMBus.cpp.
void LT_PMBus::setTemperatureStatusMask | ( | uint8_t | address, |
uint8_t | mask | ||
) |
Get the temperature status mask.
address | Slave address |
mask | The status mask |
Definition at line 2214 of file LT_PMBus.cpp.
void LT_PMBus::setToffDelay | ( | uint8_t | address, |
float | delay | ||
) |
Set the delay before the rail turns off.
address | Slave address |
delay | Max time |
Definition at line 517 of file LT_PMBus.cpp.
void LT_PMBus::setToffFall | ( | uint8_t | address, |
float | fall | ||
) |
Set the turn off fall time.
address | Slave address |
fall | Fall time |
Definition at line 536 of file LT_PMBus.cpp.
void LT_PMBus::setToffMaxWarnLimit | ( | uint8_t | address, |
float | max | ||
) |
Set the maximum time allow to turn off.
address | Slave address |
max | Max time |
Definition at line 555 of file LT_PMBus.cpp.
void LT_PMBus::setTonDelay | ( | uint8_t | address, |
float | delay | ||
) |
Set delay before rail turns on.
address | Slave address |
delay | Delay time |
Definition at line 460 of file LT_PMBus.cpp.
void LT_PMBus::setTonMaxFaultLimit | ( | uint8_t | address, |
float | max | ||
) |
Set the maximum time allow for turn on.
address | Slave address |
max | Max time |
Definition at line 498 of file LT_PMBus.cpp.
void LT_PMBus::setTonRise | ( | uint8_t | address, |
float | rise | ||
) |
Set the turn on rise time.
address | Slave address |
rise | Rise time |
Definition at line 479 of file LT_PMBus.cpp.
void LT_PMBus::setUserData03 | ( | uint8_t | address, |
uint16_t | data | ||
) |
Set user data 3.
address | Slave address |
data | User data |
Definition at line 3094 of file LT_PMBus.cpp.
void LT_PMBus::setUserData04 | ( | uint8_t | address, |
uint16_t | data | ||
) |
Set user data 4.
address | Slave address |
data | User data |
Definition at line 3104 of file LT_PMBus.cpp.
void LT_PMBus::setUtFaultLimit | ( | uint8_t | address, |
float | temperature | ||
) |
Set the under temperature fault limit.
address | Slave address |
temperature | Temperature |
Definition at line 1220 of file LT_PMBus.cpp.
void LT_PMBus::setUtFaultLimitWithPage | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the under temperature fault limit.
address | Slave address |
temperature | Temperature |
page | PAGE |
Definition at line 1295 of file LT_PMBus.cpp.
void LT_PMBus::setUtFaultLimitWithPagePlus | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the under temperature fault limit.
address | Slave address |
temperature | Temperature |
page | PAGE PLUS PAGE |
Definition at line 1307 of file LT_PMBus.cpp.
void LT_PMBus::setUtWarnLimit | ( | uint8_t | address, |
float | temperature | ||
) |
Set the under temperature warning limit.
address | Slave address |
temperature | Temperature |
Definition at line 1276 of file LT_PMBus.cpp.
void LT_PMBus::setUtWarnLimitWithPage | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the under temperature warning limit.
address | Slave address |
temperature | Temperature |
page | PAGE |
Definition at line 1332 of file LT_PMBus.cpp.
void LT_PMBus::setUtWarnLimitWithPagePlus | ( | uint8_t | address, |
float | temperature, | ||
uint8_t | page | ||
) |
Set the under temperature warning limit.
address | Slave address |
temperature | Temperature |
page | PAGE PLUS PAGE |
Definition at line 1344 of file LT_PMBus.cpp.
void LT_PMBus::setVinOvFaultLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the input over voltage fault limit.
address | Slave address |
voltage | Voltage |
Definition at line 1048 of file LT_PMBus.cpp.
void LT_PMBus::setVinOvWarningLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the input over voltage warning limit.
address | Slave address |
voltage | Voltage |
Definition at line 1067 of file LT_PMBus.cpp.
void LT_PMBus::setVinOvWarnLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the input over voltage warnign limit.
address | Slave address |
voltage | Voltage |
void LT_PMBus::setVinUvFaultLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the input under voltage fault limit.
address | Slave address |
voltage | Voltage |
Definition at line 1086 of file LT_PMBus.cpp.
void LT_PMBus::setVinUvWarnLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the input under voltage warning limit.
address | Slave address |
voltage | Voltage |
Definition at line 1105 of file LT_PMBus.cpp.
void LT_PMBus::setVout | ( | uint8_t | address, |
float | voltage | ||
) |
Set output voltage.
address | Slave address |
Definition at line 239 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMarginHigh | ( | uint8_t | address, |
float | voltage | ||
) |
Set the margin high.
address | Slave address |
voltage | Voltage |
Definition at line 694 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMarginHighWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the margin high.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 715 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMarginHighWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the margin high.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 728 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMarginLow | ( | uint8_t | address, |
float | voltage | ||
) |
Set the margin low.
address | Slave address |
voltage | Voltage |
Definition at line 754 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMarginLowWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the margin low.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 775 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMarginLowWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the margin low.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 788 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMax | ( | uint8_t | address, |
float | voltage | ||
) |
Set the maximum output voltage.
address | Slave address |
voltage | Voltage |
Definition at line 398 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMaxWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the maximum output voltage.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 420 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMaxWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the maximum output voltage.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 433 of file LT_PMBus.cpp.
void LT_PMBus::setVoutMin | ( | uint8_t | address, |
float | voltage | ||
) |
Set the minimum output voltage.
address | Slave address |
voltage | Voltage |
void LT_PMBus::setVoutMinWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the minimum output voltage.
address | Slave address |
voltage | Voltage |
page | PAGE |
void LT_PMBus::setVoutMinWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the minimum output voltage.
address | Slave address |
voltage | Voltage |
void LT_PMBus::setVoutOvFaultLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the over voltage supervisor fault limit.
address | Slave address |
voltage | Voltage |
Definition at line 574 of file LT_PMBus.cpp.
void LT_PMBus::setVoutOvFaultLimitWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the over voltage supervisor fault limit.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 595 of file LT_PMBus.cpp.
void LT_PMBus::setVoutOvFaultLimitWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the over voltage supervisor fault limit.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 608 of file LT_PMBus.cpp.
void LT_PMBus::setVoutOvWarnLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the over voltage supervisor warning limit.
address | Slave address |
voltage | Voltage |
Definition at line 634 of file LT_PMBus.cpp.
void LT_PMBus::setVoutOvWarnLimitWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the over voltage supervisor warning limit.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 655 of file LT_PMBus.cpp.
void LT_PMBus::setVoutOvWarnLimitWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the over voltage supervisor warning limit.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 668 of file LT_PMBus.cpp.
void LT_PMBus::setVoutStatusMask | ( | uint8_t | address, |
uint8_t | mask | ||
) |
Get the output voltage status mask.
address | Slave address |
mask | The status mask |
Definition at line 2190 of file LT_PMBus.cpp.
void LT_PMBus::setVoutUvFaultLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the under voltage fault limit.
address | Slave address |
voltage | Voltage |
Definition at line 874 of file LT_PMBus.cpp.
void LT_PMBus::setVoutUvFaultLimitWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the under voltage fault limit.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 895 of file LT_PMBus.cpp.
void LT_PMBus::setVoutUvFaultLimitWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the under voltage fault limit.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 908 of file LT_PMBus.cpp.
void LT_PMBus::setVoutUvWarnLimit | ( | uint8_t | address, |
float | voltage | ||
) |
Set the under voltage supervisor warning limit.
address | Slave address |
voltage | Voltage |
Definition at line 814 of file LT_PMBus.cpp.
void LT_PMBus::setVoutUvWarnLimitWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the under voltage supervisor warning limit.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 835 of file LT_PMBus.cpp.
void LT_PMBus::setVoutUvWarnLimitWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set the under voltage supervisor warning limit.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 848 of file LT_PMBus.cpp.
void LT_PMBus::setVoutWithPage | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set output voltage.
address | Slave address |
voltage | Voltage |
page | PAGE |
Definition at line 260 of file LT_PMBus.cpp.
void LT_PMBus::setVoutWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
uint8_t | page | ||
) |
Set output voltage.
address | Slave address |
voltage | Voltage |
page | PAGE PLUS PAGE |
Definition at line 273 of file LT_PMBus.cpp.
void LT_PMBus::setVoutWithSupervision | ( | uint8_t | address, |
float | voltage, | ||
float | margin_percent, | ||
float | warn_percent, | ||
float | fault_percent | ||
) |
Set output voltage and supervisors.
address | Slave address |
voltage | Voltage |
margin_percent | Amount to margin |
warn_percent | Amount of warning limit |
fault_percent | Amount of fault limit |
Definition at line 304 of file LT_PMBus.cpp.
void LT_PMBus::setVoutWithSupervisionWithPage | ( | uint8_t | address, |
float | voltage, | ||
float | margin_percent, | ||
float | warn_percent, | ||
float | fault_percent, | ||
uint8_t | page | ||
) |
Set output voltage and supervisors.
address | Slave address |
voltage | Voltage |
margin_percent | Amount to margin |
warn_percent | Amount of warning limit |
fault_percent | Amount of fault limit |
page | PAGE |
Definition at line 344 of file LT_PMBus.cpp.
void LT_PMBus::setVoutWithSupervisionWithPagePlus | ( | uint8_t | address, |
float | voltage, | ||
float | margin_percent, | ||
float | warn_percent, | ||
float | fault_percent, | ||
uint8_t | page | ||
) |
Set output voltage and supervisors.
address | Slave address |
voltage | Voltage |
margin_percent | Amount to margin |
warn_percent | Amount of warning limit |
fault_percent | Amount of fault limit |
page | PAGE PLUS PAGE |
Definition at line 363 of file LT_PMBus.cpp.
LT_SMBus* LT_PMBus::smbus | ( | ) |
Definition at line 401 of file LT_PMBus.h.
void LT_PMBus::smbus | ( | LT_SMBus * | smbus | ) |
Definition at line 406 of file LT_PMBus.h.
void LT_PMBus::startGroupProtocol | ( | void | ) |
starts group protocol
Definition at line 3350 of file LT_PMBus.cpp.
void LT_PMBus::storeToNvm | ( | uint8_t | address | ) |
Store RAM to NVM.
address | Slave address |
Definition at line 2688 of file LT_PMBus.cpp.
void LT_PMBus::storeToNvmAll | ( | uint8_t * | addresses, |
uint8_t | no_addresses | ||
) |
Store RAM to NVM for list of devices.
addresses | Slave addresses |
no_addresses | Number of slave addresses |
Definition at line 2693 of file LT_PMBus.cpp.
void LT_PMBus::storeToNvmGlobal | ( | void | ) |
bool LT_PMBus::unlockNVM | ( | uint8_t | address | ) |
uint8_t LT_PMBus::waitForNotBusy | ( | uint8_t | address | ) |
Read MFR_COMMON until not Busy.
address | Slave Address |
Definition at line 3254 of file LT_PMBus.cpp.
uint8_t LT_PMBus::waitForNvmDone | ( | uint8_t | address | ) |
Read MFR_EEPROM_STATUS until done (LTC388X only)
address | Slave Address |
Definition at line 3278 of file LT_PMBus.cpp.
LT_PMBus::LT_PMBus | ( | LT_SMBus * | smbus | ) |
Construct a LT_PMBus.
smbus | SMBus for communication. Use the PEC or non-PEC version. |
Definition at line 86 of file LT_PMBus.cpp.
LT_PMBus::~LT_PMBus | ( | ) |
Definition at line 91 of file LT_PMBus.cpp.