aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/DataDef.h
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Embedded_SW/Embedded/DataDef.h')
-rw-r--r--Software/Embedded_SW/Embedded/DataDef.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/DataDef.h b/Software/Embedded_SW/Embedded/DataDef.h
index b5edc9554..669e2cbe5 100644
--- a/Software/Embedded_SW/Embedded/DataDef.h
+++ b/Software/Embedded_SW/Embedded/DataDef.h
@@ -44,7 +44,7 @@
#endif
//#define USE_UART4_FOR_BTSR // need change in FRPGA FPGA_1 yy > 0x20 + jumpers in main board need to read HW Version - no need when working only with stubs
-//#define FORCE_BTSR_CARD_0023 // only for testing, include changes for BTSR without ASSY ID. use it with USE_UART4_FOR_BTSR
+//#define FORCE_BTSR_CARD_0023 //0014 only for testing, include changes for BTSR without ASSY ID. use it with USE_UART4_FOR_BTSR
//#define USE_RFID_STUB //stub only. to use it undef USE_RFID_LOGIC
//#define RFID_READ_ONLY //
@@ -491,6 +491,13 @@ typedef enum
typedef enum
{
+ I2C_COMM_UNKNOWN,
+ I2C_COMM_PASSED,
+ I2C_COMM_FAILED,
+}I2C_COMM_STAT;
+
+typedef enum
+{
DEFAULT_POLARITY = 0,//OPTIC_LS , MAGNETIC_LS CARD 2
INVERSION_POLARITY = 1,//MAGNETIC_LS CARD 2 - must be 1 used for xor the polarity
}LS_POLARITY;
@@ -636,6 +643,7 @@ typedef struct
DISP_EEPROM Write_Disp_EEPROM;
DISP_EEPROM Read_Disp_EEPROM;
LS_STATUS Status;
+ I2C_COMM_STAT I2C_Status;// TBD added to calculate the pressure as new when there is i2c no communication (unable to read the eeprom)
}DISP;
DISP Dispenser_struct[8];