Subversion Repositories svn.mios32

Rev

Rev 2644 | Rev 2648 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2644 Rev 2647
Line 1... Line 1...
1
// $Id: mios32_midi.h 1994 2014-05-18 18:43:33Z tk $
1
// $Id: mios32_midi.h 2647 2019-01-08 11:34:00Z Antichambre $
2
/*
2
/*
3
 * Header file for MIDI layer
3
 * Header file for MIDI layer
4
 *
4
 *
5
 * ==========================================================================
5
 * ==========================================================================
6
 *
6
 *
Line 73... Line 73...
73
  USB3 = 0x13,
73
  USB3 = 0x13,
74
  USB4 = 0x14,
74
  USB4 = 0x14,
75
  USB5 = 0x15,
75
  USB5 = 0x15,
76
  USB6 = 0x16,
76
  USB6 = 0x16,
77
  USB7 = 0x17,
77
  USB7 = 0x17,
-
 
78
  USB8 = 0x10,
-
 
79
  USB9 = 0x11,
-
 
80
  USB10 = 0x12,
-
 
81
  USB11 = 0x13,
-
 
82
  USB12 = 0x14,
-
 
83
  USB13 = 0x15,
-
 
84
  USB14 = 0x16,
-
 
85
  USB15 = 0x17,
78
86
79
  UART0 = 0x20,
87
  UART0 = 0x20,
80
  UART1 = 0x21,
88
  UART1 = 0x21,
81
  UART2 = 0x22,
89
  UART2 = 0x22,
82
  UART3 = 0x23,
90
  UART3 = 0x23,
Line 104... Line 112...
104
  SPIM2 = 0x52,
112
  SPIM2 = 0x52,
105
  SPIM3 = 0x53,
113
  SPIM3 = 0x53,
106
  SPIM4 = 0x54,
114
  SPIM4 = 0x54,
107
  SPIM5 = 0x55,
115
  SPIM5 = 0x55,
108
  SPIM6 = 0x56,
116
  SPIM6 = 0x56,
109
  SPIM7 = 0x57
117
  SPIM7 = 0x57,
-
 
118
  SPIM8 = 0x58,
-
 
119
  SPIM9 = 0x59,
-
 
120
  SPIM10 = 0x5a,
-
 
121
  SPIM11 = 0x5b,
-
 
122
  SPIM12 = 0x5c,
-
 
123
  SPIM13 = 0x5d,
-
 
124
  SPIM14 = 0x5e,
-
 
125
  SPIM15 = 0x5f,
-
 
126
-
 
127
  MCAN0 = 0x60,
-
 
128
  MCAN1 = 0x61,
-
 
129
  MCAN2 = 0x62,
-
 
130
  MCAN3 = 0x63,
-
 
131
  MCAN4 = 0x64,
-
 
132
  MCAN5 = 0x65,
-
 
133
  MCAN6 = 0x66,
-
 
134
  MCAN7 = 0x67,
-
 
135
  MCAN8 = 0x68,
-
 
136
  MCAN9 = 0x69,
-
 
137
  MCAN10 = 0x6a,
-
 
138
  MCAN11 = 0x6b,
-
 
139
  MCAN12 = 0x6c,
-
 
140
  MCAN13 = 0x6d,
-
 
141
  MCAN14 = 0x6e,
-
 
142
  MCAN15 = 0x6f
110
143
 
111
} mios32_midi_port_t;
144
} mios32_midi_port_t;
112
145
113
146
114
typedef enum {
147
typedef enum {
Line 143... Line 176...
143
176
144
177
145
typedef union {
178
typedef union {
146
  struct {
179
  struct {
147
    u32 ALL;
180
    u32 ALL;
-
 
181
  };
-
 
182
  struct {
-
 
183
    u8 bytes[4];
148
  };
184
  };
149
  struct {
185
  struct {
150
    u8 cin_cable;
186
    u8 cin_cable;
151
    u8 evnt0;
187
    u8 evnt0;
152
    u8 evnt1;
188
    u8 evnt1;