Open FFBoard
Open source force feedback firmware
Loading...
Searching...
No Matches
ErrorHandler.h File Reference

Go to the source code of this file.

Classes

class  Error
 
class  ErrorHandler
 
class  ErrorPrinter
 

Enumerations

enum class  ErrorCode : uint32_t {
  none = 0 , shutdown = 1 , emergencyStop = 2 , brakeResistorFailure = 3 ,
  systemError = 5 , cmdNotFound = 5 , cmdExecutionError = 6 , undervoltage = 10 ,
  overvoltage = 11 , tmcCommunicationError = 12 , tmcPLLunlocked = 13 , overtemp = 15 ,
  encoderAlignmentFailed = 20 , adcCalibrationError = 21 , tmcCalibFail = 22 , encoderIndexMissed = 23 ,
  encoderReversed = 24 , axisOutOfRange = 31 , externalConfigurationError = 32
}
 
enum class  ErrorType : uint8_t { none , warning , critical , temporary }
 

Enumeration Type Documentation

◆ ErrorCode

enum class ErrorCode : uint32_t
strong
Enumerator
none 
shutdown 
emergencyStop 
brakeResistorFailure 
systemError 
cmdNotFound 
cmdExecutionError 
undervoltage 
overvoltage 
tmcCommunicationError 
tmcPLLunlocked 
overtemp 
encoderAlignmentFailed 
adcCalibrationError 
tmcCalibFail 
encoderIndexMissed 
encoderReversed 
axisOutOfRange 
externalConfigurationError 

Definition at line 24 of file ErrorHandler.h.

◆ ErrorType

enum class ErrorType : uint8_t
strong
Enumerator
none 
warning 
critical 
temporary 

Definition at line 56 of file ErrorHandler.h.