Index: firmware/App/Services/FpgaTD.c =================================================================== diff -u -r395522dffef1348e176564925656012f529c1910 -r04c811aa50770c85837d89b7e661b66f33decfb9 --- firmware/App/Services/FpgaTD.c (.../FpgaTD.c) (revision 395522dffef1348e176564925656012f529c1910) +++ firmware/App/Services/FpgaTD.c (.../FpgaTD.c) (revision 04c811aa50770c85837d89b7e661b66f33decfb9) @@ -604,6 +604,19 @@ /*********************************************************************//** * @brief + * The rotorRevsCounter function gets the latest blood pump + * rotor revolutions count. + * @details \b Inputs: fpgaSensorReadings.rotorRevsCounter + * @details \b Outputs: none + * @return Latest blood pump revolutions count reading. + *************************************************************************/ +U16 getH4RotorRevsCounter( void ) +{ + return fpgaSensorReadings.rotorRevsCounter; +} + +/*********************************************************************//** + * @brief * The setH5ControlFlags function sets the control flags for the H5 ejector * stepper motor. * @note Bit 0 - MS1 (bit 1 of microstepping configuration setting)