]> git.donarmstrong.com Git - qmk_firmware.git/blob - tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PeripheralNames.h
Squashed 'tmk_core/' changes from 7967731..b9e0ea0
[qmk_firmware.git] / tool / mbed / mbed-sdk / libraries / mbed / targets / hal / TARGET_NXP / TARGET_LPC82X / TARGET_SSCI824 / PeripheralNames.h
1 /* mbed Microcontroller Library
2  * Copyright (c) 2006-2013 ARM Limited
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16 #ifndef MBED_PERIPHERALNAMES_H
17 #define MBED_PERIPHERALNAMES_H
18
19 #include "cmsis.h"
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 // Default peripherals
26
27 // SPI: MOSI, MISO, CLK, SEL
28 #define MBED_SPI0         P0_26, P0_25, P0_24, P0_15
29
30 #define MBED_UART0        P0_7, P0_18
31 #define MBED_UARTUSB      USBTX, USBRX
32
33 #define MBED_I2C0         P0_11, P0_10
34
35 typedef enum {
36     ADC_0 = 0,
37     ADC_1,
38     ADC_2,
39     ADC_3,
40     ADC_4,
41     ADC_5,
42     ADC_6,
43     ADC_7,
44     ADC_8,
45     ADC_9,
46     ADC_10,
47     ADC_11,
48 } ADCName;
49
50
51 #ifdef __cplusplus
52 }
53 #endif
54
55 #endif