Davi Souza
/
pymite
python
Fork of pymite by
platform/mbed/PinNameTable.h@3:559c4bd38111, 2013-03-13 (annotated)
- Committer:
- va009039
- Date:
- Wed Mar 13 10:05:34 2013 +0000
- Revision:
- 3:559c4bd38111
- Child:
- 5:19bd98307341
add TARGET_KL25Z
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 3:559c4bd38111 | 1 | // PinNameTable.h 2013/3/13 |
va009039 | 3:559c4bd38111 | 2 | #include "mbed.h" |
va009039 | 3:559c4bd38111 | 3 | #pragma once |
va009039 | 3:559c4bd38111 | 4 | |
va009039 | 3:559c4bd38111 | 5 | struct pinNameStr { |
va009039 | 3:559c4bd38111 | 6 | const char* name; |
va009039 | 3:559c4bd38111 | 7 | const PinName pin; |
va009039 | 3:559c4bd38111 | 8 | }; |
va009039 | 3:559c4bd38111 | 9 | |
va009039 | 3:559c4bd38111 | 10 | #define P(A) {#A, A} |
va009039 | 3:559c4bd38111 | 11 | const struct pinNameStr pinname_table[] = { |
va009039 | 3:559c4bd38111 | 12 | #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC11U24) |
va009039 | 3:559c4bd38111 | 13 | // LPC1768 PinNames sorted |
va009039 | 3:559c4bd38111 | 14 | P(LED1), |
va009039 | 3:559c4bd38111 | 15 | P(LED2), |
va009039 | 3:559c4bd38111 | 16 | P(LED3), |
va009039 | 3:559c4bd38111 | 17 | P(LED4), |
va009039 | 3:559c4bd38111 | 18 | P(USBRX), |
va009039 | 3:559c4bd38111 | 19 | P(USBTX), |
va009039 | 3:559c4bd38111 | 20 | P(p10), |
va009039 | 3:559c4bd38111 | 21 | P(p11), |
va009039 | 3:559c4bd38111 | 22 | P(p12), |
va009039 | 3:559c4bd38111 | 23 | P(p13), |
va009039 | 3:559c4bd38111 | 24 | P(p14), |
va009039 | 3:559c4bd38111 | 25 | P(p15), |
va009039 | 3:559c4bd38111 | 26 | P(p16), |
va009039 | 3:559c4bd38111 | 27 | P(p17), |
va009039 | 3:559c4bd38111 | 28 | P(p18), |
va009039 | 3:559c4bd38111 | 29 | P(p19), |
va009039 | 3:559c4bd38111 | 30 | P(p20), |
va009039 | 3:559c4bd38111 | 31 | P(p21), |
va009039 | 3:559c4bd38111 | 32 | P(p22), |
va009039 | 3:559c4bd38111 | 33 | P(p23), |
va009039 | 3:559c4bd38111 | 34 | P(p24), |
va009039 | 3:559c4bd38111 | 35 | P(p25), |
va009039 | 3:559c4bd38111 | 36 | P(p26), |
va009039 | 3:559c4bd38111 | 37 | P(p27), |
va009039 | 3:559c4bd38111 | 38 | P(p28), |
va009039 | 3:559c4bd38111 | 39 | P(p29), |
va009039 | 3:559c4bd38111 | 40 | P(p30), |
va009039 | 3:559c4bd38111 | 41 | P(p5), |
va009039 | 3:559c4bd38111 | 42 | P(p6), |
va009039 | 3:559c4bd38111 | 43 | P(p7), |
va009039 | 3:559c4bd38111 | 44 | P(p8), |
va009039 | 3:559c4bd38111 | 45 | P(p9), |
va009039 | 3:559c4bd38111 | 46 | #endif |
va009039 | 3:559c4bd38111 | 47 | |
va009039 | 3:559c4bd38111 | 48 | #if defined(TARGET_KL25Z) |
va009039 | 3:559c4bd38111 | 49 | // KL25Z PinName sorted |
va009039 | 3:559c4bd38111 | 50 | P(A0), |
va009039 | 3:559c4bd38111 | 51 | P(A1), |
va009039 | 3:559c4bd38111 | 52 | P(A2), |
va009039 | 3:559c4bd38111 | 53 | P(A3), |
va009039 | 3:559c4bd38111 | 54 | P(A4), |
va009039 | 3:559c4bd38111 | 55 | P(A5), |
va009039 | 3:559c4bd38111 | 56 | P(D0), |
va009039 | 3:559c4bd38111 | 57 | P(D1), |
va009039 | 3:559c4bd38111 | 58 | P(D10), |
va009039 | 3:559c4bd38111 | 59 | P(D11), |
va009039 | 3:559c4bd38111 | 60 | P(D12), |
va009039 | 3:559c4bd38111 | 61 | P(D13), |
va009039 | 3:559c4bd38111 | 62 | P(D14), |
va009039 | 3:559c4bd38111 | 63 | P(D15), |
va009039 | 3:559c4bd38111 | 64 | P(D2), |
va009039 | 3:559c4bd38111 | 65 | P(D3), |
va009039 | 3:559c4bd38111 | 66 | P(D4), |
va009039 | 3:559c4bd38111 | 67 | P(D5), |
va009039 | 3:559c4bd38111 | 68 | P(D6), |
va009039 | 3:559c4bd38111 | 69 | P(D7), |
va009039 | 3:559c4bd38111 | 70 | P(D8), |
va009039 | 3:559c4bd38111 | 71 | P(D9), |
va009039 | 3:559c4bd38111 | 72 | P(LED1), |
va009039 | 3:559c4bd38111 | 73 | P(LED2), |
va009039 | 3:559c4bd38111 | 74 | P(LED3), |
va009039 | 3:559c4bd38111 | 75 | P(LED4), |
va009039 | 3:559c4bd38111 | 76 | P(LED_BLUE), |
va009039 | 3:559c4bd38111 | 77 | P(LED_GREEN), |
va009039 | 3:559c4bd38111 | 78 | P(LED_RED), |
va009039 | 3:559c4bd38111 | 79 | P(PTA0), |
va009039 | 3:559c4bd38111 | 80 | P(PTA1), |
va009039 | 3:559c4bd38111 | 81 | P(PTA10), |
va009039 | 3:559c4bd38111 | 82 | P(PTA11), |
va009039 | 3:559c4bd38111 | 83 | P(PTA12), |
va009039 | 3:559c4bd38111 | 84 | P(PTA13), |
va009039 | 3:559c4bd38111 | 85 | P(PTA14), |
va009039 | 3:559c4bd38111 | 86 | P(PTA15), |
va009039 | 3:559c4bd38111 | 87 | P(PTA16), |
va009039 | 3:559c4bd38111 | 88 | P(PTA17), |
va009039 | 3:559c4bd38111 | 89 | P(PTA18), |
va009039 | 3:559c4bd38111 | 90 | P(PTA19), |
va009039 | 3:559c4bd38111 | 91 | P(PTA2), |
va009039 | 3:559c4bd38111 | 92 | P(PTA20), |
va009039 | 3:559c4bd38111 | 93 | P(PTA21), |
va009039 | 3:559c4bd38111 | 94 | P(PTA22), |
va009039 | 3:559c4bd38111 | 95 | P(PTA23), |
va009039 | 3:559c4bd38111 | 96 | P(PTA24), |
va009039 | 3:559c4bd38111 | 97 | P(PTA25), |
va009039 | 3:559c4bd38111 | 98 | P(PTA26), |
va009039 | 3:559c4bd38111 | 99 | P(PTA27), |
va009039 | 3:559c4bd38111 | 100 | P(PTA28), |
va009039 | 3:559c4bd38111 | 101 | P(PTA29), |
va009039 | 3:559c4bd38111 | 102 | P(PTA3), |
va009039 | 3:559c4bd38111 | 103 | P(PTA30), |
va009039 | 3:559c4bd38111 | 104 | P(PTA31), |
va009039 | 3:559c4bd38111 | 105 | P(PTA4), |
va009039 | 3:559c4bd38111 | 106 | P(PTA5), |
va009039 | 3:559c4bd38111 | 107 | P(PTA6), |
va009039 | 3:559c4bd38111 | 108 | P(PTA7), |
va009039 | 3:559c4bd38111 | 109 | P(PTA8), |
va009039 | 3:559c4bd38111 | 110 | P(PTA9), |
va009039 | 3:559c4bd38111 | 111 | P(PTB0), |
va009039 | 3:559c4bd38111 | 112 | P(PTB1), |
va009039 | 3:559c4bd38111 | 113 | P(PTB10), |
va009039 | 3:559c4bd38111 | 114 | P(PTB11), |
va009039 | 3:559c4bd38111 | 115 | P(PTB12), |
va009039 | 3:559c4bd38111 | 116 | P(PTB13), |
va009039 | 3:559c4bd38111 | 117 | P(PTB14), |
va009039 | 3:559c4bd38111 | 118 | P(PTB15), |
va009039 | 3:559c4bd38111 | 119 | P(PTB16), |
va009039 | 3:559c4bd38111 | 120 | P(PTB17), |
va009039 | 3:559c4bd38111 | 121 | P(PTB18), |
va009039 | 3:559c4bd38111 | 122 | P(PTB19), |
va009039 | 3:559c4bd38111 | 123 | P(PTB2), |
va009039 | 3:559c4bd38111 | 124 | P(PTB20), |
va009039 | 3:559c4bd38111 | 125 | P(PTB21), |
va009039 | 3:559c4bd38111 | 126 | P(PTB22), |
va009039 | 3:559c4bd38111 | 127 | P(PTB23), |
va009039 | 3:559c4bd38111 | 128 | P(PTB24), |
va009039 | 3:559c4bd38111 | 129 | P(PTB25), |
va009039 | 3:559c4bd38111 | 130 | P(PTB26), |
va009039 | 3:559c4bd38111 | 131 | P(PTB27), |
va009039 | 3:559c4bd38111 | 132 | P(PTB28), |
va009039 | 3:559c4bd38111 | 133 | P(PTB29), |
va009039 | 3:559c4bd38111 | 134 | P(PTB3), |
va009039 | 3:559c4bd38111 | 135 | P(PTB30), |
va009039 | 3:559c4bd38111 | 136 | P(PTB31), |
va009039 | 3:559c4bd38111 | 137 | P(PTB4), |
va009039 | 3:559c4bd38111 | 138 | P(PTB5), |
va009039 | 3:559c4bd38111 | 139 | P(PTB6), |
va009039 | 3:559c4bd38111 | 140 | P(PTB7), |
va009039 | 3:559c4bd38111 | 141 | P(PTB8), |
va009039 | 3:559c4bd38111 | 142 | P(PTB9), |
va009039 | 3:559c4bd38111 | 143 | P(PTC0), |
va009039 | 3:559c4bd38111 | 144 | P(PTC1), |
va009039 | 3:559c4bd38111 | 145 | P(PTC10), |
va009039 | 3:559c4bd38111 | 146 | P(PTC11), |
va009039 | 3:559c4bd38111 | 147 | P(PTC12), |
va009039 | 3:559c4bd38111 | 148 | P(PTC13), |
va009039 | 3:559c4bd38111 | 149 | P(PTC14), |
va009039 | 3:559c4bd38111 | 150 | P(PTC15), |
va009039 | 3:559c4bd38111 | 151 | P(PTC16), |
va009039 | 3:559c4bd38111 | 152 | P(PTC17), |
va009039 | 3:559c4bd38111 | 153 | P(PTC18), |
va009039 | 3:559c4bd38111 | 154 | P(PTC19), |
va009039 | 3:559c4bd38111 | 155 | P(PTC2), |
va009039 | 3:559c4bd38111 | 156 | P(PTC20), |
va009039 | 3:559c4bd38111 | 157 | P(PTC21), |
va009039 | 3:559c4bd38111 | 158 | P(PTC22), |
va009039 | 3:559c4bd38111 | 159 | P(PTC23), |
va009039 | 3:559c4bd38111 | 160 | P(PTC24), |
va009039 | 3:559c4bd38111 | 161 | P(PTC25), |
va009039 | 3:559c4bd38111 | 162 | P(PTC26), |
va009039 | 3:559c4bd38111 | 163 | P(PTC27), |
va009039 | 3:559c4bd38111 | 164 | P(PTC28), |
va009039 | 3:559c4bd38111 | 165 | P(PTC29), |
va009039 | 3:559c4bd38111 | 166 | P(PTC3), |
va009039 | 3:559c4bd38111 | 167 | P(PTC30), |
va009039 | 3:559c4bd38111 | 168 | P(PTC31), |
va009039 | 3:559c4bd38111 | 169 | P(PTC4), |
va009039 | 3:559c4bd38111 | 170 | P(PTC5), |
va009039 | 3:559c4bd38111 | 171 | P(PTC6), |
va009039 | 3:559c4bd38111 | 172 | P(PTC7), |
va009039 | 3:559c4bd38111 | 173 | P(PTC8), |
va009039 | 3:559c4bd38111 | 174 | P(PTC9), |
va009039 | 3:559c4bd38111 | 175 | P(PTD0), |
va009039 | 3:559c4bd38111 | 176 | P(PTD1), |
va009039 | 3:559c4bd38111 | 177 | P(PTD10), |
va009039 | 3:559c4bd38111 | 178 | P(PTD11), |
va009039 | 3:559c4bd38111 | 179 | P(PTD12), |
va009039 | 3:559c4bd38111 | 180 | P(PTD13), |
va009039 | 3:559c4bd38111 | 181 | P(PTD14), |
va009039 | 3:559c4bd38111 | 182 | P(PTD15), |
va009039 | 3:559c4bd38111 | 183 | P(PTD16), |
va009039 | 3:559c4bd38111 | 184 | P(PTD17), |
va009039 | 3:559c4bd38111 | 185 | P(PTD18), |
va009039 | 3:559c4bd38111 | 186 | P(PTD19), |
va009039 | 3:559c4bd38111 | 187 | P(PTD2), |
va009039 | 3:559c4bd38111 | 188 | P(PTD20), |
va009039 | 3:559c4bd38111 | 189 | P(PTD21), |
va009039 | 3:559c4bd38111 | 190 | P(PTD22), |
va009039 | 3:559c4bd38111 | 191 | P(PTD23), |
va009039 | 3:559c4bd38111 | 192 | P(PTD24), |
va009039 | 3:559c4bd38111 | 193 | P(PTD25), |
va009039 | 3:559c4bd38111 | 194 | P(PTD26), |
va009039 | 3:559c4bd38111 | 195 | P(PTD27), |
va009039 | 3:559c4bd38111 | 196 | P(PTD28), |
va009039 | 3:559c4bd38111 | 197 | P(PTD29), |
va009039 | 3:559c4bd38111 | 198 | P(PTD3), |
va009039 | 3:559c4bd38111 | 199 | P(PTD30), |
va009039 | 3:559c4bd38111 | 200 | P(PTD31), |
va009039 | 3:559c4bd38111 | 201 | P(PTD4), |
va009039 | 3:559c4bd38111 | 202 | P(PTD5), |
va009039 | 3:559c4bd38111 | 203 | P(PTD6), |
va009039 | 3:559c4bd38111 | 204 | P(PTD7), |
va009039 | 3:559c4bd38111 | 205 | P(PTD8), |
va009039 | 3:559c4bd38111 | 206 | P(PTD9), |
va009039 | 3:559c4bd38111 | 207 | P(PTE0), |
va009039 | 3:559c4bd38111 | 208 | P(PTE1), |
va009039 | 3:559c4bd38111 | 209 | P(PTE10), |
va009039 | 3:559c4bd38111 | 210 | P(PTE11), |
va009039 | 3:559c4bd38111 | 211 | P(PTE12), |
va009039 | 3:559c4bd38111 | 212 | P(PTE13), |
va009039 | 3:559c4bd38111 | 213 | P(PTE14), |
va009039 | 3:559c4bd38111 | 214 | P(PTE15), |
va009039 | 3:559c4bd38111 | 215 | P(PTE16), |
va009039 | 3:559c4bd38111 | 216 | P(PTE17), |
va009039 | 3:559c4bd38111 | 217 | P(PTE18), |
va009039 | 3:559c4bd38111 | 218 | P(PTE19), |
va009039 | 3:559c4bd38111 | 219 | P(PTE2), |
va009039 | 3:559c4bd38111 | 220 | P(PTE20), |
va009039 | 3:559c4bd38111 | 221 | P(PTE21), |
va009039 | 3:559c4bd38111 | 222 | P(PTE22), |
va009039 | 3:559c4bd38111 | 223 | P(PTE23), |
va009039 | 3:559c4bd38111 | 224 | P(PTE24), |
va009039 | 3:559c4bd38111 | 225 | P(PTE25), |
va009039 | 3:559c4bd38111 | 226 | P(PTE26), |
va009039 | 3:559c4bd38111 | 227 | P(PTE27), |
va009039 | 3:559c4bd38111 | 228 | P(PTE28), |
va009039 | 3:559c4bd38111 | 229 | P(PTE29), |
va009039 | 3:559c4bd38111 | 230 | P(PTE3), |
va009039 | 3:559c4bd38111 | 231 | P(PTE30), |
va009039 | 3:559c4bd38111 | 232 | P(PTE31), |
va009039 | 3:559c4bd38111 | 233 | P(PTE4), |
va009039 | 3:559c4bd38111 | 234 | P(PTE5), |
va009039 | 3:559c4bd38111 | 235 | P(PTE6), |
va009039 | 3:559c4bd38111 | 236 | P(PTE7), |
va009039 | 3:559c4bd38111 | 237 | P(PTE8), |
va009039 | 3:559c4bd38111 | 238 | P(PTE9), |
va009039 | 3:559c4bd38111 | 239 | P(USBRX), |
va009039 | 3:559c4bd38111 | 240 | P(USBTX), |
va009039 | 3:559c4bd38111 | 241 | #endif |
va009039 | 3:559c4bd38111 | 242 | }; |
va009039 | 3:559c4bd38111 | 243 |