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.
targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PeripheralNames.h@548:1abac31e188e, 2015-05-22 (annotated)
- Committer:
- mbed_official
- Date:
- Fri May 22 10:45:46 2015 +0100
- Revision:
- 548:1abac31e188e
- Parent:
- 447:78d5dca142f0
Synchronized with git revision 88d158e43b54f97c5e94da305ea9a096889cc81b
Full URL: https://github.com/mbedmicro/mbed/commit/88d158e43b54f97c5e94da305ea9a096889cc81b/
Silicon Labs - Cosmetic: apply mbed coding style to HAL
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 359:275f0f27ea18 | 1 | /* mbed Microcontroller Library |
mbed_official | 359:275f0f27ea18 | 2 | * Copyright (c) 2006-2013 ARM Limited |
mbed_official | 359:275f0f27ea18 | 3 | * |
mbed_official | 359:275f0f27ea18 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
mbed_official | 359:275f0f27ea18 | 5 | * you may not use this file except in compliance with the License. |
mbed_official | 359:275f0f27ea18 | 6 | * You may obtain a copy of the License at |
mbed_official | 359:275f0f27ea18 | 7 | * |
mbed_official | 359:275f0f27ea18 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 359:275f0f27ea18 | 9 | * |
mbed_official | 359:275f0f27ea18 | 10 | * Unless required by applicable law or agreed to in writing, software |
mbed_official | 359:275f0f27ea18 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
mbed_official | 359:275f0f27ea18 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mbed_official | 359:275f0f27ea18 | 13 | * See the License for the specific language governing permissions and |
mbed_official | 359:275f0f27ea18 | 14 | * limitations under the License. |
mbed_official | 359:275f0f27ea18 | 15 | */ |
mbed_official | 359:275f0f27ea18 | 16 | #ifndef MBED_PERIPHERALNAMES_H |
mbed_official | 359:275f0f27ea18 | 17 | #define MBED_PERIPHERALNAMES_H |
mbed_official | 359:275f0f27ea18 | 18 | |
mbed_official | 359:275f0f27ea18 | 19 | #include "cmsis.h" |
mbed_official | 359:275f0f27ea18 | 20 | |
mbed_official | 359:275f0f27ea18 | 21 | #ifdef __cplusplus |
mbed_official | 359:275f0f27ea18 | 22 | extern "C" { |
mbed_official | 359:275f0f27ea18 | 23 | #endif |
mbed_official | 359:275f0f27ea18 | 24 | |
mbed_official | 359:275f0f27ea18 | 25 | // Default peripherals |
mbed_official | 359:275f0f27ea18 | 26 | |
mbed_official | 359:275f0f27ea18 | 27 | // SPI: MOSI, MISO, CLK, SEL |
mbed_official | 359:275f0f27ea18 | 28 | #define MBED_SPI0 P0_26, P0_25, P0_24, P0_15 |
mbed_official | 359:275f0f27ea18 | 29 | |
mbed_official | 359:275f0f27ea18 | 30 | #define MBED_UART0 P0_7, P0_18 |
mbed_official | 359:275f0f27ea18 | 31 | #define MBED_UARTUSB USBTX, USBRX |
mbed_official | 359:275f0f27ea18 | 32 | |
mbed_official | 447:78d5dca142f0 | 33 | #define MBED_I2C0 P0_11, P0_10 |
mbed_official | 359:275f0f27ea18 | 34 | |
mbed_official | 359:275f0f27ea18 | 35 | typedef enum { |
mbed_official | 359:275f0f27ea18 | 36 | ADC_0 = 0, |
mbed_official | 359:275f0f27ea18 | 37 | ADC_1, |
mbed_official | 359:275f0f27ea18 | 38 | ADC_2, |
mbed_official | 359:275f0f27ea18 | 39 | ADC_3, |
mbed_official | 359:275f0f27ea18 | 40 | ADC_4, |
mbed_official | 359:275f0f27ea18 | 41 | ADC_5, |
mbed_official | 359:275f0f27ea18 | 42 | ADC_6, |
mbed_official | 359:275f0f27ea18 | 43 | ADC_7, |
mbed_official | 359:275f0f27ea18 | 44 | ADC_8, |
mbed_official | 359:275f0f27ea18 | 45 | ADC_9, |
mbed_official | 359:275f0f27ea18 | 46 | ADC_10, |
mbed_official | 359:275f0f27ea18 | 47 | ADC_11, |
mbed_official | 359:275f0f27ea18 | 48 | } ADCName; |
mbed_official | 359:275f0f27ea18 | 49 | |
mbed_official | 359:275f0f27ea18 | 50 | |
mbed_official | 359:275f0f27ea18 | 51 | #ifdef __cplusplus |
mbed_official | 359:275f0f27ea18 | 52 | } |
mbed_official | 359:275f0f27ea18 | 53 | #endif |
mbed_official | 359:275f0f27ea18 | 54 | |
mbed_official | 359:275f0f27ea18 | 55 | #endif |