Index: firmware/App/Services/FpgaRO.h =================================================================== diff -u -rc7dcb245c2378b1c96eeaa02f120f61dff598b11 -r0d2351b8e47e40fdcd706ed7b7ac1379b69a20ef --- firmware/App/Services/FpgaRO.h (.../FpgaRO.h) (revision c7dcb245c2378b1c96eeaa02f120f61dff598b11) +++ firmware/App/Services/FpgaRO.h (.../FpgaRO.h) (revision 0d2351b8e47e40fdcd706ed7b7ac1379b69a20ef) @@ -5,7 +5,7 @@ * 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 FPGA.h +* @file FpgaRO.h * * @author (last) Sean Nash * @date (last) 09-Nov-2024 @@ -19,18 +19,21 @@ #define __FPGA_RO_H__ #include "ROCommon.h" +#include "FPGA.h" /** * @defgroup FpgaRO FpgaRO * @brief FPGA service unit for RO firmware. * The FPGA unit contains get/set functions for the RO FPGA registers. * - * @addtogroup FpgaTD + * @addtogroup FpgaRO * @{ */ // ********** public definitions ********** +#define MAX_RO_PUMP_PWM 100U ///< Maximum RO pump PWM duty cycle percentage. + // ********** public function prototypes ********** void initFPGARO( void ); @@ -41,6 +44,10 @@ void setFPGAValveStates( U16 valveStates ); U08 getFPGAValveStates( void ); +void setROPumpPWMPct( U16 pwm ); +U16 getROPumpPWMPct( void ); +U16 getROPumpTachCount( void ); + /**@}*/ #endif