Index: firmware/App/Services/FpgaDD.c =================================================================== diff -u -ra3a396aa37fb562327f05e54990f06538c7617ed -rf5baeac6a5f000705cd51e4779a967acf4088981 --- firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision a3a396aa37fb562327f05e54990f06538c7617ed) +++ firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision f5baeac6a5f000705cd51e4779a967acf4088981) @@ -78,10 +78,10 @@ #define CONCENTRATE_CAP_SWITCH_MASK 0x10 ///< Concentrate cap switch bit mask. #define FPGA_CONC_PUMP_FAULT_BITS 0x03 ///< Concentrate pump fault bits mask. -#define FPGA_D11_PUMP_PARKED_BIT 0x04 ///< Acid Concentrate pump parked status bit mask. -#define FPGA_D10_PUMP_PARKED_BIT 0x10 ///< Bicarb Concentrate pump parked status bit mask. -#define FPGA_D11_PUMP_PARK_FAULT_BIT 0x08 ///< Acid Concentrate pump park fault status bit mask. -#define FPGA_D10_PUMP_PARK_FAULT_BIT 0x20 ///< Bicarb Concentrate pump park fault status bit mask. +#define FPGA_D11_PUMP_PARKED_BIT 0x04 ///< Acid Concentrate pump parked status bit mask. +#define FPGA_D10_PUMP_PARKED_BIT 0x10 ///< Bicarb Concentrate pump parked status bit mask. +#define FPGA_D11_PUMP_PARK_FAULT_BIT 0x08 ///< Acid Concentrate pump park fault status bit mask. +#define FPGA_D10_PUMP_PARK_FAULT_BIT 0x20 ///< Bicarb Concentrate pump park fault status bit mask. #define FPGA_CONC_PUMP_PARK_COMMAND 0x80 ///< Park command bit for the concentrate pumps. #define FPGA_THD_CONTROL_COMMAND 0X01 ///< FPGA THd control command. #define FPGA_POWER_OUT_TIMEOUT_MS ( 2 * MS_PER_SECOND ) ///< FPGA power out timeout in milliseconds. @@ -125,64 +125,64 @@ U08 fpgaIOErrorCntProcessor; ///< Reg 262. Number of errors in Microprocessor UART interface U08 fpgaIOErrorCntPC; ///< Reg 263. Number of errors in PC UART interface - U16 fpgaPnPressure; ///< Reg 264. Pn/PHo MPM pressure sensor RAW pressure data - U16 fpgaPnTemp; ///< Reg 266. Pn/PHo MPM pressure sensor RAW temperature data - U08 fpgaPnReadCnt; ///< Reg 268. Pn/PHo Counter for good SPI transmission b/w FPGA and sensor - U08 fpgaPnErrorCnt; ///< Reg 229. Pn/PHo Counter for bad SPI transmission b/w FPGA and sensor + U16 fpgaD9PresPressure; ///< Reg 264. D9 MPM pressure sensor RAW pressure data + U16 fpgaD9PresTemp; ///< Reg 266. D9 MPM pressure sensor RAW temperature data + U08 fpgaD9PresReadCnt; ///< Reg 268. D9 Counter for good SPI transmission b/w FPGA and sensor + U08 fpgaD9PresErrorCnt; ///< Reg 229. D9 Counter for bad SPI transmission b/w FPGA and sensor - U16 fpgaPCbPressure; ///< Reg 270. PCb/PDB MPM pressure sensor RAW pressure data - U16 fpgaPCbTemp; ///< Reg 272. PCb/PDB MPM pressure sensor RAW temperature data - U08 fpgaPCbReadCnt; ///< Reg 274. PCb/PDB Counter for good SPI transmission b/w FPGA and sensor - U08 fpgaPCbErrorCnt; ///< Reg 275. PCb/PDB Counter for bad SPI transmission b/w FPGA and sensor + U16 fpgaD66PresPressure; ///< Reg 270. D66 MPM pressure sensor RAW pressure data + U16 fpgaD66PresTemp; ///< Reg 272. D66 MPM pressure sensor RAW temperature data + U08 fpgaD66PresReadCnt; ///< Reg 274. D66 Counter for good SPI transmission b/w FPGA and sensor + U08 fpgaD66PresErrorCnt; ///< Reg 275. D66 Counter for bad SPI transmission b/w FPGA and sensor - U16 fpgaPDsPressure; ///< Reg 276. PDs MPM pressure sensor RAW pressure data - U16 fpgaPDsTemp; ///< Reg 278. PDs MPM pressure sensor RAW temperature data - U08 fpgaPDsReadCnt; ///< Reg 280. PDs Counter for good SPI transmission b/w FPGA and sensor - U08 fpgaPDsErrorCnt; ///< Reg 281. PDs Counter for bad SPI transmission b/w FPGA and sensor + U16 fpgaD51PresPressure; ///< Reg 276. D51 MPM pressure sensor RAW pressure data + U16 fpgaD51PresTemp; ///< Reg 278. D51 MPM pressure sensor RAW temperature data + U08 fpgaD51PresReadCnt; ///< Reg 280. D51 Counter for good SPI transmission b/w FPGA and sensor + U08 fpgaD51PresErrorCnt; ///< Reg 281. D51 Counter for bad SPI transmission b/w FPGA and sensor - U16 fpgaPDfPressure; ///< Reg 282. PDf MPM pressure sensor RAW pressure data - U16 fpgaPDfTemp; ///< Reg 284. PDf MPM pressure sensor RAW temperature data - U08 fpgaPDfReadCnt; ///< Reg 286. PDf Counter for good SPI transmission b/w FPGA and sensor - U08 fpgaPDfErrorCnt; ///< Reg 287. PDf Counter for bad SPI transmission b/w FPGA and sensor + U16 fpgaD18PresPressure; ///< Reg 282. D18 MPM pressure sensor RAW pressure data + U16 fpgaD18PresTemp; ///< Reg 284. D18 MPM pressure sensor RAW temperature data + U08 fpgaD18PresReadCnt; ///< Reg 286. D18 Counter for good SPI transmission b/w FPGA and sensor + U08 fpgaD18PresErrorCnt; ///< Reg 287. D18 Counter for bad SPI transmission b/w FPGA and sensor - U16 fpgaPtmPressure; ///< Reg 288. Ptm MPM pressure sensor RAW pressure data - U16 fpgaPtmTemp; ///< Reg 290. Ptm MPM pressure sensor RAW temperature data - U08 fpgaPtmReadCnt; ///< Reg 292. Ptm Counter for good SPI transmission b/w FPGA and sensor - U08 fpgaPtmErrorCnt; ///< Reg 293. Ptm Counter for bad SPI transmission b/w FPGA and sensor + U16 fpgaD41PresPressure; ///< Reg 288. D41 MPM pressure sensor RAW pressure data + U16 fpgaD41PresTemp; ///< Reg 290. D41 MPM pressure sensor RAW temperature data + U08 fpgaD41PresReadCnt; ///< Reg 292. D41 Counter for good SPI transmission b/w FPGA and sensor + U08 fpgaD41PresErrorCnt; ///< Reg 293. D41 Counter for bad SPI transmission b/w FPGA and sensor - U16 fpgaPRiPressure; ///< Reg 294. PRi MPM pressure sensor RAW pressure data - U16 fpgaPRiTemp; ///< Reg 296. PRi MPM pressure sensor RAW temperature data - U08 fpgaPRiReadCnt; ///< Reg 298. PRi Counter for good SPI transmission b/w FPGA and sensor - U08 fpgaPRiErrorCnt; ///< Reg 299. Pri Counter for bad SPI transmission b/w FPGA and sensor + U16 fpgaM1PresPressure; ///< Reg 294. M1 MPM pressure sensor RAW pressure data + U16 fpgaM1PresTemp; ///< Reg 296. M1 MPM pressure sensor RAW temperature data + U08 fpgaM1PresReadCnt; ///< Reg 298. M1 Counter for good SPI transmission b/w FPGA and sensor + U08 fpgaM1PresErrorCnt; ///< Reg 299. M1 Counter for bad SPI transmission b/w FPGA and sensor - U16 fpgaPRoPressure; ///< Reg 300. PRo MPM pressure sensor RAW pressure data - U16 fpgaPRoTemp; ///< Reg 302. PRo MPM pressure sensor RAW temperature data - U08 fpgaPRoReadCnt; ///< Reg 304. PRo Counter for good SPI transmission b/w FPGA and sensor - U08 fpgaPRoErrorCnt; ///< Reg 305. PRo Counter for bad SPI transmission b/w FPGA and sensor + U16 fpgaM3PresPressure; ///< Reg 300. M3 MPM pressure sensor RAW pressure data + U16 fpgaM3PresTemp; ///< Reg 302. M3 MPM pressure sensor RAW temperature data + U08 fpgaM3PresReadCnt; ///< Reg 304. M3 Counter for good SPI transmission b/w FPGA and sensor + U08 fpgaM3PresErrorCnt; ///< Reg 305. M3 Counter for bad SPI transmission b/w FPGA and sensor - U32 fpgaCD1DataOut; ///< Reg 306. Data read from Conductivity Sensor 1 register - U16 fpgaCD1Cond; ///< Reg 310. CD1 conductivity - U16 fpgaCD1Temp; ///< Reg 312. CD1 Temperature - U08 fpgaCD1ReadCnt; ///< Reg 314. CD1 successful read count - U08 fpgaCD1ErrorCnt; ///< Reg 315. CD1 error read count + U32 fpgaD17CondDataOut; ///< Reg 306. Data read from Conductivity Sensor 1 register + U16 fpgaD17CondCond; ///< Reg 310. D17 conductivity + U16 fpgaD17CondTemp; ///< Reg 312. D17 Temperature + U08 fpgaD17CondReadCnt; ///< Reg 314. D17 successful read count + U08 fpgaD17CondErrorCnt; ///< Reg 315. D17 error read count - U32 fpgaCD2DataOut; ///< Reg 316. Data read from Conductivity Sensor 2 register - U16 fpgaCD2Cond; ///< Reg 320. CD2 conductivity - U16 fpgaCD2Temp; ///< Reg 322. CD2 Temperature - U08 fpgaCD2ReadCnt; ///< Reg 324. CD2 successful read count - U08 fpgaCD2ErrorCnt; ///< Reg 325. CD2 error read count + U32 fpgaD27CondDataOut; ///< Reg 316. Data read from Conductivity Sensor 2 register + U16 fpgaD27CondCond; ///< Reg 320. D27 conductivity + U16 fpgaD27CondTemp; ///< Reg 322. D27 Temperature + U08 fpgaD27CondReadCnt; ///< Reg 324. D27 successful read count + U08 fpgaD27CondErrorCnt; ///< Reg 325. D27 error read count - U32 fpgaCD3DataOut; ///< Reg 326. Data read from Conductivity Sensor 3 register - U16 fpgaCD3Cond; ///< Reg 330. CD3 conductivity - U16 fpgaCD3Temp; ///< Reg 332. CD3 Temperature - U08 fpgaCD3ReadCnt; ///< Reg 334. CD3 successful read count - U08 fpgaCD3ErrorCnt; ///< Reg 335. CD3 error read count + U32 fpgaD29CondDataOut; ///< Reg 326. Data read from Conductivity Sensor 3 register + U16 fpgaD29CondCond; ///< Reg 330. D29 conductivity + U16 fpgaD29CondTemp; ///< Reg 332. D29 Temperature + U08 fpgaD29CondReadCnt; ///< Reg 334. D29 successful read count + U08 fpgaD29CondErrorCnt; ///< Reg 335. D29 error read count - U32 fpgaCD4DataOut; ///< Reg 336. Data read from Conductivity Sensor 4 register - U16 fpgaCD4Cond; ///< Reg 340. CD4 conductivity - U16 fpgaCD4Temp; ///< Reg 342. CD4 Temperature - U08 fpgaCD4ReadCnt; ///< Reg 344. CD4 successful read count - U08 fpgaCD4ErrorCnt; ///< Reg 345. CD4 error read count + U32 fpgaD43CondDataOut; ///< Reg 336. Data read from Conductivity Sensor 4 register + U16 fpgaD43CondCond; ///< Reg 340. D43 conductivity + U16 fpgaD43CondTemp; ///< Reg 342. D43 Temperature + U08 fpgaD43CondReadCnt; ///< Reg 344. D43 successful read count + U08 fpgaD43CondErrorCnt; ///< Reg 345. D43 error read count U16 fpgaLevelSensor1; ///< Reg 346. Level Sensor 1 U16 fpgaLevelSensor2; ///< Reg 348. Level Sensor 2 @@ -203,8 +203,8 @@ U08 fpgaValveUFPWMStates; ///< Reg 365. Ultrafiltration Valves PWM states U08 fpgaD11_D10_PumpFault; ///< Reg 366. Concentrate pump fault register for D11_Pump and D10_Pump U08 fpgaRTDCountErrorCycles; ///< Reg 367. Count of each incomplete seq of reads from RTD ADC. - U16 fpgaD11_PumpHallSense; ///< Reg 368. Concentrate pump D11_Pump hall sensor pulse width - U16 fpgaD10_PumpHallSense; ///< Reg 370. Concentrate pump D10_Pump hall sensor pulse width + U16 fpgaD11PumpHallSense; ///< Reg 368. Concentrate pump D11_Pump hall sensor pulse width + U16 fpgaD10PumpHallSense; ///< Reg 370. Concentrate pump D10_Pump hall sensor pulse width U32 fpgaTax1Temp; ///< Reg 372. Inlet heat exchanger temperature U32 fpgaTH2Temp; ///< Reg 376. Inlet heat exchanger temperature @@ -243,50 +243,50 @@ U16 fpgaValveControl; ///< Reg 04. Valve control register U16 fpgaValvePWMEnable; ///< Reg 06. Valve PWM enable - U16 fpgaVDrPWMLow; ///< Reg 08. VDr PWM low. VDo-> VDr. - U16 fpgaVDrPWMPeriod; ///< Reg 10. VDr PWM period - U16 fpgaVDrPWMPullin; ///< Reg 12. VDr PWM pull in - U16 fpgaVTDWMLow; ///< Reg 14. VTD PWM low - U16 fpgaVTDPWMPeriod; ///< Reg 16. VTD PWM period - U16 fpgaVTDPWMPullin; ///< Reg 18. VTD PWM pull in - U16 fpgaVHBPWMLow; ///< Reg 20. VHB PWM low - U16 fpgaVHBPWMPeriod; ///< Reg 22. VHB PWM period - U16 fpgaVHBPWMPullin; ///< Reg 24. VHB PWM pull in - U16 fpgaVrpPWMLow; ///< Reg 26. Vrp PWM low - U16 fpgaVrpPWMPeriod; ///< Reg 28. Vrp PWM period - U16 fpgaVrpPWMPullin; ///< Reg 30. Vrp PWM pull in + U16 fpgaD53ValvePWMLow; ///< Reg 08. D53 PWM low. (VDR) + U16 fpgaD53ValvePWMPeriod; ///< Reg 10. D53 PWM period (VDR) + U16 fpgaD53ValvePWMPullin; ///< Reg 12. D53 PWM pull in (VDR) + U16 fpgaD52ValvePWMLow; ///< Reg 14. D52 PWM low (VTD) + U16 fpgaD52ValvePWMPeriod; ///< Reg 16. D52 PWM period (VTD) + U16 fpgaD52ValvePWMPullin; ///< Reg 18. D52 PWM pull in (VTD) + U16 fpgaD8ValvePWMLow; ///< Reg 20. D8 PWM low (VHB) + U16 fpgaD8ValvePWMPeriod; ///< Reg 22. D8 PWM period (VHB) + U16 fpgaD8ValvePWMPullin; ///< Reg 24. D8 PWM pull in (VHB) + U16 fpgaD54ValvePWMLow; ///< Reg 26. D54 PWM low (VRP) + U16 fpgaD54ValvePWMPeriod; ///< Reg 28. D54 PWM period (VRP) + U16 fpgaD54ValvePWMPullin; ///< Reg 30. D54 PWM pull in (VRP) - U16 fpgaVHoPWMLow; ///< Reg 32. VHo PWM low - U16 fpgaVHoPWMPeriod; ///< Reg 34. VHo PWM period - U16 fpgaVHoPWMPullin; ///< Reg 36. VHo PWM pull in - U16 fpgaVDB1PWMLow; ///< Reg 38. VDB1 PWM low - U16 fpgaVDB1PWMPeriod; ///< Reg 40. VDB1 PWM period - U16 fpgaVDB1PWMPullin; ///< Reg 42. VDB1 PWM pull in - U16 fpgaVP1PWMLow; ///< Reg 44. VP1 PWM low - U16 fpgaVP1PWMPeriod; ///< Reg 46. VP1 PWM period - U16 fpgaVP1PWMPullin; ///< Reg 48. VP1 PWM pull in - U16 fpgaVPTPWMLow; ///< Reg 50. VPT PWM Low - U16 fpgaVPTPWMPeriod; ///< Reg 52. VPT PWM period - U16 fpgaVPTPWMPullin; ///< Reg 54. VPT PWM pull in + U16 fpgaD14ValvePWMLow; ///< Reg 32. D14 PWM low (VHo) + U16 fpgaD14ValvePWMPeriod; ///< Reg 34. D14 PWM period (VHo) + U16 fpgaD14ValvePWMPullin; ///< Reg 36. D14 PWM pull in (VHo) + U16 fpgaD65ValvePWMLow; ///< Reg 38. D65 PWM low + U16 fpgaD65ValvePWMPeriod; ///< Reg 40. D65 PWM period + U16 fpgaD65ValvePWMPullin; ///< Reg 42. D65 PWM pull in + U16 fpgaD64ValvePWMLow; ///< Reg 44. D64 PWM low ( VP1 : Bicarb purge) + U16 fpgaD64ValvePWMPeriod; ///< Reg 46. D64 PWM period + U16 fpgaD64ValvePWMPullin; ///< Reg 48. D64 PWM pull in + U16 fpgaD31ValvePWMLow; ///< Reg 50. D31 PWM Low (Pressure test) + U16 fpgaD31ValvePWMPeriod; ///< Reg 52. D31 PWM period + U16 fpgaD31ValvePWMPullin; ///< Reg 54. D31 PWM pull in U16 fpgaVDB2PWMLow; ///< Reg 56. VDB2 PWM low U16 fpgaVDB2PWMPeriod; ///< Reg 58. VDB2 PWM period U16 fpgaVDB2PWMPullin; ///< Reg 60. VDB2 PWM pull in - U16 fpgaVDiPWMLow; ///< Reg 62. VDi PWM low - U16 fpgaVDiPWMPeriod; ///< Reg 64. VDi PWM period - U16 fpgaVDiPWMPullin; ///< Reg 66. VDi PWM pull in - U16 fpgaVDoPWMLow; ///< Reg 68. VDo PWM low - U16 fpgaVDoPWMPeriod; ///< Reg 70. VDo PWM period - U16 fpgaVDoPWMPullin; ///< Reg 72. VDo PWM pull in - U16 fpgaVP2PWMLow; ///< Reg 74. VP2 PWM low - U16 fpgaVP2PWMPeriod; ///< Reg 76. VP2 PWM period - U16 fpgaVP2PWMPullin; ///< Reg 78. VP2 PWM pull in - U16 fpgaVHiPWMLow; ///< Reg 80. VHi PWM low - U16 fpgaVHiPWMPeriod; ///< Reg 82. VHi PWM period - U16 fpgaVHiPWMPullin; ///< Reg 84. VHi PWM pull in - U16 fpgaVWiPWMLow; ///< Reg 86. VWi PWM low - U16 fpgaVWiPWMPeriod; ///< Reg 88. VWi PWM period - U16 fpgaVWiPWMPullin; ///< Reg 90. VWi PWM pull in + U16 fpgaD35ValvePWMLow; ///< Reg 62. D35 PWM low + U16 fpgaD35ValvePWMPeriod; ///< Reg 64. D35 PWM period + U16 fpgaD35ValvePWMPullin; ///< Reg 66. D35 PWM pull in + U16 fpgaD40ValvePWMLow; ///< Reg 68. D40 PWM low + U16 fpgaD40ValvePWMPeriod; ///< Reg 70. D40 PWM period + U16 fpgaD40ValvePWMPullin; ///< Reg 72. D40 PWM pull in + U16 fpgaD47ValvePWMLow; ///< Reg 74. D47 PWM low + U16 fpgaD47ValvePWMPeriod; ///< Reg 76. D47 PWM period + U16 fpgaD47ValvePWMPullin; ///< Reg 78. D47 PWM pull in + U16 fpgaD3ValvePWMLow; ///< Reg 80. D3 PWM low + U16 fpgaD3ValvePWMPeriod; ///< Reg 82. D3 PWM period + U16 fpgaD3ValvePWMPullin; ///< Reg 84. D3 PWM pull in + U16 fpgaM4ValvePWMLow; ///< Reg 86. M4 PWM low + U16 fpgaM4ValvePWMPeriod; ///< Reg 88. M4 PWM period + U16 fpgaM4ValvePWMPullin; ///< Reg 90. M4 PWM pull in U08 fpgaBCValveControl; ///< Reg 92. Balancing Chamber Valves Control Registers U08 fpgaBCValvePWMControl; ///< Reg 93. Balancing Chamber Valves PWM control @@ -454,20 +454,20 @@ * The setFPGAValveStates function sets the DD valve states with a 16-bit * set of states - one bit per valve, with a 1 meaning "energized" and a 0 * meaning "de-energized". The bit positions for these bit states are as follows: - * 0 - VDr/VDo.\n - * 1 - VTD.\n - * 2 - VHB.\n - * 3 - Vrp.\n - * 4 - VHo.\n - * 5 - VDB1.\n - * 6 - VP1.\n - * 7 - VPT.\n + * 0 - D53Valve.\n + * 1 - D52Valve.\n + * 2 - D8Valve.\n + * 3 - D54Valve.\n + * 4 - D14Valve.\n + * 5 - D65Valve.\n + * 6 - D64Valve.\n + * 7 - D31Valve.\n * 8 - VDB2.\n - * 9 - VDi.\n - * 10 - VDo.\n - * 11 - VP2.\n - * 12 - VHi.\n - * 13 - VWi.\n + * 9 - D35Valve.\n + * 10 - D40Valve.\n + * 11 - D47Valve.\n + * 12 - D3Valve.\n + * 13 - M4Valve.\n * 14..15 - reserved or unused. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaValveControl @@ -696,64 +696,64 @@ /*********************************************************************//** * @brief - * The setFPGACD1Reset function resets the FPGA Conductivity - * Sensor CD1. + * The setFPGAD17CondReset function resets the FPGA Conductivity + * Sensor D17. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void setFPGACD1Reset( void ) +void setFPGAD17CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD1_RESET_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD1Reset function clears the reset of FPGA Conductivity - * Sensor CD1. + * The clearFPGAD17CondReset function clears the reset of FPGA Conductivity + * Sensor D17. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD1Reset( void ) +void clearFPGAD17CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD1_RESET_BIT; } /*********************************************************************//** * @brief - * The setFPGACD1InitEnable function enables the FPGA Conductivity - * Sensor CD1 initialzation procedure. + * The setFPGAD17CondInitEnable function enables the FPGA Conductivity + * Sensor D17 initialzation procedure. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void setFPGACD1InitEnable( void ) +void setFPGAD17CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD1_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD1InitEnable function clears the init process of FPGA Conductivity - * Sensor CD1. + * The clearFPGAD17CondInitEnable function clears the init process of FPGA Conductivity + * Sensor D17. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD1InitEnable( void ) +void clearFPGAD17CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD1_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD1WriteEnable function enables the FPGA Conductivity - * Sensor CD1 write transaction. + * The setFPGAD17CondWriteEnable function enables the FPGA Conductivity + * Sensor D17 write transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none @@ -762,29 +762,29 @@ * write transaction with the sensor. * @return none *************************************************************************/ -void setFPGACD1WriteEnable( void ) +void setFPGAD17CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD1_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD1WriteEnable function clears the write enable of FPGA Conductivity - * Sensor CD1. + * The clearFPGAD17CondWriteEnable function clears the write enable of FPGA Conductivity + * Sensor D17. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD1WriteEnable( void ) +void clearFPGAD17CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD1_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD1ReadEnable function enables the FPGA Conductivity - * Sensor CD1 read transaction. + * The setFPGAD17CondReadEnable function enables the FPGA Conductivity + * Sensor D17 read transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none @@ -793,85 +793,85 @@ * with the sensor. * @return none *************************************************************************/ -void setFPGACD1ReadEnable( void ) +void setFPGAD17CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD1_RD_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD1ReadEnable function clears the read enable of FPGA Conductivity - * Sensor CD1. + * The clearFPGAD17CondReadEnable function clears the read enable of FPGA Conductivity + * Sensor D17. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD1ReadEnable( void ) +void clearFPGAD17CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD1_RD_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD2Reset function resets the FPGA Conductivity - * Sensor CD2. + * The setFPGAD27CondReset function resets the FPGA Conductivity + * Sensor D27. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void setFPGACD2Reset( void ) +void setFPGAD27CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD2_RESET_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD2Reset function clears the reset of FPGA Conductivity - * Sensor CD2. + * The clearFPGAD27CondReset function clears the reset of FPGA Conductivity + * Sensor D27. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD2Reset( void ) +void clearFPGAD27CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD2_RESET_BIT; } /*********************************************************************//** * @brief - * The setFPGACD2InitEnable function enables the FPGA Conductivity - * Sensor CD2 initialzation procedure. + * The setFPGAD27CondInitEnable function enables the FPGA Conductivity + * Sensor D27 initialzation procedure. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void setFPGACD2InitEnable( void ) +void setFPGAD27CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD2_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD2InitEnable function clears the init process of FPGA Conductivity - * Sensor CD2. + * The clearFPGAD27CondInitEnable function clears the init process of FPGA Conductivity + * Sensor D27. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD2InitEnable( void ) +void clearFPGAD27CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD2_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD2WriteEnable function enables the FPGA Conductivity - * Sensor CD2 write transaction. + * The setFPGAD27CondWriteEnable function enables the FPGA Conductivity + * Sensor D27 write transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none @@ -880,29 +880,29 @@ * write transaction with the sensor. * @return none *************************************************************************/ -void setFPGACD2WriteEnable( void ) +void setFPGAD27CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD2_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD2WriteEnable function clears the write enable of FPGA Conductivity - * Sensor CD2. + * The clearFPGAD27CondWriteEnable function clears the write enable of FPGA Conductivity + * Sensor D27. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD2WriteEnable( void ) +void clearFPGAD27CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD2_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD2ReadEnable function enables the FPGA Conductivity - * Sensor CD2 read transaction. + * The setFPGAD27CondReadEnable function enables the FPGA Conductivity + * Sensor D27 read transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none @@ -911,85 +911,85 @@ * with the sensor. * @return none *************************************************************************/ -void setFPGACD2ReadEnable( void ) +void setFPGAD27CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control |= FPGA_CD2_RD_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD2ReadEnable function clears the read enable of FPGA Conductivity - * Sensor CD2. + * The clearFPGAD27CondReadEnable function clears the read enable of FPGA Conductivity + * Sensor D27. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD12Control * @param none * @return none *************************************************************************/ -void clearFPGACD2ReadEnable( void ) +void clearFPGAD27CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD12Control &= ~FPGA_CD2_RD_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGCD3Reset function resets the FPGA Conductivity - * Sensor CD3. + * The setFPGD29CondReset function resets the FPGA Conductivity + * Sensor D29. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void setFPGACD3Reset( void ) +void setFPGAD29CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD3_RESET_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD3Reset function clears the reset of FPGA Conductivity - * Sensor CD3. + * The clearFPGAD29CondReset function clears the reset of FPGA Conductivity + * Sensor D29. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD3Reset( void ) +void clearFPGAD29CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD3_RESET_BIT; } /*********************************************************************//** * @brief - * The setFPGACD3InitEnable function enables the FPGA Conductivity - * Sensor CD3 initialzation procedure. + * The setFPGAD29CondInitEnable function enables the FPGA Conductivity + * Sensor D29 initialzation procedure. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void setFPGACD3InitEnable( void ) +void setFPGAD29CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD3_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD3InitEnable function clears the init process of FPGA Conductivity - * Sensor CD3. + * The clearFPGAD29CondInitEnable function clears the init process of FPGA Conductivity + * Sensor D29. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD3InitEnable( void ) +void clearFPGAD29CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD3_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD3WriteEnable function enables the FPGA Conductivity - * Sensor CD3 write transaction. + * The setFPGAD29CondWriteEnable function enables the FPGA Conductivity + * Sensor D29 write transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none @@ -998,29 +998,29 @@ * write transaction with the sensor. * @return none *************************************************************************/ -void setFPGACD3WriteEnable( void ) +void setFPGAD29CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD3_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD3WriteEnable function clears the write enable of FPGA Conductivity - * Sensor CD3. + * The clearFPGAD29CondWriteEnable function clears the write enable of FPGA Conductivity + * Sensor D29. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD3WriteEnable( void ) +void clearFPGAD29CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD3_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD3ReadEnable function enables the FPGA Conductivity - * Sensor CD3 read transaction. + * The setFPGAD29CondReadEnable function enables the FPGA Conductivity + * Sensor D29 read transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none @@ -1029,85 +1029,85 @@ * with the sensor. * @return none *************************************************************************/ -void setFPGACD3ReadEnable( void ) +void setFPGAD29CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD3_RD_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD3ReadEnable function clears the read enable of FPGA Conductivity - * Sensor CD3. + * The clearFPGAD29CondReadEnable function clears the read enable of FPGA Conductivity + * Sensor D29. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD3ReadEnable( void ) +void clearFPGAD29CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD3_RD_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD4Reset function resets the FPGA Conductivity - * Sensor CD4. + * The setFPGAD43CondReset function resets the FPGA Conductivity + * Sensor D43. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void setFPGACD4Reset( void ) +void setFPGAD43CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD4_RESET_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD4Reset function clears the reset of FPGA Conductivity - * Sensor CD4. + * The clearFPGAD43CondReset function clears the reset of FPGA Conductivity + * Sensor D43. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD4Reset( void ) +void clearFPGAD43CondReset( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD4_RESET_BIT; } /*********************************************************************//** * @brief - * The setFPGACD4InitEnable function enables the FPGA Conductivity - * Sensor CD4 initialzation procedure. + * The setFPGAD43CondInitEnable function enables the FPGA Conductivity + * Sensor D43 initialzation procedure. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void setFPGACD4InitEnable( void ) +void setFPGAD43CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD4_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD4InitEnable function clears the init process of FPGA Conductivity - * Sensor CD4. + * The clearFPGAD43CondInitEnable function clears the init process of FPGA Conductivity + * Sensor D43. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD4InitEnable( void ) +void clearFPGAD43CondInitEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD4_INIT_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD4WriteEnable function enables the FPGA Conductivity - * Sensor CD4 write transaction. + * The setFPGAD43CondWriteEnable function enables the FPGA Conductivity + * Sensor D43 write transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none @@ -1116,29 +1116,29 @@ * write transaction with the sensor. * @return none *************************************************************************/ -void setFPGACD4WriteEnable( void ) +void setFPGAD43CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD4_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD4WriteEnable function clears the write enable of FPGA Conductivity - * Sensor CD4. + * The clearFPGAD43CondWriteEnable function clears the write enable of FPGA Conductivity + * Sensor D43. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD4WriteEnable( void ) +void clearFPGAD43CondWriteEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD4_WR_ENABLE_BIT; } /*********************************************************************//** * @brief - * The setFPGACD4ReadEnable function enables the FPGA Conductivity - * Sensor CD4 read transaction. + * The setFPGAD43CondReadEnable function enables the FPGA Conductivity + * Sensor D43 read transaction. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none @@ -1147,21 +1147,21 @@ * with the sensor. * @return none *************************************************************************/ -void setFPGACD4ReadEnable( void ) +void setFPGAD43CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control |= FPGA_CD4_RD_ENABLE_BIT; } /*********************************************************************//** * @brief - * The clearFPGACD4ReadEnable function clears the read enable of FPGA Conductivity - * Sensor CD4. + * The clearFPGAD43CondReadEnable function clears the read enable of FPGA Conductivity + * Sensor D43. * @details \b Inputs: none * @details \b Outputs: fpgaActuatorSetPoints.fpgaConSensTD34Control * @param none * @return none *************************************************************************/ -void clearFPGACD4ReadEnable( void ) +void clearFPGAD43CondReadEnable( void ) { fpgaActuatorSetPoints.fpgaConSensTD34Control &= ~FPGA_CD4_RD_ENABLE_BIT; } @@ -1633,26 +1633,26 @@ * @brief * The getFPGAD11PumpHallSensePulseWidth function gets concentrate pump D11_Pump * hall sense pulse width. - * @details \b Inputs: fpgaSensorReadings.fpgaD11_PumpHallSense + * @details \b Inputs: fpgaSensorReadings.fpgaD11PumpHallSense * @details \b Outputs: none * @return concentrate pump D11_Pump hall sense pulse width *************************************************************************/ U16 getFPGAD11PumpHallSensePulseWidth( void ) { - return fpgaSensorReadings.fpgaD11_PumpHallSense; + return fpgaSensorReadings.fpgaD11PumpHallSense; } /*********************************************************************//** * @brief * The getFPGAD10PumpHallSensePulseWidth function gets concentrate pump D10_Pump * hall sense pulse width. - * @details \b Inputs: fpgaSensorReadings.fpgaD10_PumpHallSense + * @details \b Inputs: fpgaSensorReadings.fpgaD10PumpHallSense * @details \b Outputs: none * @return concentrate pump D10_Pump hall sense pulse width *************************************************************************/ U16 getFPGAD10PumpHallSensePulseWidth( void ) { - return fpgaSensorReadings.fpgaD10_PumpHallSense; + return fpgaSensorReadings.fpgaD10PumpHallSense; } /*********************************************************************//** @@ -1698,601 +1698,601 @@ /*********************************************************************//** * @brief - * The getFPGAPnReadCount function gets hydraulics outlet pressure sensor counter of + * The getFPGAD9PresReadCount function gets hydraulics outlet pressure sensor counter of * good SPI transmissions between FPGA and Sensor. - * @details \b Inputs: fpgaSensorReadings.fpgaPnReadCnt + * @details \b Inputs: fpgaSensorReadings.fpgaD9PresReadCnt * @details \b Outputs: none * @return Latest hydraulics outlet Pressure sensor read count *************************************************************************/ -U08 getFPGAPnReadCount( void ) +U08 getFPGAD9PresReadCount( void ) { - return fpgaSensorReadings.fpgaPnReadCnt; + return fpgaSensorReadings.fpgaD9PresReadCnt; } /*********************************************************************//** * @brief - * The getFPGAPnErrorCount function gets hydraulics outlet pressure sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaPnErrorCnt + * The getFPGAD9PresErrorCount function gets hydraulics outlet pressure sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD9PresErrorCnt * @details \b Outputs: none * @return Latest hydraulics outlet pressure sensor read error count *************************************************************************/ -U08 getFPGAPnErrorCount( void ) +U08 getFPGAD9PresErrorCount( void ) { - return fpgaSensorReadings.fpgaPnErrorCnt; + return fpgaSensorReadings.fpgaD9PresErrorCnt; } /*********************************************************************//** * @brief - * The getFPGAPnRawPressure function gets hydraulics outlet pressure sensor raw + * The getFPGAD9PresRawPressure function gets hydraulics outlet pressure sensor raw * pressure value. - * @details \b Inputs: fpgaSensorReadings.fpgaPnPressure + * @details \b Inputs: fpgaSensorReadings.fpgaD9PresPressure * @details \b Outputs: none * @return Latest hydraulics outlet pressure sensor raw pressure data *************************************************************************/ -U16 getFPGAPnRawPressure( void ) +U16 getFPGAD9PresRawPressure( void ) { - return fpgaSensorReadings.fpgaPnPressure; + return fpgaSensorReadings.fpgaD9PresPressure; } /*********************************************************************//** * @brief - * The getFPGAPnRawTemperature function gets hydraulics outlet pressure sensor raw + * The getFPGAD9PresRawTemperature function gets hydraulics outlet pressure sensor raw * temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaPnTemp + * @details \b Inputs: fpgaSensorReadings.fpgaD9PresTemp * @details \b Outputs: none * @return Latest hydraulics outlet pressure sensor raw temperature data *************************************************************************/ -U16 getFPGAPnRawTemperature( void ) +U16 getFPGAD9PresRawTemperature( void ) { - return fpgaSensorReadings.fpgaPnTemp; + return fpgaSensorReadings.fpgaD9PresTemp; } /*********************************************************************//** * @brief - * The getFPGAPCbReadCount function gets Bibag pressure sensor counter of + * The getFPGAD66PresReadCount function gets Bibag pressure sensor counter of * good SPI transmissions between FPGA and Sensor. - * @details \b Inputs: fpgaSensorReadings.fpgaPCbReadCnt + * @details \b Inputs: fpgaSensorReadings.fpgaD66PresReadCnt * @details \b Outputs: none * @return Latest Bibag Pressure sensor read count *************************************************************************/ -U08 getFPGAPCbReadCount( void ) +U08 getFPGAD66PresReadCount( void ) { - return fpgaSensorReadings.fpgaPCbReadCnt; + return fpgaSensorReadings.fpgaD66PresReadCnt; } /*********************************************************************//** * @brief - * The getFPGAPCbErrorCount function gets Bibag pressure sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaPCbErrorCnt + * The getFPGAD66PresErrorCount function gets Bibag pressure sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD66PresErrorCnt * @details \b Outputs: none * @return Latest Bibag pressure sensor read error count *************************************************************************/ -U08 getFPGAPCbErrorCount( void ) +U08 getFPGAD66PresErrorCount( void ) { - return fpgaSensorReadings.fpgaPCbErrorCnt; + return fpgaSensorReadings.fpgaD66PresErrorCnt; } /*********************************************************************//** * @brief - * The getFPGAPCbRawPressure function gets Bibag pressure sensor raw + * The getFPGAD66PresRawPressure function gets Bibag pressure sensor raw * pressure value. - * @details \b Inputs: fpgaSensorReadings.fpgaPCbPressure + * @details \b Inputs: fpgaSensorReadings.fpgaD66PresPressure * @details \b Outputs: none * @return Latest Bibag pressure sensor raw pressure data *************************************************************************/ -U16 getFPGAPCbRawPressure( void ) +U16 getFPGAD66PresRawPressure( void ) { - return fpgaSensorReadings.fpgaPCbPressure; + return fpgaSensorReadings.fpgaD66PresPressure; } /*********************************************************************//** * @brief - * The getFPGAPCbRawTemperature function gets Bibag pressure sensor raw + * The getFPGAD66PresRawTemperature function gets Bibag pressure sensor raw * temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaPCbTemp + * @details \b Inputs: fpgaSensorReadings.fpgaD66PresTemp * @details \b Outputs: none * @return Latest Bibag pressure sensor raw temperature data *************************************************************************/ -U16 getFPGAPCbRawTemperature( void ) +U16 getFPGAD66PresRawTemperature( void ) { - return fpgaSensorReadings.fpgaPCbTemp; + return fpgaSensorReadings.fpgaD66PresTemp; } /*********************************************************************//** * @brief - * The getFPGAPDsReadCount function gets spent dialysate pressure sensor counter of + * The getFPGAD51PresReadCount function gets spent dialysate pressure sensor counter of * good SPI transmissions between FPGA and Sensor. - * @details \b Inputs: fpgaSensorReadings.fpgaPDsReadCnt + * @details \b Inputs: fpgaSensorReadings.fpgaD51PresReadCnt * @details \b Outputs: none * @return Latest spent dialysate Pressure sensor read count *************************************************************************/ -U08 getFPGAPDsReadCount( void ) +U08 getFPGAD51PresReadCount( void ) { - return fpgaSensorReadings.fpgaPDsReadCnt; + return fpgaSensorReadings.fpgaD51PresReadCnt; } /*********************************************************************//** * @brief - * The getFPGAPDsErrorCount function gets spent dialysate pressure sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaPDsErrorCnt + * The getFPGAD51PresErrorCount function gets spent dialysate pressure sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD51PresErrorCnt * @details \b Outputs: none * @return Latest spent dialysate pressure sensor read error count *************************************************************************/ -U08 getFPGAPDsErrorCount( void ) +U08 getFPGAD51PresErrorCount( void ) { - return fpgaSensorReadings.fpgaPDsErrorCnt; + return fpgaSensorReadings.fpgaD51PresErrorCnt; } /*********************************************************************//** * @brief - * The getFPGAPDsRawPressure function gets spent dialysate pressure sensor raw + * The getFPGAD51PresRawPressure function gets spent dialysate pressure sensor raw * pressure value. - * @details \b Inputs: fpgaSensorReadings.fpgaPDsPressure + * @details \b Inputs: fpgaSensorReadings.fpgaD51PresPressure * @details \b Outputs: none * @return Latest spent dialysate pressure sensor raw pressure data *************************************************************************/ -U16 getFPGAPDsRawPressure( void ) +U16 getFPGAD51PresRawPressure( void ) { - return fpgaSensorReadings.fpgaPDsPressure; + return fpgaSensorReadings.fpgaD51PresPressure; } /*********************************************************************//** * @brief - * The getFPGAPDsRawTemperature function gets spent dialysate pressure sensor raw + * The getFPGAD51PresRawTemperature function gets spent dialysate pressure sensor raw * temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaPDsTemp + * @details \b Inputs: fpgaSensorReadings.fpgaD51PresTemp * @details \b Outputs: none * @return Latest spent dialysate pressure sensor raw temperature data *************************************************************************/ -U16 getFPGAPDsRawTemperature( void ) +U16 getFPGAD51PresRawTemperature( void ) { - return fpgaSensorReadings.fpgaPDsTemp; + return fpgaSensorReadings.fpgaD51PresTemp; } /*********************************************************************//** * @brief - * The getFPGAPDfReadCount function gets fresh dialysate pressure sensor counter of + * The getFPGAD18PresReadCount function gets fresh dialysate pressure sensor counter of * good SPI transmissions between FPGA and Sensor. - * @details \b Inputs: fpgaSensorReadings.fpgaPDfReadCnt + * @details \b Inputs: fpgaSensorReadings.fpgaD18PresReadCnt * @details \b Outputs: none * @return Latest fresh dialysate Pressure sensor read count *************************************************************************/ -U08 getFPGAPDfReadCount( void ) +U08 getFPGAD18PresReadCount( void ) { - return fpgaSensorReadings.fpgaPDfReadCnt; + return fpgaSensorReadings.fpgaD18PresReadCnt; } /*********************************************************************//** * @brief - * The getFPGAPDfErrorCount function gets fresh dialysate pressure sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaPDfErrorCnt + * The getFPGAD18PresErrorCount function gets fresh dialysate pressure sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD18PresErrorCnt * @details \b Outputs: none * @return Latest fresh dialysate pressure sensor read error count *************************************************************************/ -U08 getFPGAPDfErrorCount( void ) +U08 getFPGAD18PresErrorCount( void ) { - return fpgaSensorReadings.fpgaPDfErrorCnt; + return fpgaSensorReadings.fpgaD18PresErrorCnt; } /*********************************************************************//** * @brief - * The getFPGAPDfRawPressure function gets fresh dialysate pressure sensor raw + * The getFPGAD18PresRawPressure function gets fresh dialysate pressure sensor raw * pressure value. - * @details \b Inputs: fpgaSensorReadings.fpgaPDfPressure + * @details \b Inputs: fpgaSensorReadings.fpgaD18PresPressure * @details \b Outputs: none * @return Latest fresh dialysate pressure sensor raw pressure data *************************************************************************/ -U16 getFPGAPDfRawPressure( void ) +U16 getFPGAD18PresRawPressure( void ) { - return fpgaSensorReadings.fpgaPDfPressure; + return fpgaSensorReadings.fpgaD18PresPressure; } /*********************************************************************//** * @brief - * The getFPGAPDfRawTemperature function gets fresh dialysate pressure sensor raw + * The getFPGAD18PresRawTemperature function gets fresh dialysate pressure sensor raw * temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaPDfTemp + * @details \b Inputs: fpgaSensorReadings.fpgaD18PresTemp * @details \b Outputs: none * @return Latest fresh dialysate pressure sensor raw temperature data *************************************************************************/ -U16 getFPGAPDfRawTemperature( void ) +U16 getFPGAD18PresRawTemperature( void ) { - return fpgaSensorReadings.fpgaPDfTemp; + return fpgaSensorReadings.fpgaD18PresTemp; } /*********************************************************************//** * @brief - * The getFPGAPtmReadCount function gets transmembrane pressure sensor counter of + * The getFPGAD41PresReadCount function gets transmembrane pressure sensor counter of * good SPI transmissions between FPGA and Sensor. - * @details \b Inputs: fpgaSensorReadings.fpgaPtmReadCnt + * @details \b Inputs: fpgaSensorReadings.fpgaD41PresReadCnt * @details \b Outputs: none * @return Latest transmembrane Pressure sensor read count *************************************************************************/ -U08 getFPGAPtmReadCount( void ) +U08 getFPGAD41PresReadCount( void ) { - return fpgaSensorReadings.fpgaPtmReadCnt; + return fpgaSensorReadings.fpgaD41PresReadCnt; } /*********************************************************************//** * @brief - * The getFPGAPtmErrorCount function gets transmembrane pressure sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaPtmErrorCnt + * The getFPGAD41PresErrorCount function gets transmembrane pressure sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD41PresErrorCnt * @details \b Outputs: none * @return Latest transmembrane pressure sensor read error count *************************************************************************/ -U08 getFPGAPtmErrorCount( void ) +U08 getFPGAD41PresErrorCount( void ) { - return fpgaSensorReadings.fpgaPtmErrorCnt; + return fpgaSensorReadings.fpgaD41PresErrorCnt; } /*********************************************************************//** * @brief - * The getFPGAPtmRawPressure function gets transmembrane pressure sensor raw + * The getFPGAD41PresRawPressure function gets transmembrane pressure sensor raw * pressure value. - * @details \b Inputs: fpgaSensorReadings.fpgaPtmPressure + * @details \b Inputs: fpgaSensorReadings.fpgaD41PresPressure * @details \b Outputs: none * @return Latest transmembrane pressure sensor raw pressure data *************************************************************************/ -U16 getFPGAPtmRawPressure( void ) +U16 getFPGAD41PresRawPressure( void ) { - return fpgaSensorReadings.fpgaPtmPressure; + return fpgaSensorReadings.fpgaD41PresPressure; } /*********************************************************************//** * @brief - * The getFPGAPtmRawTemperature function gets transmembrane pressure sensor raw + * The getFPGAD41PresRawTemperature function gets transmembrane pressure sensor raw * temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaPtmTemp + * @details \b Inputs: fpgaSensorReadings.fpgaD41PresTemp * @details \b Outputs: none * @return Latest transmembrane pressure sensor raw temperature data *************************************************************************/ -U16 getFPGAPtmRawTemperature( void ) +U16 getFPGAD41PresRawTemperature( void ) { - return fpgaSensorReadings.fpgaPtmTemp; + return fpgaSensorReadings.fpgaD41PresTemp; } /*********************************************************************//** * @brief - * The getFPGAPRiRawPressure function gets water inlet input pressure sensor + * The getFPGAM1PresRawPressure function gets water inlet input pressure sensor * raw pressure value. - * @details \b Inputs: fpgaSensorReadings.fpgaPRiPressure + * @details \b Inputs: fpgaSensorReadings.fpgaM1PresPressure * @details \b Outputs: none * @return Latest water inlet input pressure sensor raw pressure data *************************************************************************/ -U16 getFPGAPRiRawPressure( void ) +U16 getFPGAM1PresRawPressure( void ) { - return fpgaSensorReadings.fpgaPRiPressure; + return fpgaSensorReadings.fpgaM1PresPressure; } /*********************************************************************//** * @brief - * The getFPGAPRiRawTemperature function gets water inlet input pressure sensor + * The getFPGAM1RawTemperature function gets water inlet input pressure sensor * raw temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaPRiTemp + * @details \b Inputs: fpgaSensorReadings.fpgaM1PresTemp * @details \b Outputs: none * @return Latest water inlet input pressure sensor raw temperature data *************************************************************************/ -U16 getFPGAPRiRawTemperature( void ) +U16 getFPGAM1PresRawTemperature( void ) { - return fpgaSensorReadings.fpgaPRiTemp; + return fpgaSensorReadings.fpgaM1PresTemp; } /*********************************************************************//** * @brief - * The getFPGAPRiReadCount function gets water inlet input pressure sensor + * The getFPGAM1PresReadCount function gets water inlet input pressure sensor * counter of good SPI transmissions between FPGA and Sensor. - * @details \b Inputs: fpgaSensorReadings.fpgaPRiReadCnt + * @details \b Inputs: fpgaSensorReadings.fpgaM1PresReadCnt * @details \b Outputs: none * @return Latest water inlet input pressure sensor read count *************************************************************************/ -U08 getFPGAPRiReadCount( void ) +U08 getFPGAM1PresReadCount( void ) { - return fpgaSensorReadings.fpgaPRiReadCnt; + return fpgaSensorReadings.fpgaM1PresReadCnt; } /*********************************************************************//** * @brief - * The getFPGAPRiErrorCount function gets water inlet input pressure + * The getFPGAM1PresErrorCount function gets water inlet input pressure * sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaPRiErrorCnt + * @details \b Inputs: fpgaSensorReadings.fpgaM1PresErrorCnt * @details \b Outputs: none * @return Latest water inlet input pressure sensor read error count *************************************************************************/ -U08 getFPGAPRiErrorCount( void ) +U08 getFPGAM1PresErrorCount( void ) { - return fpgaSensorReadings.fpgaPRiErrorCnt; + return fpgaSensorReadings.fpgaM1PresErrorCnt; } /*********************************************************************//** * @brief - * The getFPGAPRoRawPressure function gets water inlet output pressure sensor + * The getFPGAM3PresRawPressure function gets water inlet output pressure sensor * raw pressure value. - * @details \b Inputs: fpgaSensorReadings.fpgaPRoPressure + * @details \b Inputs: fpgaSensorReadings.fpgaM3PresPressure * @details \b Outputs: none * @return Latest water inlet output pressure sensor raw pressure data *************************************************************************/ -U16 getFPGAPRoRawPressure( void ) +U16 getFPGAM3PresRawPressure( void ) { - return fpgaSensorReadings.fpgaPRoPressure; + return fpgaSensorReadings.fpgaM3PresPressure; } /*********************************************************************//** * @brief - * The getFPGAPRoRawTemperature function gets water inlet output pressure sensor + * The getFPGAM3PresRawTemperature function gets water inlet output pressure sensor * raw temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaPRoTemp + * @details \b Inputs: fpgaSensorReadings.fpgaM3PresTemp * @details \b Outputs: none * @return Latest water inlet output pressure sensor raw temperature data *************************************************************************/ -U16 getFPGAPRoRawTemperature( void ) +U16 getFPGAM3PresRawTemperature( void ) { - return fpgaSensorReadings.fpgaPRoTemp; + return fpgaSensorReadings.fpgaM3PresTemp; } /*********************************************************************//** * @brief - * The getFPGAPRoReadCount function gets water inlet output pressure sensor + * The getFPGAM3PresReadCount function gets water inlet output pressure sensor * counter of good SPI transmissions between FPGA and Sensor. - * @details \b Inputs: fpgaSensorReadings.fpgaPRoReadCnt + * @details \b Inputs: fpgaSensorReadings.fpgaM3PresReadCnt * @details \b Outputs: none * @return Latest water inlet output pressure sensor read count *************************************************************************/ -U08 getFPGAPRoReadCount( void ) +U08 getFPGAM3PresReadCount( void ) { - return fpgaSensorReadings.fpgaPRoReadCnt; + return fpgaSensorReadings.fpgaM3PresReadCnt; } /*********************************************************************//** * @brief - * The getFPGAPRoErrorCount function gets water inlet output pressure + * The getFPGAM3PresErrorCount function gets water inlet output pressure * sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaPRoErrorCnt + * @details \b Inputs: fpgaSensorReadings.fpgaM3PresErrorCnt * @details \b Outputs: none * @return Latest water inlet output pressure sensor read error count *************************************************************************/ -U08 getFPGAPRoErrorCount( void ) +U08 getFPGAM3PresErrorCount( void ) { - return fpgaSensorReadings.fpgaPRoErrorCnt; + return fpgaSensorReadings.fpgaM3PresErrorCnt; } /*********************************************************************//** * @brief - * The getFPGACD1ReadCount function gets CD1 conductivity sensor read count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD1ReadCnt + * The getFPGACD1ReadCount function gets D17 conductivity sensor read count. + * @details \b Inputs: fpgaSensorReadings.fpgaD17CondReadCnt * @details \b Outputs: none - * @return Latest CD1 conductivity sensor read count + * @return Latest D17 conductivity sensor read count *************************************************************************/ -U08 getFPGACD1ReadCount( void ) +U08 getFPGAD17CondReadCount( void ) { - return fpgaSensorReadings.fpgaCD1ReadCnt; + return fpgaSensorReadings.fpgaD17CondReadCnt; } /*********************************************************************//** * @brief - * The getFPGACD1ErrorCount function gets CD1 conductivity sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD1ErrorCnt + * The getFPGAD17CondErrorCount function gets D17 conductivity sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD17CondErrorCnt * @details \b Outputs: none - * @return Latest CD1 conductivity sensor read error count + * @return Latest D17 conductivity sensor read error count *************************************************************************/ -U08 getFPGACD1ErrorCount( void ) +U08 getFPGAD17CondErrorCount( void ) { - return fpgaSensorReadings.fpgaCD1ErrorCnt; + return fpgaSensorReadings.fpgaD17CondErrorCnt; } /*********************************************************************//** * @brief - * The getFPGACD1 function gets CD1 conductivity sensor value. + * The getFPGAD17Cond function gets D17 conductivity sensor value. * @details \b Inputs: fpgaSensorReadings.fpgaCD1 * @details \b Outputs: none - * @return Latest CD1 conductivity sensor value + * @return Latest D17 conductivity sensor value *************************************************************************/ -U16 getFPGACD1( void ) +U16 getFPGAD17Cond( void ) { - return fpgaSensorReadings.fpgaCD1Cond; + return fpgaSensorReadings.fpgaD17CondCond; } /*********************************************************************//** * @brief - * The getFPGACD1Temp function gets CD1 conductivity sensor temperature value. + * The getFPGAD17CondTemp function gets D17 conductivity sensor temperature value. * @details \b Inputs: fpgaSensorReadings.fpgaCD1Temp * @details \b Outputs: none - * @return Latest CD1 conductivity sensor temperature value + * @return Latest D17 conductivity sensor temperature value *************************************************************************/ -U16 getFPGACD1Temp( void ) +U16 getFPGAD17CondTemp( void ) { - return fpgaSensorReadings.fpgaCD1Temp; + return fpgaSensorReadings.fpgaD17CondTemp; } /*********************************************************************//** * @brief - * The getFPGACD1Data function gets CD1 conductivity sensor register value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD1DataOut + * The getFPGAD17CondData function gets D17 conductivity sensor register value. + * @details \b Inputs: fpgaSensorReadings.fpgaD17CondDataOut * @details \b Outputs: none - * @return Latest CD1 conductivity sensor register data value + * @return Latest D17 conductivity sensor register data value *************************************************************************/ -U32 getFPGACD1Data( void ) +U32 getFPGAD17CondData( void ) { - return fpgaSensorReadings.fpgaCD1DataOut; + return fpgaSensorReadings.fpgaD17CondDataOut; } /*********************************************************************//** * @brief - * The getFPGACD2ReadCount function gets CD2 conductivity sensor read count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD2ReadCnt + * The getFPGAD27CondReadCount function gets D27 conductivity sensor read count. + * @details \b Inputs: fpgaSensorReadings.fpgaD27CondReadCnt * @details \b Outputs: none - * @return Latest CD2 conductivity sensor read count + * @return Latest D27 conductivity sensor read count *************************************************************************/ -U08 getFPGACD2ReadCount( void ) +U08 getFPGAD27CondReadCount( void ) { - return fpgaSensorReadings.fpgaCD2ReadCnt; + return fpgaSensorReadings.fpgaD27CondReadCnt; } /*********************************************************************//** * @brief - * The getFPGACD2ErrorCount function gets CD2 conductivity sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD2ErrorCnt + * The getFPGAD27CondErrorCount function gets D27 conductivity sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD27CondErrorCnt * @details \b Outputs: none - * @return Latest CD2 conductivity sensor read error count + * @return Latest D27 conductivity sensor read error count *************************************************************************/ -U08 getFPGACD2ErrorCount( void ) +U08 getFPGAD27CondErrorCount( void ) { - return fpgaSensorReadings.fpgaCD2ErrorCnt; + return fpgaSensorReadings.fpgaD27CondErrorCnt; } /*********************************************************************//** * @brief - * The getFPGACD2 function gets CD2 conductivity sensor value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD2 + * The getFPGAD27Cond function gets D27 conductivity sensor value. + * @details \b Inputs: fpgaSensorReadings.fpgaD27Cond * @details \b Outputs: none - * @return Latest CD2 conductivity sensor value + * @return Latest D27 conductivity sensor value *************************************************************************/ -U16 getFPGACD2( void ) +U16 getFPGAD27Cond( void ) { - return fpgaSensorReadings.fpgaCD2Cond; + return fpgaSensorReadings.fpgaD27CondCond; } /*********************************************************************//** * @brief - * The getFPGACD2Temp function gets CD2 conductivity sensor temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD2Temp + * The getFPGAD27CondTemp function gets D27 conductivity sensor temperature value. + * @details \b Inputs: fpgaSensorReadings.fpgaD27CondTemp * @details \b Outputs: none - * @return Latest CD2 conductivity sensor temperature value + * @return Latest D27 conductivity sensor temperature value *************************************************************************/ -U16 getFPGACD2Temp( void ) +U16 getFPGAD27CondTemp( void ) { - return fpgaSensorReadings.fpgaCD2Temp; + return fpgaSensorReadings.fpgaD27CondTemp; } /*********************************************************************//** * @brief - * The getFPGACD2Data function gets CD2 conductivity sensor register value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD2DataOut + * The getFPGAD27CondData function gets D27 conductivity sensor register value. + * @details \b Inputs: fpgaSensorReadings.fpgaD27CondDataOut * @details \b Outputs: none - * @return Latest CD2 conductivity sensor register data value + * @return Latest D27 conductivity sensor register data value *************************************************************************/ -U32 getFPGACD2Data( void ) +U32 getFPGAD27CondData( void ) { - return fpgaSensorReadings.fpgaCD2DataOut; + return fpgaSensorReadings.fpgaD27CondDataOut; } /*********************************************************************//** * @brief - * The getFPGACD3ReadCount function gets CD3 conductivity sensor read count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD3ReadCnt + * The getFPGAD29CondReadCount function gets D29 conductivity sensor read count. + * @details \b Inputs: fpgaSensorReadings.fpgaD29CondReadCnt * @details \b Outputs: none - * @return Latest CD3 conductivity sensor read count + * @return Latest D29 conductivity sensor read count *************************************************************************/ -U08 getFPGACD3ReadCount( void ) +U08 getFPGAD29CondReadCount( void ) { - return fpgaSensorReadings.fpgaCD3ReadCnt; + return fpgaSensorReadings.fpgaD29CondReadCnt; } /*********************************************************************//** * @brief - * The getFPGACD3ErrorCount function gets CD3 conductivity sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD3ErrorCnt + * The getFPGAD29CondErrorCount function gets D29 conductivity sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD29CondErrorCnt * @details \b Outputs: none - * @return Latest CD3 conductivity sensor read error count + * @return Latest D29 conductivity sensor read error count *************************************************************************/ -U08 getFPGACD3ErrorCount( void ) +U08 getFPGAD29CondErrorCount( void ) { - return fpgaSensorReadings.fpgaCD3ErrorCnt; + return fpgaSensorReadings.fpgaD29CondErrorCnt; } /*********************************************************************//** * @brief - * The getFPGACD3 function gets CD3 conductivity sensor value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD3 + * The getFPGAD29Cond function gets D29 conductivity sensor value. + * @details \b Inputs: fpgaSensorReadings.fpgaD29Cond * @details \b Outputs: none - * @return Latest CD3 conductivity sensor value + * @return Latest D29 conductivity sensor value *************************************************************************/ -U16 getFPGACD3( void ) +U16 getFPGAD29Cond( void ) { - return fpgaSensorReadings.fpgaCD3Cond; + return fpgaSensorReadings.fpgaD29CondCond; } /*********************************************************************//** * @brief - * The getFPGACD3Temp function gets CD3 conductivity sensor temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD3Temp + * The getFPGAD29CondTemp function gets D29 conductivity sensor temperature value. + * @details \b Inputs: fpgaSensorReadings.fpgaD29CondTemp * @details \b Outputs: none - * @return Latest CD3 conductivity sensor temperature value + * @return Latest D29 conductivity sensor temperature value *************************************************************************/ -U16 getFPGACD3Temp( void ) +U16 getFPGAD29CondTemp( void ) { - return fpgaSensorReadings.fpgaCD3Temp; + return fpgaSensorReadings.fpgaD29CondTemp; } /*********************************************************************//** * @brief - * The getFPGACD3Data function gets CD3 conductivity sensor register value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD3DataOut + * The getFPGAD29CondData function gets D29 conductivity sensor register value. + * @details \b Inputs: fpgaSensorReadings.fpgaD29CondDataOut * @details \b Outputs: none - * @return Latest CD3 conductivity sensor register data value + * @return Latest D29 conductivity sensor register data value *************************************************************************/ -U32 getFPGACD3Data( void ) +U32 getFPGAD29CondData( void ) { - return fpgaSensorReadings.fpgaCD3DataOut; + return fpgaSensorReadings.fpgaD29CondDataOut; } /*********************************************************************//** * @brief - * The getFPGACD4ReadCount function gets CD4 conductivity sensor read count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD4ReadCnt + * The getFPGAD43CondReadCount function gets D43 conductivity sensor read count. + * @details \b Inputs: fpgaSensorReadings.fpgaD43CondReadCnt * @details \b Outputs: none - * @return Latest CD4 conductivity sensor read count + * @return Latest D43 conductivity sensor read count *************************************************************************/ -U08 getFPGACD4ReadCount( void ) +U08 getFPGAD43CondReadCount( void ) { - return fpgaSensorReadings.fpgaCD4ReadCnt; + return fpgaSensorReadings.fpgaD43CondReadCnt; } /*********************************************************************//** * @brief - * The getFPGACD4ErrorCount function gets CD4 conductivity sensor error count. - * @details \b Inputs: fpgaSensorReadings.fpgaCD4ErrorCnt + * The getFPGAD43CondErrorCount function gets D43 conductivity sensor error count. + * @details \b Inputs: fpgaSensorReadings.fpgaD43CondErrorCnt * @details \b Outputs: none - * @return Latest CD4 conductivity sensor read error count + * @return Latest D43 conductivity sensor read error count *************************************************************************/ -U08 getFPGACD4ErrorCount( void ) +U08 getFPGAD43CondErrorCount( void ) { - return fpgaSensorReadings.fpgaCD4ErrorCnt; + return fpgaSensorReadings.fpgaD43CondErrorCnt; } /*********************************************************************//** * @brief - * The getFPGACD4 function gets CD4 conductivity sensor value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD4 + * The getFPGAD43Cond function gets D43 conductivity sensor value. + * @details \b Inputs: fpgaSensorReadings.fpgaD43Cond * @details \b Outputs: none - * @return Latest CD4 conductivity sensor value + * @return Latest D43 conductivity sensor value *************************************************************************/ -U16 getFPGACD4( void ) +U16 getFPGAD43Cond( void ) { - return fpgaSensorReadings.fpgaCD4Cond; + return fpgaSensorReadings.fpgaD43CondCond; } /*********************************************************************//** * @brief - * The getFPGACD4Temp function gets CD4 conductivity sensor temperature value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD4Temp + * The getFPGAD43CondTemp function gets D43 conductivity sensor temperature value. + * @details \b Inputs: fpgaSensorReadings.fpgaD43CondTemp * @details \b Outputs: none - * @return Latest CD4 conductivity sensor temperature value + * @return Latest D43 conductivity sensor temperature value *************************************************************************/ -U16 getFPGACD4Temp( void ) +U16 getFPGAD43CondTemp( void ) { - return fpgaSensorReadings.fpgaCD4Temp; + return fpgaSensorReadings.fpgaD43CondTemp; } /*********************************************************************//** * @brief - * The getFPGACD4Data function gets CD4 conductivity sensor register value. - * @details \b Inputs: fpgaSensorReadings.fpgaCD4DataOut + * The getFPGAD43CondData function gets D43 conductivity sensor register value. + * @details \b Inputs: fpgaSensorReadings.fpgaD43CondDataOut * @details \b Outputs: none - * @return Latest CD4 conductivity sensor register data value + * @return Latest D43 conductivity sensor register data value *************************************************************************/ -U32 getFPGACD4Data( void ) +U32 getFPGAD43CondData( void ) { - return fpgaSensorReadings.fpgaCD4DataOut; + return fpgaSensorReadings.fpgaD43CondDataOut; } /*********************************************************************//**