CANifierFaults
- class phoenix5.CANifierFaults(*args, **kwargs)
Bases:
pybind11_object
Faults available to CANifier (Currently has none)
Overloaded function.
__init__(self: phoenix5._ctre.CANifierFaults, 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.CANifierFaults) -> None
- hasAnyFault() bool
- Returns:
true if any faults are tripped
- toBitfield() int
- Returns:
Current fault list as a bit field