1 /* mbed Microcontroller Library
2 * Copyright (c) 2006-2014 ARM Limited
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 #ifndef MBED_PINNAMES_H
17 #define MBED_PINNAMES_H
106 p10 = P0_18, // CN1-10
107 p11 = P0_21, // CN1-11
108 p12 = P0_22, // CN1-12
109 p13 = P1_15, // CN1-13
110 p14 = P0_6, // CN1-14
111 p15 = P0_11, // CN1-15
112 p16 = P0_12, // CN1-16
113 p17 = P0_13, // CN1-17
114 p18 = P0_14, // CN1-18
115 p19 = P0_15, // CN1-19
116 p20 = P0_16, // CN1-20
118 p21 = P0_14, // CN2-20
119 p22 = P0_2, // CN2-19
120 p23 = P0_23, // CN2-18
121 p24 = P0_17, // CN2-17
122 p25 = P0_20, // CN2-16
123 p26 = P1_15, // CN2-15
124 p27 = P0_4, // CN2-14
125 p28 = P0_5, // CN2-13
126 p29 = P1_19, // CN2-12
127 p30 = P0_1, // CN2-11
130 p33 = P0_3, // CN2-8 (USB-VBUS)
139 // Other mbed Pin Names
149 NC = (int)0xFFFFFFFF,
151 // Standard but not supported pins
158 CHANNEL0 = FLEX_INT0_IRQn,
159 CHANNEL1 = FLEX_INT1_IRQn,
160 CHANNEL2 = FLEX_INT2_IRQn,
161 CHANNEL3 = FLEX_INT3_IRQn,
162 CHANNEL4 = FLEX_INT4_IRQn,
163 CHANNEL5 = FLEX_INT5_IRQn,
164 CHANNEL6 = FLEX_INT6_IRQn,
165 CHANNEL7 = FLEX_INT7_IRQn
174 PullDefault = PullDown