mbed library sources
Fork of mbed-src by
targets/hal/TARGET_NXP/TARGET_LPC11U6X/PeripheralNames.h@186:2e805bf06ee4, 2014-05-12 (annotated)
- Committer:
- mbed_official
- Date:
- Mon May 12 10:15:06 2014 +0100
- Revision:
- 186:2e805bf06ee4
- Parent:
- 174:8bb9f3a33240
- Child:
- 193:cff126de7aaf
Synchronized with git revision f41d1e8383b601b353319ce36d53b9b84fb476a3
Full URL: https://github.com/mbedmicro/mbed/commit/f41d1e8383b601b353319ce36d53b9b84fb476a3/
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 174:8bb9f3a33240 | 1 | /* mbed Microcontroller Library |
mbed_official | 174:8bb9f3a33240 | 2 | * Copyright (c) 2006-2013 ARM Limited |
mbed_official | 174:8bb9f3a33240 | 3 | * |
mbed_official | 174:8bb9f3a33240 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
mbed_official | 174:8bb9f3a33240 | 5 | * you may not use this file except in compliance with the License. |
mbed_official | 174:8bb9f3a33240 | 6 | * You may obtain a copy of the License at |
mbed_official | 174:8bb9f3a33240 | 7 | * |
mbed_official | 174:8bb9f3a33240 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 174:8bb9f3a33240 | 9 | * |
mbed_official | 174:8bb9f3a33240 | 10 | * Unless required by applicable law or agreed to in writing, software |
mbed_official | 174:8bb9f3a33240 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
mbed_official | 174:8bb9f3a33240 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mbed_official | 174:8bb9f3a33240 | 13 | * See the License for the specific language governing permissions and |
mbed_official | 174:8bb9f3a33240 | 14 | * limitations under the License. |
mbed_official | 174:8bb9f3a33240 | 15 | */ |
mbed_official | 174:8bb9f3a33240 | 16 | #ifndef MBED_PERIPHERALNAMES_H |
mbed_official | 174:8bb9f3a33240 | 17 | #define MBED_PERIPHERALNAMES_H |
mbed_official | 174:8bb9f3a33240 | 18 | |
mbed_official | 174:8bb9f3a33240 | 19 | #include "cmsis.h" |
mbed_official | 174:8bb9f3a33240 | 20 | |
mbed_official | 174:8bb9f3a33240 | 21 | #ifdef __cplusplus |
mbed_official | 174:8bb9f3a33240 | 22 | extern "C" { |
mbed_official | 174:8bb9f3a33240 | 23 | #endif |
mbed_official | 174:8bb9f3a33240 | 24 | |
mbed_official | 174:8bb9f3a33240 | 25 | typedef enum { |
mbed_official | 174:8bb9f3a33240 | 26 | UART_0 = (int)LPC_USART0_BASE, |
mbed_official | 174:8bb9f3a33240 | 27 | UART_1 = (int)LPC_USART1_BASE, |
mbed_official | 174:8bb9f3a33240 | 28 | UART_2 = (int)LPC_USART2_BASE, |
mbed_official | 174:8bb9f3a33240 | 29 | UART_3 = (int)LPC_USART3_BASE, |
mbed_official | 174:8bb9f3a33240 | 30 | UART_4 = (int)LPC_USART4_BASE, |
mbed_official | 174:8bb9f3a33240 | 31 | } UARTName; |
mbed_official | 174:8bb9f3a33240 | 32 | |
mbed_official | 174:8bb9f3a33240 | 33 | typedef enum { |
mbed_official | 186:2e805bf06ee4 | 34 | ADC_0 = 0, |
mbed_official | 186:2e805bf06ee4 | 35 | ADC_1, |
mbed_official | 186:2e805bf06ee4 | 36 | ADC_2, |
mbed_official | 186:2e805bf06ee4 | 37 | ADC_3, |
mbed_official | 186:2e805bf06ee4 | 38 | ADC_4, |
mbed_official | 186:2e805bf06ee4 | 39 | ADC_5, |
mbed_official | 186:2e805bf06ee4 | 40 | ADC_6, |
mbed_official | 186:2e805bf06ee4 | 41 | ADC_7, |
mbed_official | 186:2e805bf06ee4 | 42 | ADC_8, |
mbed_official | 186:2e805bf06ee4 | 43 | ADC_9, |
mbed_official | 186:2e805bf06ee4 | 44 | ADC_10, |
mbed_official | 186:2e805bf06ee4 | 45 | ADC_11, |
mbed_official | 174:8bb9f3a33240 | 46 | } ADCName; |
mbed_official | 174:8bb9f3a33240 | 47 | |
mbed_official | 174:8bb9f3a33240 | 48 | typedef enum { |
mbed_official | 174:8bb9f3a33240 | 49 | SPI_0 = (int)LPC_SSP0_BASE, |
mbed_official | 174:8bb9f3a33240 | 50 | SPI_1 = (int)LPC_SSP1_BASE |
mbed_official | 174:8bb9f3a33240 | 51 | } SPIName; |
mbed_official | 174:8bb9f3a33240 | 52 | |
mbed_official | 174:8bb9f3a33240 | 53 | typedef enum { |
mbed_official | 174:8bb9f3a33240 | 54 | I2C_0 = (int)LPC_I2C0_BASE, |
mbed_official | 174:8bb9f3a33240 | 55 | I2C_1 = (int)LPC_I2C1_BASE |
mbed_official | 174:8bb9f3a33240 | 56 | } I2CName; |
mbed_official | 174:8bb9f3a33240 | 57 | |
mbed_official | 174:8bb9f3a33240 | 58 | |
mbed_official | 174:8bb9f3a33240 | 59 | #ifdef __cplusplus |
mbed_official | 174:8bb9f3a33240 | 60 | } |
mbed_official | 174:8bb9f3a33240 | 61 | #endif |
mbed_official | 174:8bb9f3a33240 | 62 | |
mbed_official | 174:8bb9f3a33240 | 63 | #endif |