CTRE_Phoenix  5.19.4
com.ctre.phoenix.CANifierStickyFaults Class Reference

Public Member Functions

boolean hasAnyFault ()
 
int toBitfield ()
 
void update (int bits)
 

Detailed Description

Sticky Faults for CANifier (Currently has none)

Member Function Documentation

◆ hasAnyFault()

boolean com.ctre.phoenix.CANifierStickyFaults.hasAnyFault ( )
inline
Returns
true if any faults are tripped

◆ toBitfield()

int com.ctre.phoenix.CANifierStickyFaults.toBitfield ( )
inline
Returns
Current fault list as a bit field

◆ update()

void com.ctre.phoenix.CANifierStickyFaults.update ( int  bits)
inline

Updates current fault list with specified bit field of faults

Parameters
bitsbit field of faults to update with

The documentation for this class was generated from the following file: