mbed libraries for KL25Z
Diff: KL25Z/PinNames.h
- Revision:
- 9:663789d7729f
- Parent:
- 8:c14af7958ef5
diff -r c14af7958ef5 -r 663789d7729f KL25Z/PinNames.h --- a/KL25Z/PinNames.h Fri Nov 09 11:33:53 2012 +0000 +++ b/KL25Z/PinNames.h Mon Feb 18 09:41:56 2013 +0000 @@ -1,7 +1,17 @@ -/* mbed Microcontroller Library - PinNames - * Copyright (C) 2008-2011 ARM Limited. All rights reserved. +/* mbed Microcontroller Library + * Copyright (c) 2006-2013 ARM Limited + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * Provides the mapping of mbed DIP and LPC Pin Names + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #ifndef MBED_PINNAMES_H #define MBED_PINNAMES_H @@ -180,21 +190,21 @@ PTE29 = 0x4074, PTE30 = 0x4078, PTE31 = 0x407c, - + LED_RED = PTB18, LED_GREEN = PTB19, LED_BLUE = PTD1, - + // mbed original LED naming LED1 = LED_BLUE, LED2 = LED_GREEN, LED3 = LED_RED, LED4 = LED_RED, - + // USB Pins USBTX = PTA2, USBRX = PTA1, - + // Arduino Headers D0 = PTA1, D1 = PTA2, @@ -212,14 +222,14 @@ D13 = PTD1, D14 = PTE0, D15 = PTE1, - + A0 = PTB0, A1 = PTB1, A2 = PTB2, A3 = PTB3, A4 = PTC2, A5 = PTC1, - + // Not connected NC = (int)0xFFFFFFFF } PinName;