Index: firmware/App/Services/FpgaDD.h =================================================================== diff -u -r5d60262836ddc8f80ac98f07f2cfd6707a5b7b79 -r33090b2328de68d9b94e95feeb5307d8fdc66b97 --- firmware/App/Services/FpgaDD.h (.../FpgaDD.h) (revision 5d60262836ddc8f80ac98f07f2cfd6707a5b7b79) +++ firmware/App/Services/FpgaDD.h (.../FpgaDD.h) (revision 33090b2328de68d9b94e95feeb5307d8fdc66b97) @@ -7,8 +7,8 @@ * * @file FpgaDD.h * -* @author (last) Varshini Nagabooshanam -* @date (last) 27-Jan-2026 +* @author (last) Raghu Kallala +* @date (last) 23-Feb-2026 * * @author (original) Vinayakam Mani * @date (original) 26-Aug-2024 @@ -30,9 +30,18 @@ // ********** public definitions ********** +/// Leak sensor status from FPGA GPIO_Status register. +typedef enum FpgaGpioLeakSensorStatus +{ + FPGA_GPIO_LEAK_SENSOR_NOT_DETECTED = 0, ///< No leak + FPGA_GPIO_LEAK_SENSOR_DETECTED, ///< Leak detected + NUM_OF_FPGA_GPIO_LEAK_SENSOR_STATUS +} FPGA_GPIO_LEAK_SENSOR_STATUS_T; + // ********** public function prototypes ********** void initFPGADD( void ); +void initFPGAPerHW( BOOL isHWBeta2 ); void execFPGAClockSpeedTest( void ); SELF_TEST_STATUS_T execFPGATest( void ); @@ -199,7 +208,7 @@ U16 getFPGAD63LevelSensor( void ); U16 getFPGAD98LevelSensor( void ); U16 getFPGAD46LevelSensor( void ); -BOOL getFPGAD6LevelStatus( void ); +U08 getFPGAD6LevelStatus( void ); U08 getFPGAFloater2Status( void ); //Temperature sensors @@ -210,7 +219,19 @@ U32 getFPGAD99Temp( void ); U08 getFPGARTDReadCount( void ); U08 getFPGARTDCountErrorCycles( void ); +U08 getFPGAIOExpanderReadCount( void ); +U08 getFPGAIOExpanderErrorCount( void ); +U08 getFPGAHallSensorStatus( void ); +U08 getFPGAGPIOStatus( void ); +BOOL getACSwitchStatus( void ); +FPGA_GPIO_LEAK_SENSOR_STATUS_T getFPGALeakSensorStatus( void ); + +U32 getFPGATempTax1( void ); +U32 getFPGATempRTD( void ); +U08 getFPGAAD7124ReadCount( void ); +U08 getFPGAAD7124ErrorCount( void ); + //Primary and Trimmer heater void setFPGAD5HeaterPWMControl( U08 control ); void setFPGAD45HeaterPWMControl( U08 control ); @@ -278,6 +299,10 @@ U16 getFPGAFlowP7( void ); U16 getFPGAFlowP7Temp( void ); U16 getFPGAFlowP7InternalTemp( void ); +U08 getFPGAFlowP7ReadCount( void ); +U08 getFPGAFlowP7ErrorCount( void ); +U08 getFPGAFlowP16ReadCount( void ); +U08 getFPGAFlowP16ErrorCount( void ); // Conductivity U08 getFPGAP9CondReadCount( void );