Subversion Repositories svn.mios32

Rev

Rev 2593 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2593 Rev 2594
Line 4... Line 4...
4
4
-
 
5
// PHYSICAL HARDWARE LEDs (three colors per LED)
-
 
6
extern const u8 HW_LED_RED_GP1;
-
 
7
extern const u8 HW_LED_RED_GP2;
5
extern const u8 led_startstop;
8
extern const u8 HW_LED_RED_GP3;
-
 
9
extern const u8 HW_LED_RED_GP4;
-
 
10
extern const u8 HW_LED_RED_GP5;
6
extern const u8 led_armrecord;
11
extern const u8 HW_LED_RED_GP6;
7
12
8
extern const u8 LED_GP1;
13
extern const u8 HW_LED_GREEN_GP1;
9
extern const u8 led_gp2;
14
extern const u8 HW_LED_GREEN_GP2;
10
extern const u8 led_gp3;
15
extern const u8 HW_LED_GREEN_GP3;
11
extern const u8 led_gp4;
16
extern const u8 HW_LED_GREEN_GP4;
12
extern const u8 led_gp5;
17
extern const u8 HW_LED_GREEN_GP5;
13
extern const u8 led_gp6;
18
extern const u8 HW_LED_GREEN_GP6;
14
19
15
extern const u8 led_unmute1;
20
extern const u8 HW_LED_BLUE_GP1;
16
extern const u8 led_unmute2;
21
extern const u8 HW_LED_BLUE_GP2;
17
extern const u8 led_unmute3;
22
extern const u8 HW_LED_BLUE_GP3;
18
extern const u8 led_unmute4;
23
extern const u8 HW_LED_BLUE_GP4;
19
extern const u8 led_unmute5;
24
extern const u8 HW_LED_BLUE_GP5;
20
extern const u8 led_unmute6;
25
extern const u8 HW_LED_BLUE_GP6;
21
26
-
 
27
extern const u8 HW_LED_RED_RUNSTOP;
22
extern const u8 led_active1;
28
extern const u8 HW_LED_RED_ARM;
-
 
29
extern const u8 HW_LED_RED_SHIFT;
-
 
30
extern const u8 HW_LED_RED_MENU;
-
 
31
extern const u8 HW_LED_RED_COPY;
-
 
32
extern const u8 HW_LED_RED_PASTE;
-
 
33
extern const u8 HW_LED_RED_DELETE;
-
 
34
-
 
35
extern const u8 HW_LED_GREEN_RUNSTOP;
-
 
36
extern const u8 HW_LED_GREEN_ARM;
-
 
37
extern const u8 HW_LED_GREEN_SHIFT;
-
 
38
extern const u8 HW_LED_GREEN_MENU;
-
 
39
extern const u8 HW_LED_GREEN_COPY;
-
 
40
extern const u8 HW_LED_GREEN_PASTE;
-
 
41
extern const u8 HW_LED_GREEN_DELETE;
-
 
42
-
 
43
extern const u8 HW_LED_BLUE_RUNSTOP;
23
extern const u8 led_active2;
44
extern const u8 HW_LED_BLUE_ARM;
-
 
45
extern const u8 HW_LED_BLUE_SHIFT;
-
 
46
extern const u8 HW_LED_BLUE_MENU;
-
 
47
extern const u8 HW_LED_BLUE_COPY;
-
 
48
extern const u8 HW_LED_BLUE_PASTE;
-
 
49
extern const u8 HW_LED_BLUE_DELETE;
-
 
50
-
 
51
// LOGICAL LED STATES
24
extern const u8 led_active3;
52
extern const u8 LED_OFF;
25
extern const u8 led_active4;
53
extern const u8 LED_RED;
26
extern const u8 led_active5;
54
extern const u8 LED_GREEN;
27
extern const u8 led_active6;
55
extern const u8 LED_BLUE;
-
 
56
-
 
57
// LOGICAL LEDs (can be set to multiple colors)
-
 
58
enum MatiasLEDs
-
 
59
{
-
 
60
   LED_GP1, LED_GP2, LED_GP3, LED_GP4, LED_GP5, LED_GP6,
-
 
61
   LED_RUNSTOP, LED_ARM, LED_SHIFT, LED_MENU,
-
 
62
   LED_COPY, LED_PASTE, LED_DELETE
-
 
63
};
28
64
29
extern const u8 led_scene1;
65
extern const u8 led_scene1;
30
extern const u8 led_scene2;
66
extern const u8 led_scene2;
31
extern const u8 led_scene3;
67
extern const u8 led_scene3;
32
extern const u8 led_scene4;
68
extern const u8 led_scene4;
Line 54... Line 90...
54
extern const u8 led_beat3;
90
extern const u8 led_beat3;
55
91
56
92
57
// --- Switches ---
93
// --- Switches ---
58
94
59
extern const u8 sw_startstop;
95
extern const u8 sw_runstop;
60
extern const u8 sw_armrecord;
96
extern const u8 sw_armrecord;
61
extern const u8 sw_encoder2;
97
extern const u8 sw_encoder2;
62
98
63
extern const u8 sw_gp1;
99
extern const u8 sw_gp1;
64
extern const u8 sw_gp2;
100
extern const u8 sw_gp2;