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

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