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.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/DataDef.h b/Software/Embedded_SW/Embedded/DataDef.h
index 4c7698c1b..5397d2f6c 100644
--- a/Software/Embedded_SW/Embedded/DataDef.h
+++ b/Software/Embedded_SW/Embedded/DataDef.h
@@ -198,12 +198,26 @@ enum
#define BIT31 0x80000000 //0x01 << 31
+#define MAX_PWM_Command 100
+
+typedef enum
+{
+ //Don't change the value - keep it according to the bits in F3_GPO_02_bus
+ CART_1 = 1,
+ CART_2 = 2,
+ CART_3 = 3,
+ //-------------
+ POWER_ON_OFF,
+ THREAD_JOGGING ,
+ THREAD_LOAD ,
+}PANEL_BUTTONS_LEDS_ID;
+
typedef enum
{
MODE_OFF = 0,
MODE_ON = 1,
}OPERATION_MODE;
-
+/*
typedef enum
{
//according to the bits of the leds in F3_GPO_01_bus
@@ -211,7 +225,8 @@ typedef enum
THREAD_LOADING = 2,
JOGGING = 3,
}BUTTON;
-
+*/
+/*
typedef enum
{
//According to the bits of the leds in F3_GPO_02_bus
@@ -219,7 +234,7 @@ typedef enum
CART2 = 2,
CART3 = 3,
}CARTREGE;
-
+*/
//---------------------
#define MaxFlashWords 128 //1K
#define MaxFlashBytes MaxFlashWords*4 //4K Byte