CANifierStickyFaults
- class phoenix5.CANifierStickyFaults(*args, **kwargs)
Bases:
pybind11_object
Sticky Faults for CANifier (Currently has none)
Overloaded function.
__init__(self: phoenix5._ctre.CANifierStickyFaults, bits: int) -> None
Updates current fault list with specified bit field of faults
- Parameters:
bits – bit field of faults to update with
__init__(self: phoenix5._ctre.CANifierStickyFaults) -> None
- hasAnyFault() bool
- Returns:
true if any faults are tripped
- toBitfield() int
- Returns:
Current fault list as a bit field