mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Thu Apr 03 11:45:06 2014 +0100
Revision:
149:1fb5f62b92bd
Parent:
targets/hal/TARGET_Freescale/TARGET_KSDK_MCUS/TARGET_K64F/PinNames.h@147:39a1839cac63
Synchronized with git revision 220c0bb39ceee40016e1e86350c058963d01ed42

Full URL: https://github.com/mbedmicro/mbed/commit/220c0bb39ceee40016e1e86350c058963d01ed42/

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 146:f64d43ff0c18 1 /* mbed Microcontroller Library
mbed_official 146:f64d43ff0c18 2 * Copyright (c) 2006-2013 ARM Limited
mbed_official 146:f64d43ff0c18 3 *
mbed_official 146:f64d43ff0c18 4 * Licensed under the Apache License, Version 2.0 (the "License");
mbed_official 146:f64d43ff0c18 5 * you may not use this file except in compliance with the License.
mbed_official 146:f64d43ff0c18 6 * You may obtain a copy of the License at
mbed_official 146:f64d43ff0c18 7 *
mbed_official 146:f64d43ff0c18 8 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 146:f64d43ff0c18 9 *
mbed_official 146:f64d43ff0c18 10 * Unless required by applicable law or agreed to in writing, software
mbed_official 146:f64d43ff0c18 11 * distributed under the License is distributed on an "AS IS" BASIS,
mbed_official 146:f64d43ff0c18 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbed_official 146:f64d43ff0c18 13 * See the License for the specific language governing permissions and
mbed_official 146:f64d43ff0c18 14 * limitations under the License.
mbed_official 146:f64d43ff0c18 15 */
mbed_official 146:f64d43ff0c18 16 #ifndef MBED_PINNAMES_H
mbed_official 146:f64d43ff0c18 17 #define MBED_PINNAMES_H
mbed_official 146:f64d43ff0c18 18
mbed_official 146:f64d43ff0c18 19 #include "cmsis.h"
mbed_official 146:f64d43ff0c18 20
mbed_official 146:f64d43ff0c18 21 #ifdef __cplusplus
mbed_official 146:f64d43ff0c18 22 extern "C" {
mbed_official 146:f64d43ff0c18 23 #endif
mbed_official 146:f64d43ff0c18 24
mbed_official 146:f64d43ff0c18 25 typedef enum {
mbed_official 146:f64d43ff0c18 26 PIN_INPUT,
mbed_official 146:f64d43ff0c18 27 PIN_OUTPUT
mbed_official 146:f64d43ff0c18 28 } PinDirection;
mbed_official 146:f64d43ff0c18 29
mbed_official 146:f64d43ff0c18 30 #define GPIO_PORT_SHIFT 12
mbed_official 146:f64d43ff0c18 31
mbed_official 146:f64d43ff0c18 32 typedef enum {
mbed_official 147:39a1839cac63 33 PTA0 = (0 << GPIO_PORT_SHIFT | 0 ),
mbed_official 147:39a1839cac63 34 PTA1 = (0 << GPIO_PORT_SHIFT | 1 ),
mbed_official 147:39a1839cac63 35 PTA2 = (0 << GPIO_PORT_SHIFT | 2 ),
mbed_official 147:39a1839cac63 36 PTA3 = (0 << GPIO_PORT_SHIFT | 3 ),
mbed_official 147:39a1839cac63 37 PTA4 = (0 << GPIO_PORT_SHIFT | 4 ),
mbed_official 147:39a1839cac63 38 PTA5 = (0 << GPIO_PORT_SHIFT | 5 ),
mbed_official 147:39a1839cac63 39 PTA6 = (0 << GPIO_PORT_SHIFT | 6 ),
mbed_official 147:39a1839cac63 40 PTA7 = (0 << GPIO_PORT_SHIFT | 7 ),
mbed_official 147:39a1839cac63 41 PTA8 = (0 << GPIO_PORT_SHIFT | 8 ),
mbed_official 147:39a1839cac63 42 PTA9 = (0 << GPIO_PORT_SHIFT | 9 ),
mbed_official 146:f64d43ff0c18 43 PTA10 = (0 << GPIO_PORT_SHIFT | 10),
mbed_official 146:f64d43ff0c18 44 PTA11 = (0 << GPIO_PORT_SHIFT | 11),
mbed_official 146:f64d43ff0c18 45 PTA12 = (0 << GPIO_PORT_SHIFT | 12),
mbed_official 146:f64d43ff0c18 46 PTA13 = (0 << GPIO_PORT_SHIFT | 13),
mbed_official 146:f64d43ff0c18 47 PTA14 = (0 << GPIO_PORT_SHIFT | 14),
mbed_official 146:f64d43ff0c18 48 PTA15 = (0 << GPIO_PORT_SHIFT | 15),
mbed_official 146:f64d43ff0c18 49 PTA16 = (0 << GPIO_PORT_SHIFT | 16),
mbed_official 146:f64d43ff0c18 50 PTA17 = (0 << GPIO_PORT_SHIFT | 17),
mbed_official 146:f64d43ff0c18 51 PTA18 = (0 << GPIO_PORT_SHIFT | 18),
mbed_official 146:f64d43ff0c18 52 PTA19 = (0 << GPIO_PORT_SHIFT | 19),
mbed_official 146:f64d43ff0c18 53 PTA20 = (0 << GPIO_PORT_SHIFT | 20),
mbed_official 146:f64d43ff0c18 54 PTA21 = (0 << GPIO_PORT_SHIFT | 21),
mbed_official 146:f64d43ff0c18 55 PTA22 = (0 << GPIO_PORT_SHIFT | 22),
mbed_official 146:f64d43ff0c18 56 PTA23 = (0 << GPIO_PORT_SHIFT | 23),
mbed_official 146:f64d43ff0c18 57 PTA24 = (0 << GPIO_PORT_SHIFT | 24),
mbed_official 146:f64d43ff0c18 58 PTA25 = (0 << GPIO_PORT_SHIFT | 25),
mbed_official 146:f64d43ff0c18 59 PTA26 = (0 << GPIO_PORT_SHIFT | 26),
mbed_official 146:f64d43ff0c18 60 PTA27 = (0 << GPIO_PORT_SHIFT | 27),
mbed_official 146:f64d43ff0c18 61 PTA28 = (0 << GPIO_PORT_SHIFT | 28),
mbed_official 146:f64d43ff0c18 62 PTA29 = (0 << GPIO_PORT_SHIFT | 29),
mbed_official 146:f64d43ff0c18 63 PTA30 = (0 << GPIO_PORT_SHIFT | 30),
mbed_official 146:f64d43ff0c18 64 PTA31 = (0 << GPIO_PORT_SHIFT | 31),
mbed_official 147:39a1839cac63 65 PTB0 = (1 << GPIO_PORT_SHIFT | 0 ),
mbed_official 147:39a1839cac63 66 PTB1 = (1 << GPIO_PORT_SHIFT | 1 ),
mbed_official 147:39a1839cac63 67 PTB2 = (1 << GPIO_PORT_SHIFT | 2 ),
mbed_official 147:39a1839cac63 68 PTB3 = (1 << GPIO_PORT_SHIFT | 3 ),
mbed_official 147:39a1839cac63 69 PTB4 = (1 << GPIO_PORT_SHIFT | 4 ),
mbed_official 147:39a1839cac63 70 PTB5 = (1 << GPIO_PORT_SHIFT | 5 ),
mbed_official 147:39a1839cac63 71 PTB6 = (1 << GPIO_PORT_SHIFT | 6 ),
mbed_official 147:39a1839cac63 72 PTB7 = (1 << GPIO_PORT_SHIFT | 7 ),
mbed_official 147:39a1839cac63 73 PTB8 = (1 << GPIO_PORT_SHIFT | 8 ),
mbed_official 147:39a1839cac63 74 PTB9 = (1 << GPIO_PORT_SHIFT | 9 ),
mbed_official 146:f64d43ff0c18 75 PTB10 = (1 << GPIO_PORT_SHIFT | 10),
mbed_official 146:f64d43ff0c18 76 PTB11 = (1 << GPIO_PORT_SHIFT | 11),
mbed_official 146:f64d43ff0c18 77 PTB12 = (1 << GPIO_PORT_SHIFT | 12),
mbed_official 146:f64d43ff0c18 78 PTB13 = (1 << GPIO_PORT_SHIFT | 13),
mbed_official 146:f64d43ff0c18 79 PTB14 = (1 << GPIO_PORT_SHIFT | 14),
mbed_official 146:f64d43ff0c18 80 PTB15 = (1 << GPIO_PORT_SHIFT | 15),
mbed_official 146:f64d43ff0c18 81 PTB16 = (1 << GPIO_PORT_SHIFT | 16),
mbed_official 146:f64d43ff0c18 82 PTB17 = (1 << GPIO_PORT_SHIFT | 17),
mbed_official 146:f64d43ff0c18 83 PTB18 = (1 << GPIO_PORT_SHIFT | 18),
mbed_official 146:f64d43ff0c18 84 PTB19 = (1 << GPIO_PORT_SHIFT | 19),
mbed_official 146:f64d43ff0c18 85 PTB20 = (1 << GPIO_PORT_SHIFT | 20),
mbed_official 146:f64d43ff0c18 86 PTB21 = (1 << GPIO_PORT_SHIFT | 21),
mbed_official 146:f64d43ff0c18 87 PTB22 = (1 << GPIO_PORT_SHIFT | 22),
mbed_official 146:f64d43ff0c18 88 PTB23 = (1 << GPIO_PORT_SHIFT | 23),
mbed_official 146:f64d43ff0c18 89 PTB24 = (1 << GPIO_PORT_SHIFT | 24),
mbed_official 146:f64d43ff0c18 90 PTB25 = (1 << GPIO_PORT_SHIFT | 25),
mbed_official 146:f64d43ff0c18 91 PTB26 = (1 << GPIO_PORT_SHIFT | 26),
mbed_official 146:f64d43ff0c18 92 PTB27 = (1 << GPIO_PORT_SHIFT | 27),
mbed_official 146:f64d43ff0c18 93 PTB28 = (1 << GPIO_PORT_SHIFT | 28),
mbed_official 146:f64d43ff0c18 94 PTB29 = (1 << GPIO_PORT_SHIFT | 29),
mbed_official 146:f64d43ff0c18 95 PTB30 = (1 << GPIO_PORT_SHIFT | 30),
mbed_official 146:f64d43ff0c18 96 PTB31 = (1 << GPIO_PORT_SHIFT | 31),
mbed_official 147:39a1839cac63 97 PTC0 = (2 << GPIO_PORT_SHIFT | 0 ),
mbed_official 147:39a1839cac63 98 PTC1 = (2 << GPIO_PORT_SHIFT | 1 ),
mbed_official 147:39a1839cac63 99 PTC2 = (2 << GPIO_PORT_SHIFT | 2 ),
mbed_official 147:39a1839cac63 100 PTC3 = (2 << GPIO_PORT_SHIFT | 3 ),
mbed_official 147:39a1839cac63 101 PTC4 = (2 << GPIO_PORT_SHIFT | 4 ),
mbed_official 147:39a1839cac63 102 PTC5 = (2 << GPIO_PORT_SHIFT | 5 ),
mbed_official 147:39a1839cac63 103 PTC6 = (2 << GPIO_PORT_SHIFT | 6 ),
mbed_official 147:39a1839cac63 104 PTC7 = (2 << GPIO_PORT_SHIFT | 7 ),
mbed_official 147:39a1839cac63 105 PTC8 = (2 << GPIO_PORT_SHIFT | 8 ),
mbed_official 147:39a1839cac63 106 PTC9 = (2 << GPIO_PORT_SHIFT | 9 ),
mbed_official 146:f64d43ff0c18 107 PTC10 = (2 << GPIO_PORT_SHIFT | 10),
mbed_official 146:f64d43ff0c18 108 PTC11 = (2 << GPIO_PORT_SHIFT | 11),
mbed_official 146:f64d43ff0c18 109 PTC12 = (2 << GPIO_PORT_SHIFT | 12),
mbed_official 146:f64d43ff0c18 110 PTC13 = (2 << GPIO_PORT_SHIFT | 13),
mbed_official 146:f64d43ff0c18 111 PTC14 = (2 << GPIO_PORT_SHIFT | 14),
mbed_official 146:f64d43ff0c18 112 PTC15 = (2 << GPIO_PORT_SHIFT | 15),
mbed_official 146:f64d43ff0c18 113 PTC16 = (2 << GPIO_PORT_SHIFT | 16),
mbed_official 146:f64d43ff0c18 114 PTC17 = (2 << GPIO_PORT_SHIFT | 17),
mbed_official 146:f64d43ff0c18 115 PTC18 = (2 << GPIO_PORT_SHIFT | 18),
mbed_official 146:f64d43ff0c18 116 PTC19 = (2 << GPIO_PORT_SHIFT | 19),
mbed_official 146:f64d43ff0c18 117 PTC20 = (2 << GPIO_PORT_SHIFT | 20),
mbed_official 146:f64d43ff0c18 118 PTC21 = (2 << GPIO_PORT_SHIFT | 21),
mbed_official 146:f64d43ff0c18 119 PTC22 = (2 << GPIO_PORT_SHIFT | 22),
mbed_official 146:f64d43ff0c18 120 PTC23 = (2 << GPIO_PORT_SHIFT | 23),
mbed_official 146:f64d43ff0c18 121 PTC24 = (2 << GPIO_PORT_SHIFT | 24),
mbed_official 146:f64d43ff0c18 122 PTC25 = (2 << GPIO_PORT_SHIFT | 25),
mbed_official 146:f64d43ff0c18 123 PTC26 = (2 << GPIO_PORT_SHIFT | 26),
mbed_official 146:f64d43ff0c18 124 PTC27 = (2 << GPIO_PORT_SHIFT | 27),
mbed_official 146:f64d43ff0c18 125 PTC28 = (2 << GPIO_PORT_SHIFT | 28),
mbed_official 146:f64d43ff0c18 126 PTC29 = (2 << GPIO_PORT_SHIFT | 29),
mbed_official 146:f64d43ff0c18 127 PTC30 = (2 << GPIO_PORT_SHIFT | 30),
mbed_official 146:f64d43ff0c18 128 PTC31 = (2 << GPIO_PORT_SHIFT | 31),
mbed_official 147:39a1839cac63 129 PTD0 = (3 << GPIO_PORT_SHIFT | 0 ),
mbed_official 147:39a1839cac63 130 PTD1 = (3 << GPIO_PORT_SHIFT | 1 ),
mbed_official 147:39a1839cac63 131 PTD2 = (3 << GPIO_PORT_SHIFT | 2 ),
mbed_official 147:39a1839cac63 132 PTD3 = (3 << GPIO_PORT_SHIFT | 3 ),
mbed_official 147:39a1839cac63 133 PTD4 = (3 << GPIO_PORT_SHIFT | 4 ),
mbed_official 147:39a1839cac63 134 PTD5 = (3 << GPIO_PORT_SHIFT | 5 ),
mbed_official 147:39a1839cac63 135 PTD6 = (3 << GPIO_PORT_SHIFT | 6 ),
mbed_official 147:39a1839cac63 136 PTD7 = (3 << GPIO_PORT_SHIFT | 7 ),
mbed_official 147:39a1839cac63 137 PTD8 = (3 << GPIO_PORT_SHIFT | 8 ),
mbed_official 147:39a1839cac63 138 PTD9 = (3 << GPIO_PORT_SHIFT | 9 ),
mbed_official 146:f64d43ff0c18 139 PTD10 = (3 << GPIO_PORT_SHIFT | 10),
mbed_official 146:f64d43ff0c18 140 PTD11 = (3 << GPIO_PORT_SHIFT | 11),
mbed_official 146:f64d43ff0c18 141 PTD12 = (3 << GPIO_PORT_SHIFT | 12),
mbed_official 146:f64d43ff0c18 142 PTD13 = (3 << GPIO_PORT_SHIFT | 13),
mbed_official 146:f64d43ff0c18 143 PTD14 = (3 << GPIO_PORT_SHIFT | 14),
mbed_official 146:f64d43ff0c18 144 PTD15 = (3 << GPIO_PORT_SHIFT | 15),
mbed_official 146:f64d43ff0c18 145 PTD16 = (3 << GPIO_PORT_SHIFT | 16),
mbed_official 146:f64d43ff0c18 146 PTD17 = (3 << GPIO_PORT_SHIFT | 17),
mbed_official 146:f64d43ff0c18 147 PTD18 = (3 << GPIO_PORT_SHIFT | 18),
mbed_official 146:f64d43ff0c18 148 PTD19 = (3 << GPIO_PORT_SHIFT | 19),
mbed_official 146:f64d43ff0c18 149 PTD20 = (3 << GPIO_PORT_SHIFT | 20),
mbed_official 146:f64d43ff0c18 150 PTD21 = (3 << GPIO_PORT_SHIFT | 21),
mbed_official 146:f64d43ff0c18 151 PTD22 = (3 << GPIO_PORT_SHIFT | 22),
mbed_official 146:f64d43ff0c18 152 PTD23 = (3 << GPIO_PORT_SHIFT | 23),
mbed_official 146:f64d43ff0c18 153 PTD24 = (3 << GPIO_PORT_SHIFT | 24),
mbed_official 146:f64d43ff0c18 154 PTD25 = (3 << GPIO_PORT_SHIFT | 25),
mbed_official 146:f64d43ff0c18 155 PTD26 = (3 << GPIO_PORT_SHIFT | 26),
mbed_official 146:f64d43ff0c18 156 PTD27 = (3 << GPIO_PORT_SHIFT | 27),
mbed_official 146:f64d43ff0c18 157 PTD28 = (3 << GPIO_PORT_SHIFT | 28),
mbed_official 146:f64d43ff0c18 158 PTD29 = (3 << GPIO_PORT_SHIFT | 29),
mbed_official 146:f64d43ff0c18 159 PTD30 = (3 << GPIO_PORT_SHIFT | 30),
mbed_official 146:f64d43ff0c18 160 PTD31 = (3 << GPIO_PORT_SHIFT | 31),
mbed_official 147:39a1839cac63 161 PTE0 = (4 << GPIO_PORT_SHIFT | 0 ),
mbed_official 147:39a1839cac63 162 PTE1 = (4 << GPIO_PORT_SHIFT | 1 ),
mbed_official 147:39a1839cac63 163 PTE2 = (4 << GPIO_PORT_SHIFT | 2 ),
mbed_official 147:39a1839cac63 164 PTE3 = (4 << GPIO_PORT_SHIFT | 3 ),
mbed_official 147:39a1839cac63 165 PTE4 = (4 << GPIO_PORT_SHIFT | 4 ),
mbed_official 147:39a1839cac63 166 PTE5 = (4 << GPIO_PORT_SHIFT | 5 ),
mbed_official 147:39a1839cac63 167 PTE6 = (4 << GPIO_PORT_SHIFT | 6 ),
mbed_official 147:39a1839cac63 168 PTE7 = (4 << GPIO_PORT_SHIFT | 7 ),
mbed_official 147:39a1839cac63 169 PTE8 = (4 << GPIO_PORT_SHIFT | 8 ),
mbed_official 147:39a1839cac63 170 PTE9 = (4 << GPIO_PORT_SHIFT | 9 ),
mbed_official 146:f64d43ff0c18 171 PTE10 = (4 << GPIO_PORT_SHIFT | 10),
mbed_official 146:f64d43ff0c18 172 PTE11 = (4 << GPIO_PORT_SHIFT | 11),
mbed_official 146:f64d43ff0c18 173 PTE12 = (4 << GPIO_PORT_SHIFT | 12),
mbed_official 146:f64d43ff0c18 174 PTE13 = (4 << GPIO_PORT_SHIFT | 13),
mbed_official 146:f64d43ff0c18 175 PTE14 = (4 << GPIO_PORT_SHIFT | 14),
mbed_official 146:f64d43ff0c18 176 PTE15 = (4 << GPIO_PORT_SHIFT | 15),
mbed_official 146:f64d43ff0c18 177 PTE16 = (4 << GPIO_PORT_SHIFT | 16),
mbed_official 146:f64d43ff0c18 178 PTE17 = (4 << GPIO_PORT_SHIFT | 17),
mbed_official 146:f64d43ff0c18 179 PTE18 = (4 << GPIO_PORT_SHIFT | 18),
mbed_official 146:f64d43ff0c18 180 PTE19 = (4 << GPIO_PORT_SHIFT | 19),
mbed_official 146:f64d43ff0c18 181 PTE20 = (4 << GPIO_PORT_SHIFT | 20),
mbed_official 146:f64d43ff0c18 182 PTE21 = (4 << GPIO_PORT_SHIFT | 21),
mbed_official 146:f64d43ff0c18 183 PTE22 = (4 << GPIO_PORT_SHIFT | 22),
mbed_official 146:f64d43ff0c18 184 PTE23 = (4 << GPIO_PORT_SHIFT | 23),
mbed_official 146:f64d43ff0c18 185 PTE24 = (4 << GPIO_PORT_SHIFT | 24),
mbed_official 146:f64d43ff0c18 186 PTE25 = (4 << GPIO_PORT_SHIFT | 25),
mbed_official 146:f64d43ff0c18 187 PTE26 = (4 << GPIO_PORT_SHIFT | 26),
mbed_official 146:f64d43ff0c18 188 PTE27 = (4 << GPIO_PORT_SHIFT | 27),
mbed_official 146:f64d43ff0c18 189 PTE28 = (4 << GPIO_PORT_SHIFT | 28),
mbed_official 146:f64d43ff0c18 190 PTE29 = (4 << GPIO_PORT_SHIFT | 29),
mbed_official 146:f64d43ff0c18 191 PTE30 = (4 << GPIO_PORT_SHIFT | 30),
mbed_official 146:f64d43ff0c18 192 PTE31 = (4 << GPIO_PORT_SHIFT | 31),
mbed_official 146:f64d43ff0c18 193
mbed_official 146:f64d43ff0c18 194 LED_RED = PTB22,
mbed_official 146:f64d43ff0c18 195 LED_GREEN = PTE26,
mbed_official 146:f64d43ff0c18 196 LED_BLUE = PTB21,
mbed_official 146:f64d43ff0c18 197
mbed_official 146:f64d43ff0c18 198 // mbed original LED naming
mbed_official 146:f64d43ff0c18 199 LED1 = LED_RED,
mbed_official 146:f64d43ff0c18 200 LED2 = LED_GREEN,
mbed_official 146:f64d43ff0c18 201 LED3 = LED_BLUE,
mbed_official 146:f64d43ff0c18 202 LED4 = LED_RED,
mbed_official 146:f64d43ff0c18 203
mbed_official 146:f64d43ff0c18 204 //Push buttons
mbed_official 146:f64d43ff0c18 205 SW2 = PTC6,
mbed_official 146:f64d43ff0c18 206 SW3 = PTA4,
mbed_official 146:f64d43ff0c18 207
mbed_official 146:f64d43ff0c18 208 // USB Pins
mbed_official 146:f64d43ff0c18 209 USBTX = PTB17,
mbed_official 146:f64d43ff0c18 210 USBRX = PTB16,
mbed_official 146:f64d43ff0c18 211
mbed_official 146:f64d43ff0c18 212 // Arduino Headers
mbed_official 146:f64d43ff0c18 213 D0 = PTC16,
mbed_official 146:f64d43ff0c18 214 D1 = PTC17,
mbed_official 146:f64d43ff0c18 215 D2 = PTB9,
mbed_official 146:f64d43ff0c18 216 D3 = PTA1,
mbed_official 146:f64d43ff0c18 217 D4 = PTB23,
mbed_official 146:f64d43ff0c18 218 D5 = PTA2,
mbed_official 146:f64d43ff0c18 219 D6 = PTC2,
mbed_official 146:f64d43ff0c18 220 D7 = PTC3,
mbed_official 146:f64d43ff0c18 221 D8 = PTA0,
mbed_official 146:f64d43ff0c18 222 D9 = PTC4,
mbed_official 146:f64d43ff0c18 223 D10 = PTD0,
mbed_official 146:f64d43ff0c18 224 D11 = PTD2,
mbed_official 146:f64d43ff0c18 225 D12 = PTD3,
mbed_official 146:f64d43ff0c18 226 D13 = PTD1,
mbed_official 146:f64d43ff0c18 227 D14 = PTE25,
mbed_official 146:f64d43ff0c18 228 D15 = PTE24,
mbed_official 146:f64d43ff0c18 229
mbed_official 146:f64d43ff0c18 230 I2C_SCL = D15,
mbed_official 146:f64d43ff0c18 231 I2C_SDA = D14,
mbed_official 146:f64d43ff0c18 232
mbed_official 146:f64d43ff0c18 233 A0 = PTB2,
mbed_official 146:f64d43ff0c18 234 A1 = PTB3,
mbed_official 146:f64d43ff0c18 235 A2 = PTB10,
mbed_official 146:f64d43ff0c18 236 A3 = PTB11,
mbed_official 146:f64d43ff0c18 237 A4 = PTC10,
mbed_official 146:f64d43ff0c18 238 A5 = PTC11,
mbed_official 146:f64d43ff0c18 239
mbed_official 146:f64d43ff0c18 240 DAC0_OUT = 0xFEFE, /* DAC does not have Pin Name in RM */
mbed_official 146:f64d43ff0c18 241
mbed_official 146:f64d43ff0c18 242 // Not connected
mbed_official 146:f64d43ff0c18 243 NC = (int)0xFFFFFFFF
mbed_official 146:f64d43ff0c18 244 } PinName;
mbed_official 146:f64d43ff0c18 245
mbed_official 146:f64d43ff0c18 246
mbed_official 146:f64d43ff0c18 247 typedef enum {
mbed_official 146:f64d43ff0c18 248 PullNone = 0,
mbed_official 146:f64d43ff0c18 249 PullDown = 1,
mbed_official 146:f64d43ff0c18 250 PullUp = 2,
mbed_official 146:f64d43ff0c18 251 PullDefault = PullUp
mbed_official 146:f64d43ff0c18 252 } PinMode;
mbed_official 146:f64d43ff0c18 253
mbed_official 146:f64d43ff0c18 254 #ifdef __cplusplus
mbed_official 146:f64d43ff0c18 255 }
mbed_official 146:f64d43ff0c18 256 #endif
mbed_official 146:f64d43ff0c18 257
mbed_official 146:f64d43ff0c18 258 #endif