Index: firmware/App/Controllers/DialInFlow.h =================================================================== diff -u -r8bd1ae47aa13a843aa8abd6321ddc050deacb4a6 -r29b65975bb4d6a5720ef39119a9af49fafc902fa --- firmware/App/Controllers/DialInFlow.h (.../DialInFlow.h) (revision 8bd1ae47aa13a843aa8abd6321ddc050deacb4a6) +++ firmware/App/Controllers/DialInFlow.h (.../DialInFlow.h) (revision 29b65975bb4d6a5720ef39119a9af49fafc902fa) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2022 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file DialInFlow.h * -* @author (last) Sean Nash -* @date (last) 13-Aug-2021 +* @author (last) Dara Navaei +* @date (last) 18-Oct-2022 * * @author (original) Sean * @date (original) 16-Dec-2019 @@ -59,6 +59,7 @@ void signalDialInPumpRotorHallSensor( void ); BOOL homeDialInPump( void ); BOOL isDialInPumpRunning( void ); +BOOL isDialInPumpRampComplete( void ); SELF_TEST_STATUS_T execDialInFlowTest( void ); @@ -69,6 +70,7 @@ F32 getMeasuredDialInPumpMCSpeed( void ); F32 getMeasuredDialInPumpMCCurrent( void ); F32 getDialInPumpPWMDutyCyclePct( BOOL init ); +U32 getPumpRotorErrorPersistTime( F32 mtr_speed, F32 gear_ratio ); BOOL testSetDialInFlowDataPublishIntervalOverride( U32 value ); BOOL testResetDialInFlowDataPublishIntervalOverride( void ); @@ -82,7 +84,8 @@ BOOL testSetMeasuredDialInPumpMCSpeedOverride( F32 value ); BOOL testResetMeasuredDialInPumpMCSpeedOverride( void ); BOOL testSetMeasuredDialInPumpMCCurrentOverride( F32 value ); -BOOL testResetMeasuredDialInPumpMCCurrentOverride( void ); +BOOL testResetMeasuredDialInPumpMCCurrentOverride( void ); +BOOL testSetDialInPumpTargetDutyCycle( F32 value ); /**@}*/