CTRE_Phoenix 5.20.2
com.ctre.phoenix.CANifierFaults Class Reference

Public Member Functions

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

Detailed Description

Faults available to CANifier (Currently has none)

Member Function Documentation

◆ hasAnyFault()

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

◆ toBitfield()

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

◆ update()

void com.ctre.phoenix.CANifierFaults.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: