![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
class that handles LTC2978 fault logs. More...
class that handles LTC2978 fault logs.
contains structs for interpreting the data read from the part.
Definition at line 61 of file LT_2978FaultLog.h.
Data Structures | |
struct | FaultLogLtc2978 |
struct | FaultLogPeaksLtc2978 |
struct | FaultLogPreambleLtc2978 |
struct | FaultLogReadLoopLtc2978 |
struct | Peak16Words |
struct | Peak5_11Words |
struct | TempData |
struct | VinData |
struct | VinStatus |
struct | VoutData |
Public Member Functions | |
LT_2978FaultLog (LT_PMBus *pmbus) | |
Constructor. More... | |
void | print (Print *printer=0) |
Pretty prints this part's fault log to a Print inheriting object, or Serial if none specified. More... | |
uint8_t * | getBinary () |
Get binary of the fault log or NULL if no log. More... | |
uint16_t | getBinarySize () |
Get size of binary data. More... | |
void | dumpBinary (Print *printer=0) |
Dumps binary of the fault log to a Print inheriting object, or Serial if none specified. More... | |
void | read (uint8_t address) |
Reads the fault log from the specified address, reserves memory to hold the data. More... | |
struct FaultLogLtc2978 * | get () |
void | release () |
Frees the memory reserved for the fault log. More... | |
![]() | |
LT_EEDataFaultLog (LT_PMBus *pmbus) | |
void | getNvmBlock (uint8_t address, uint16_t offset, uint16_t numWords, uint8_t command, uint8_t *data) |
![]() | |
LT_FaultLog (LT_PMBus *pmbus) | |
virtual | ~LT_FaultLog () |
bool | hasFaultLog (uint8_t address) |
void | enableFaultLog (uint8_t address) |
void | disableFaultLog (uint8_t address) |
void | clearFaultLog (uint8_t address) |
void | dumpBin (Print *printer, uint8_t *log, uint8_t size) |
uint64_t | getSharedTime200us (FaultLogTimeStamp time_stamp) |
float | getTimeInMs (FaultLogTimeStamp time_stamp) |
uint8_t | getRawByteVal (RawByte value) |
uint16_t | getRawWordVal (RawWord value) |
uint16_t | getRawWordReverseVal (RawWordReverse value) |
uint16_t | getLin5_11WordVal (Lin5_11Word value) |
uint16_t | getLin5_11WordReverseVal (Lin5_11WordReverse value) |
uint16_t | getLin16WordVal (Lin16Word value) |
uint16_t | getLin16WordReverseVal (Lin16WordReverse value) |
Protected Attributes | |
FaultLogLtc2978 * | faultLog2978 |
![]() | |
LT_PMBus * | pmbus_ |
Additional Inherited Members | |
![]() | |
uint8_t | readMfrStatusByte (uint8_t address) |
uint8_t | readMfrFaultLogStatusByte (uint8_t address) |
|
virtual |
Dumps binary of the fault log to a Print inheriting object, or Serial if none specified.
printer | Print class inheriting object to print the binary to. |
Implements LT_FaultLog.
Definition at line 127 of file LT_2978FaultLog.cpp.
struct FaultLogLtc2978* LT_2978FaultLog::get | ( | ) |
Definition at line 196 of file LT_2978FaultLog.h.
|
virtual |
Get binary of the fault log or NULL if no log.
Implements LT_FaultLog.
Definition at line 117 of file LT_2978FaultLog.cpp.
|
virtual |
Get size of binary data.
Implements LT_FaultLog.
Definition at line 122 of file LT_2978FaultLog.cpp.
|
virtual |
Pretty prints this part's fault log to a Print inheriting object, or Serial if none specified.
printer | Print class inheriting object to print the fault log to. |
Implements LT_FaultLog.
Definition at line 132 of file LT_2978FaultLog.cpp.
|
virtual |
Reads the fault log from the specified address, reserves memory to hold the data.
address | the address to read the fault log from. |
Implements LT_FaultLog.
Definition at line 81 of file LT_2978FaultLog.cpp.
|
virtual |
Frees the memory reserved for the fault log.
Implements LT_FaultLog.
Definition at line 111 of file LT_2978FaultLog.cpp.
LT_2978FaultLog::LT_2978FaultLog | ( | LT_PMBus * | pmbus | ) |
Constructor.
pmbus | pmbus object reference for this fault log handler to use. |
Definition at line 60 of file LT_2978FaultLog.cpp.
|
protected |
Definition at line 169 of file LT_2978FaultLog.h.