mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.

Dependents:   mbed_blinky-bmd-200 bmd-200_accel_demo firstRig

Fork of mbed-src by mbed official

Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.

Committer:
mbed_official
Date:
Tue Apr 29 11:15:07 2014 +0100
Revision:
174:8bb9f3a33240
Child:
186:2e805bf06ee4
Synchronized with git revision 5bf985ebc651a2c31cefabd9d62c51dc465ef60a

Full URL: https://github.com/mbedmicro/mbed/commit/5bf985ebc651a2c31cefabd9d62c51dc465ef60a/

[NUCLEO_L152RE/F103RB] Add LSE configuration for RTC

Who changed what in which revision?

UserRevisionLine numberNew 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 174:8bb9f3a33240 34 ADC0_0 = 0,
mbed_official 174:8bb9f3a33240 35 ADC0_1,
mbed_official 174:8bb9f3a33240 36 ADC0_2,
mbed_official 174:8bb9f3a33240 37 ADC0_3,
mbed_official 174:8bb9f3a33240 38 ADC0_4,
mbed_official 174:8bb9f3a33240 39 ADC0_5,
mbed_official 174:8bb9f3a33240 40 ADC0_6,
mbed_official 174:8bb9f3a33240 41 ADC0_7,
mbed_official 174:8bb9f3a33240 42 ADC0_8,
mbed_official 174:8bb9f3a33240 43 ADC0_9,
mbed_official 174:8bb9f3a33240 44 ADC0_10,
mbed_official 174:8bb9f3a33240 45 ADC0_11,
mbed_official 174:8bb9f3a33240 46 ADC1_0,
mbed_official 174:8bb9f3a33240 47 ADC1_1,
mbed_official 174:8bb9f3a33240 48 ADC1_2,
mbed_official 174:8bb9f3a33240 49 ADC1_3,
mbed_official 174:8bb9f3a33240 50 ADC1_4,
mbed_official 174:8bb9f3a33240 51 ADC1_5,
mbed_official 174:8bb9f3a33240 52 ADC1_6,
mbed_official 174:8bb9f3a33240 53 ADC1_7,
mbed_official 174:8bb9f3a33240 54 ADC1_8,
mbed_official 174:8bb9f3a33240 55 ADC1_9,
mbed_official 174:8bb9f3a33240 56 ADC1_10,
mbed_official 174:8bb9f3a33240 57 ADC1_11,
mbed_official 174:8bb9f3a33240 58 } ADCName;
mbed_official 174:8bb9f3a33240 59
mbed_official 174:8bb9f3a33240 60 typedef enum {
mbed_official 174:8bb9f3a33240 61 SPI_0 = (int)LPC_SSP0_BASE,
mbed_official 174:8bb9f3a33240 62 SPI_1 = (int)LPC_SSP1_BASE
mbed_official 174:8bb9f3a33240 63 } SPIName;
mbed_official 174:8bb9f3a33240 64
mbed_official 174:8bb9f3a33240 65 typedef enum {
mbed_official 174:8bb9f3a33240 66 I2C_0 = (int)LPC_I2C0_BASE,
mbed_official 174:8bb9f3a33240 67 I2C_1 = (int)LPC_I2C1_BASE
mbed_official 174:8bb9f3a33240 68 } I2CName;
mbed_official 174:8bb9f3a33240 69
mbed_official 174:8bb9f3a33240 70
mbed_official 174:8bb9f3a33240 71 #ifdef __cplusplus
mbed_official 174:8bb9f3a33240 72 }
mbed_official 174:8bb9f3a33240 73 #endif
mbed_official 174:8bb9f3a33240 74
mbed_official 174:8bb9f3a33240 75 #endif