/************************************************************************** * * Copyright (c) 2026-2026 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 PinchValve.h * * @author (last) Varshini Nagabooshanam * @date (last) 08-Jul-2026 * * @author (original) Varshini Nagabooshanam * @date (original) 08-Jul-2026 * ***************************************************************************/ #ifndef __PINCHVALVE_H__ #define __PINCHVALVE_H__ #include "TDCommon.h" #include "RotaryValve.h" /** * @defgroup PinchValve PinchValve * @brief pinch valve communication driver. * This driver sends one generic command at a time through the FPGA * interface. High level functions such as homing and movement to positions * A, B, and C belong in the controller layer. * * @addtogroup PinchValve * @{ */ // ********** public function prototypes ********** void initPinchValveDriver( void ); void execPinchValveFunction( void ); void execPinchValveCommand( void ); BOOL homePinchValve( VALVE_T valve ); BOOL setPinchValvePosition( VALVE_T valve, S32 position ); S32 getPinchValvePosition( VALVE_T valve ); void setPinchValveEnableReset( VALVE_T valve, BOOL enable, BOOL reset ); U08 getPinchValveEnableReset( VALVE_T valve ); BOOL isPinchValveBusy( void ); /**@}*/ #endif