Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r9302e1bd2413cbf99e80ac51aac38502d94801d9 -r4459be59bdc2896b44bcf6cd42d2762190e23c16 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 9302e1bd2413cbf99e80ac51aac38502d94801d9) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 4459be59bdc2896b44bcf6cd42d2762190e23c16) @@ -377,7 +377,7 @@ /*********************************************************************//** * @brief - * The resetFPGACommFlags function resets the various fpga comm flags and \n + * The resetFPGACommFlags function resets the various fpga comm flags and * counters. * @details * Inputs : none @@ -397,7 +397,7 @@ /*********************************************************************//** * @brief - * The signalFPGAReceiptCompleted function increments a counter to indicate \n + * The signalFPGAReceiptCompleted function increments a counter to indicate * that another DMA receipt from the FPGA has completed. * @details * Inputs : none @@ -432,7 +432,7 @@ /*********************************************************************//** * @brief - * The signalFPGATransmitCompleted function increments a counter to indicate \n + * The signalFPGATransmitCompleted function increments a counter to indicate * that another DMA transmit to the FPGA has completed. * @details * Inputs : none @@ -551,7 +551,7 @@ /*********************************************************************//** * @brief - * The handleFPGAReadHeaderState function handles the FPGA state where \n + * The handleFPGAReadHeaderState function handles the FPGA state where * the read header registers command is sent to the FPGA. * @details * Inputs : none @@ -583,7 +583,7 @@ /*********************************************************************//** * @brief - * The handleFPGAReceiveHeaderState function handles the FPGA state \n + * The handleFPGAReceiveHeaderState function handles the FPGA state * where the header registers read response should be ready to take in. * @details * Inputs : none @@ -635,7 +635,7 @@ /*********************************************************************//** * @brief - * The handleFPGAWriteAllActuatorsState function handles the FPGA state \n + * The handleFPGAWriteAllActuatorsState function handles the FPGA state * where the bulk write command is sent to the FPGA. * @details * Inputs : actuator set points @@ -684,7 +684,7 @@ /*********************************************************************//** * @brief - * The handleFPGAReceiveAllSensorsState function handles the FPGA state \n + * The handleFPGAReceiveAllSensorsState function handles the FPGA state * where the bulk read response should be ready to parse. * @details * Inputs : none @@ -747,7 +747,7 @@ #ifdef READ_FPGA_ASYNC_DATA /*********************************************************************//** * @brief - * The handleFPGAReadAllSensorsAsyncState function handles the FPGA state where \n + * The handleFPGAReadAllSensorsAsyncState function handles the FPGA state where * the read async sensors command is sent to the FPGA. * @details * Inputs : none @@ -779,7 +779,7 @@ /*********************************************************************//** * @brief - * The handleFPGAReceiveAllSensorsAsyncState function handles the FPGA state \n + * The handleFPGAReceiveAllSensorsAsyncState function handles the FPGA state * where the bulk async read response should be ready to parse. * @details * Inputs : none @@ -832,7 +832,7 @@ /*********************************************************************//** * @brief - * The execFPGATest function executes the FPGA self-test. \n + * The execFPGATest function executes the FPGA self-test. * @details * Inputs : fpgaHeader * Outputs : none @@ -862,7 +862,7 @@ /*********************************************************************//** * @brief - * The setupDMAForWriteCmd function sets the byte count for the next DMA \n + * The setupDMAForWriteCmd function sets the byte count for the next DMA * write command to the FPGA. * @details * Inputs : none @@ -885,7 +885,7 @@ /*********************************************************************//** * @brief - * The startDMAWriteCmd function initiates the DMA transmit for the next \n + * The startDMAWriteCmd function initiates the DMA transmit for the next * DMA write command to the FPGA. * @details * Inputs : none @@ -901,7 +901,7 @@ /*********************************************************************//** * @brief - * The setupDMAForWriteResp function sets the expected byte count for the \n + * The setupDMAForWriteResp function sets the expected byte count for the * next DMA write command response from the FPGA. * @details * Inputs : none @@ -924,7 +924,7 @@ /*********************************************************************//** * @brief - * The startDMAReceiptOfWriteResp function initiates readiness of the DMA \n + * The startDMAReceiptOfWriteResp function initiates readiness of the DMA * receiver for the next DMA write command response from the FPGA. * @details * Inputs : none @@ -940,7 +940,7 @@ /*********************************************************************//** * @brief - * The setupDMAForReadCmd function sets the byte count for the next DMA \n + * The setupDMAForReadCmd function sets the byte count for the next DMA * read command to the FPGA. * @details * Inputs : none @@ -963,7 +963,7 @@ /*********************************************************************//** * @brief - * The startDMAReadCmd function initiates the DMA transmit for the next \n + * The startDMAReadCmd function initiates the DMA transmit for the next * DMA read command to the FPGA. * @details * Inputs : none @@ -979,7 +979,7 @@ /*********************************************************************//** * @brief - * The setupDMAForReadResp function sets the expected byte count for the \n + * The setupDMAForReadResp function sets the expected byte count for the * next DMA read command response from the FPGA. * @details * Inputs : none @@ -1002,7 +1002,7 @@ /*********************************************************************//** * @brief - * The startDMAReceiptOfReadResp function initiates readiness of the DMA \n + * The startDMAReceiptOfReadResp function initiates readiness of the DMA * receiver for the next DMA read command response from the FPGA. * @details * Inputs : none @@ -1034,7 +1034,7 @@ /*********************************************************************//** * @brief - * The getFPGABloodFlowSignalStrength function gets the latest blood flow \n + * The getFPGABloodFlowSignalStrength function gets the latest blood flow * signal strength reading. * @details * Inputs : fpgaSensorReadings2 @@ -1048,7 +1048,7 @@ /*********************************************************************//** * @brief - * The getFPGADialysateFlowSignalStrength function gets the latest dialysate \n + * The getFPGADialysateFlowSignalStrength function gets the latest dialysate * flow signal strength reading. * @details * Inputs : fpgaSensorReadings2 @@ -1088,10 +1088,10 @@ /*********************************************************************//** * @brief - * The getFPGABloodPumpHallSensorCount function gets the latest blood pump \n - * hall sensor count. Count is a 16 bit free running counter. If counter is \n - * counting up, indicates motor is running in forward direction. If counter is \n - * counting down, indicates motor is running in reverse direction. Counter will \n + * The getFPGABloodPumpHallSensorCount function gets the latest blood pump + * hall sensor count. Count is a 16 bit free running counter. If counter is + * counting up, indicates motor is running in forward direction. If counter is + * counting down, indicates motor is running in reverse direction. Counter will * wrap at 0/65535. * @details * Inputs : fpgaSensorReadings @@ -1105,10 +1105,10 @@ /*********************************************************************//** * @brief - * The getFPGABloodPumpHallSensorStatus function gets the latest blood pump \n - * hall sensor status. \n - * Bit 0 - Derived direction of the blood pump motor (0=Fwd, 1=Rev) \n - * Bit 1 - A direction error was detected in the current hall sensor phase \n + * The getFPGABloodPumpHallSensorStatus function gets the latest blood pump + * hall sensor status. + * Bit 0 - Derived direction of the blood pump motor (0=Fwd, 1=Rev) + * Bit 1 - A direction error was detected in the current hall sensor phase * Bit 2 - A direction error was detected since the last read of this register * @details * Inputs : fpgaSensorReadings @@ -1122,10 +1122,10 @@ /*********************************************************************//** * @brief - * The getFPGADialInPumpHallSensorCount function gets the latest dialysate inlet pump \n - * hall sensor count. Count is a 16 bit free running counter. If counter is \n - * counting up, indicates motor is running in forward direction. If counter is \n - * counting down, indicates motor is running in reverse direction. Counter will \n + * The getFPGADialInPumpHallSensorCount function gets the latest dialysate inlet pump + * hall sensor count. Count is a 16 bit free running counter. If counter is + * counting up, indicates motor is running in forward direction. If counter is + * counting down, indicates motor is running in reverse direction. Counter will * wrap at 0/65535. * @details * Inputs : fpgaSensorReadings @@ -1139,10 +1139,10 @@ /*********************************************************************//** * @brief - * The getFPGADialInPumpHallSensorStatus function gets the latest dialysate inlet pump \n - * hall sensor status. \n - * Bit 0 - Derived direction of the dialyste inlet pump motor (0=Fwd, 1=Rev) \n - * Bit 1 - A direction error was detected in the current hall sensor phase \n + * The getFPGADialInPumpHallSensorStatus function gets the latest dialysate inlet pump + * hall sensor status. + * Bit 0 - Derived direction of the dialyste inlet pump motor (0=Fwd, 1=Rev) + * Bit 1 - A direction error was detected in the current hall sensor phase * Bit 2 - A direction error was detected since the last read of this register * @details * Inputs : fpgaSensorReadings @@ -1156,10 +1156,10 @@ /*********************************************************************//** * @brief - * The getFPGADialOutPumpHallSensorCount function gets the latest dialysate outlet pump \n - * hall sensor count. Count is a 16 bit free running counter. If counter is \n - * counting up, indicates motor is running in forward direction. If counter is \n - * counting down, indicates motor is running in reverse direction. Counter will \n + * The getFPGADialOutPumpHallSensorCount function gets the latest dialysate outlet pump + * hall sensor count. Count is a 16 bit free running counter. If counter is + * counting up, indicates motor is running in forward direction. If counter is + * counting down, indicates motor is running in reverse direction. Counter will * wrap at 0/65535. * @details * Inputs : fpgaSensorReadings @@ -1173,10 +1173,10 @@ /*********************************************************************//** * @brief - * The getFPGADialOutPumpHallSensorStatus function gets the latest dialysate outlet pump \n - * hall sensor status. \n - * Bit 0 - Derived direction of the dialysate outlet pump motor (0=Fwd, 1=Rev) \n - * Bit 1 - A direction error was detected in the current hall sensor phase \n + * The getFPGADialOutPumpHallSensorStatus function gets the latest dialysate outlet pump + * hall sensor status. + * Bit 0 - Derived direction of the dialysate outlet pump motor (0=Fwd, 1=Rev) + * Bit 1 - A direction error was detected in the current hall sensor phase * Bit 2 - A direction error was detected since the last read of this register * @details * Inputs : fpgaSensorReadings @@ -1203,7 +1203,7 @@ /*********************************************************************//** * @brief - * The getFPGADialInPumpOcclusion function gets the latest dialysate \n + * The getFPGADialInPumpOcclusion function gets the latest dialysate * inlet occlusion reading. * @details * Inputs : fpgaSensorReadings @@ -1217,7 +1217,7 @@ /*********************************************************************//** * @brief - * The getFPGADialOutPumpOcclusion function gets the latest dialysate \n + * The getFPGADialOutPumpOcclusion function gets the latest dialysate * outlet occlusion reading. * @details * Inputs : fpgaSensorReadings @@ -1258,7 +1258,7 @@ /*********************************************************************//** * @brief - * The getFPGAAccelAxes function gets the accelerometer axis readings. \n + * The getFPGAAccelAxes function gets the accelerometer axis readings. * Axis readings are in ADC counts. 0.004 g per LSB. * @details * Inputs : fpgaSensorReadings @@ -1277,8 +1277,8 @@ /*********************************************************************//** * @brief - * The getFPGAAccelMaxes function gets the maximum accelerometer axis readings. \n - * from last FPGA read (every 10ms). \n + * The getFPGAAccelMaxes function gets the maximum accelerometer axis readings. + * from last FPGA read (every 10ms). * Axis readings are in ADC counts. 0.004 g per LSB. * @details * Inputs : fpgaSensorReadings @@ -1297,7 +1297,7 @@ /*********************************************************************//** * @brief - * The getFPGAAccelStatus function gets the accelerometer reading count \n + * The getFPGAAccelStatus function gets the accelerometer reading count * and error register values. * @details * Inputs : fpgaSensorReadings @@ -1355,7 +1355,7 @@ /*********************************************************************//** * @brief - * The consumeUnexpectedData function checks to see if a byte is sitting in \n + * The consumeUnexpectedData function checks to see if a byte is sitting in * the SCI2 received data register. * @details * Inputs : fpgaHeader