diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-07 18:00:49 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-07 18:00:49 +0200 |
| commit | 85be4860a445cd2cb5dcc01a582fbea5fe21c200 (patch) | |
| tree | 91fc526021912d78d37a22273e71e50fcddc5c3f /Software/Embedded_SW/Embedded/DataDef.h | |
| parent | 340de72c8da0c0a5a661664f7fa26f756e43a15a (diff) | |
| parent | 5a3c7560c32ad3346fa2648466e9791c8bebf2aa (diff) | |
| download | Tango-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.h | 21 |
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 |
