The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_NRF51822/TARGET_NORDIC/TARGET_NRF51822/PortNames.h@82:6473597d706e, 2014-04-07 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Apr 07 18:28:36 2014 +0100
- Revision:
- 82:6473597d706e
Release 82 of the mbed library
Main changes:
- support for K64F
- Revisited Nordic code structure
- Test infrastructure improvements
- various bug fixes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 82:6473597d706e | 1 | /* mbed Microcontroller Library |
bogdanm | 82:6473597d706e | 2 | * Copyright (c) 2013 Nordic Semiconductor |
bogdanm | 82:6473597d706e | 3 | * |
bogdanm | 82:6473597d706e | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
bogdanm | 82:6473597d706e | 5 | * you may not use this file except in compliance with the License. |
bogdanm | 82:6473597d706e | 6 | * You may obtain a copy of the License at |
bogdanm | 82:6473597d706e | 7 | * |
bogdanm | 82:6473597d706e | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
bogdanm | 82:6473597d706e | 9 | * |
bogdanm | 82:6473597d706e | 10 | * Unless required by applicable law or agreed to in writing, software |
bogdanm | 82:6473597d706e | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
bogdanm | 82:6473597d706e | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
bogdanm | 82:6473597d706e | 13 | * See the License for the specific language governing permissions and |
bogdanm | 82:6473597d706e | 14 | * limitations under the License. |
bogdanm | 82:6473597d706e | 15 | */ |
bogdanm | 82:6473597d706e | 16 | #ifndef MBED_PORTNAMES_H |
bogdanm | 82:6473597d706e | 17 | #define MBED_PORTNAMES_H |
bogdanm | 82:6473597d706e | 18 | |
bogdanm | 82:6473597d706e | 19 | #ifdef __cplusplus |
bogdanm | 82:6473597d706e | 20 | extern "C" { |
bogdanm | 82:6473597d706e | 21 | #endif |
bogdanm | 82:6473597d706e | 22 | |
bogdanm | 82:6473597d706e | 23 | typedef enum { |
bogdanm | 82:6473597d706e | 24 | Port0 = 0 //GPIO pins 0-31 |
bogdanm | 82:6473597d706e | 25 | } PortName; |
bogdanm | 82:6473597d706e | 26 | |
bogdanm | 82:6473597d706e | 27 | #ifdef __cplusplus |
bogdanm | 82:6473597d706e | 28 | } |
bogdanm | 82:6473597d706e | 29 | #endif |
bogdanm | 82:6473597d706e | 30 | #endif |