Package com.ctre.phoenix
Class CANifierFaults
java.lang.Object
com.ctre.phoenix.CANifierFaults
public class CANifierFaults extends Object
Faults available to CANifier (Currently has none)
-
Constructor Summary
Constructors Constructor Description CANifierFaults()
-
Method Summary
Modifier and Type Method Description boolean
hasAnyFault()
int
toBitfield()
void
update(int bits)
Updates current fault list with specified bit field of faults
-
Constructor Details
-
CANifierFaults
public CANifierFaults()
-
-
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
-