51 #ifndef LT_CommandPlusFaultLog_H_ 52 #define LT_CommandPlusFaultLog_H_ 77 for (uint16_t
i = 0;
i < offset;
i++)
84 for (uint16_t
i = 0;
i < numWords;
i++)
91 data[
pos] = 0xFF & (w >> 8);
void getNvmBlock(uint8_t address, uint16_t offset, uint16_t numWords, uint8_t command, uint8_t *data)
virtual void writeWord(uint8_t address, uint8_t command, uint16_t data)=0
SMBus write word command.
union LT_union_int32_4bytes data
LTC PMBus Support: Implementation for a LTC Fault Log.
virtual uint8_t readByte(uint8_t address, uint8_t command)=0
SMBus read byte command.
virtual uint16_t readWord(uint8_t address, uint8_t command)=0
SMBus read word command.
LT_CommandPlusFaultLog(LT_PMBus *pmbus)