aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/DataDef.h
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-02-07 18:00:49 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-02-07 18:00:49 +0200
commit85be4860a445cd2cb5dcc01a582fbea5fe21c200 (patch)
tree91fc526021912d78d37a22273e71e50fcddc5c3f /Software/Embedded_SW/Embedded/DataDef.h
parent340de72c8da0c0a5a661664f7fa26f756e43a15a (diff)
parent5a3c7560c32ad3346fa2648466e9791c8bebf2aa (diff)
downloadTango-85be4860a445cd2cb5dcc01a582fbea5fe21c200.tar.gz
Tango-85be4860a445cd2cb5dcc01a582fbea5fe21c200.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
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