Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r37a8a58b766a496b39241dd7ae46dc10dbda35e4 -r2d5157c59ced0866aaa32d9722d6f1ba28b0b18d --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 37a8a58b766a496b39241dd7ae46dc10dbda35e4) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 2d5157c59ced0866aaa32d9722d6f1ba28b0b18d) @@ -8,7 +8,7 @@ * @file FPGA.c * * @author (last) Sean Nash -* @date (last) 09-Sep-2020 +* @date (last) 26-Jun-2020 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -203,6 +203,7 @@ U08 AlarmControl; ///< Reg 34. Alarm (audio) control register. } FPGA_ACTUATORS_T; +// TODO clean up the struct /// Record structure for FPGA async (as needed) reads. typedef struct // TODO - add all sensor readings to this structure per FPGA register map { @@ -1356,7 +1357,7 @@ /*********************************************************************//** * @brief - * The setValveDialyzerInletPosition function sets the position of VDi \n + * The setValveDialyzerInletPosition function sets the position of VDi * in counts * @details Inputs: fpgaActuatorSetPoints * @details Outputs: fpgaActuatorSetPoints @@ -1370,7 +1371,7 @@ /*********************************************************************//** * @brief - * The getValveDialyzerInletPosition function reads the current position \n + * The getValveDialyzerInletPosition function reads the current position * of VDi in counts * @details Inputs: none * @details Outputs: fpgaSensorReadings @@ -1424,7 +1425,7 @@ /*********************************************************************//** * @brief - * The setValveDialyzerOutletPosition function sets the position of VDo \n + * The setFPGAValveDialyzerOutletPosition function sets the position of VDo * in counts * @details Inputs: fpgaActuatorSetPoints * @details Outputs: fpgaActuatorSetPoints @@ -1438,7 +1439,7 @@ /*********************************************************************//** * @brief - * The getDialyzerOutletValvePosition function reads the current position \n + * The getFPGAValveDialyzerOutletPosition function reads the current position * of VDo in counts * @details Inputs: none * @details Outputs: fpgaSensorReadings @@ -1451,7 +1452,7 @@ /*********************************************************************//** * @brief - * The getFPGAValveDialyzerOutletCurrentCounts function reads the current \n + * The getFPGAValveDialyzerOutletCurrentCounts function reads the current * of VDo in counts * @details Inputs: none * @details Outputs: fpgaSensorReadings @@ -1492,7 +1493,7 @@ /*********************************************************************//** * @brief - * The setValveBloodVenousPosition function sets the position of VBV \n + * The setValveBloodVenousPosition function sets the position of VBV * in counts * @details Inputs: fpgaActuatorSetPoints * @details Outputs: fpgaActuatorSetPoints @@ -1506,7 +1507,7 @@ /*********************************************************************//** * @brief - * The getValveBloodVenousPosition function reads the current position \n + * The getValveBloodVenousPosition function reads the current position * of VBV in counts * @details Inputs: none * @details Outputs: fpgaSensorReadings @@ -1519,7 +1520,7 @@ /*********************************************************************//** * @brief - * The getFPGAValveBloodVenousCurrentCounts function reads the current \n + * The getFPGAValveBloodVenousCurrentCounts function reads the current * of VBV in counts * @details Inputs: none * @details Outputs: fpgaSensorReadings @@ -1559,7 +1560,7 @@ /*********************************************************************//** * @brief - * The setValveBloodArterialPosition function sets the position of VBA \n + * The setValveBloodArterialPosition function sets the position of VBA * in counts * @details Inputs: fpgaActuatorSetPoints * @details Outputs: fpgaActuatorSetPoints @@ -1573,7 +1574,7 @@ /*********************************************************************//** * @brief - * The getValveBloodArterialPosition function reads the current position \n + * The getValveBloodArterialPosition function reads the current position * of VBA in counts * @details Inputs: none * @details Outputs: fpgaSensorReadings @@ -1586,7 +1587,7 @@ /*********************************************************************//** * @brief - * The getFPGAValveBloodArterialCurrentCounts function reads the current \n + * The getFPGAValveBloodArterialCurrentCounts function reads the current * of VBA in counts * @details Inputs: none * @details Outputs: fpgaSensorReadings @@ -1622,7 +1623,7 @@ U16 getFPGAValveBloodArterialPWM( void ) { return fpgaSensorReadings.VBAPWMTarget; -} +} #endif /**@}*/