third_party/phoenixsuite/cpp/src/CANifier.cpp
//------ Faults ----------//
/**
 * Gets the CANifier fault status
 *
 * @param toFill
 *            Container for fault statuses.
 * @return Error Code generated by function. 0 indicates no error.
 */
Faults
Gets the CANifier fault status

@param toFill
Container for fault statuses.
@return Error Code generated by function. 0 indicates no error.
Faults Gets the CANifier fault status @param toFill Container for fault statuses . @return Error Code generated by function . 0 indicates no error .
ErrorCode CANifier::GetFaults(CANifierFaults & toFill) {
	int faultBits;
	ErrorCode retval = c_CANifier_GetFaults(m_handle, &faultBits);
	toFill = CANifierFaults(faultBits);
	return retval;
}
ErrorCode CANifier :: GetFaults ( CANifierFaults & toFill ) { int faultBits ; ErrorCode retval = c_CANifier_GetFaults ( m_handle , & faultBits ) ; toFill = CANifierFaults ( faultBits ) ; return retval ; }
Faults
 Gets the CANifier fault status
Faults Gets the CANifier fault status