Package com.ctre.phoenix
Class CANifierStickyFaults
java.lang.Object
com.ctre.phoenix.CANifierStickyFaults
Sticky Faults for CANifier (Currently has none)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
void
update
(int bits) Updates current fault list with specified bit field of faults
-
Constructor Details
-
CANifierStickyFaults
public CANifierStickyFaults()
-
-
Method Details
-
hasAnyFault
- Returns:
- true if any faults are tripped
-
toBitfield
- Returns:
- Current fault list as a bit field
-
update
Updates current fault list with specified bit field of faults- Parameters:
bits
- bit field of faults to update with
-