/************************************************************************** * * Copyright (c) 2024-2024 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 PeristalticPump.h * * @author (last) Sean * @date (last) 03-Oct-2024 * * @author (original) Sean * @date (original) 03-Oct-2024 * ***************************************************************************/ #ifndef __PERISTALTIC_PUMP_H__ #define __PERISTALTIC_PUMP_H__ // ********** public definitions ********** #include "TDCommon.h" /** * @defgroup PeristalticPump PeristalticPump * @brief Peristaltic pump driver unit. Provides low level functions * to control a peristaltic pump. * * @addtogroup PeristalticPump * @{ */ // ********** public definitions ********** // ********** public function prototypes ********** void initPeristalticPumpDriver( void ); void readPeristalticPumps( void ); BOOL setPeristalticPumpSetSpeed( S32 rpm ); S32 getPeristalticPumpSetSpeed( void ); F32 getPeristalticPumpMeasSpeed( void ); void cmdPeristalticPumpHome( void ); BOOL testSetPeristalticPumpSetSpeed( MESSAGE_T *message ); /**@}*/ #endif