CTRE Phoenix C++ 5.33.1
ctre::phoenix::CANifierStickyFaults Struct Reference

Sticky Faults for CANifier (Currently has none) More...

#include <ctre/phoenix/CANifierStickyFaults.h>

Public Member Functions

bool HasAnyFault () const
 
int ToBitfield () const
 
 CANifierStickyFaults (int bits)
 Updates current fault list with specified bit field of faults. More...
 
 CANifierStickyFaults ()
 

Detailed Description

Sticky Faults for CANifier (Currently has none)

Constructor & Destructor Documentation

◆ CANifierStickyFaults() [1/2]

ctre::phoenix::CANifierStickyFaults::CANifierStickyFaults ( int  bits)
inline

Updates current fault list with specified bit field of faults.

Parameters
bitsbit field of faults to update with

◆ CANifierStickyFaults() [2/2]

ctre::phoenix::CANifierStickyFaults::CANifierStickyFaults ( )
inline

Member Function Documentation

◆ HasAnyFault()

bool ctre::phoenix::CANifierStickyFaults::HasAnyFault ( ) const
inline
Returns
true if any faults are tripped

◆ ToBitfield()

int ctre::phoenix::CANifierStickyFaults::ToBitfield ( ) const
inline
Returns
Current fault list as a bit field

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