Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Wed Mar 19 18:28:32 2014 +0000
Revision:
81:7d30d6019079
Parent:
79:0c05e21ae27e
Release 81 of the mbed library

Main changes:

- Updates and fixes for many targets
- LPC1768: serial interface code fixes
- nRF51822 targets now output a .hex file
- More exporters
- More flexible GPIO API

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emilmont 79:0c05e21ae27e 1 /* mbed Microcontroller Library
emilmont 79:0c05e21ae27e 2 * Copyright (c) 2006-2013 ARM Limited
emilmont 79:0c05e21ae27e 3 *
emilmont 79:0c05e21ae27e 4 * Licensed under the Apache License, Version 2.0 (the "License");
emilmont 79:0c05e21ae27e 5 * you may not use this file except in compliance with the License.
emilmont 79:0c05e21ae27e 6 * You may obtain a copy of the License at
emilmont 79:0c05e21ae27e 7 *
emilmont 79:0c05e21ae27e 8 * http://www.apache.org/licenses/LICENSE-2.0
emilmont 79:0c05e21ae27e 9 *
emilmont 79:0c05e21ae27e 10 * Unless required by applicable law or agreed to in writing, software
emilmont 79:0c05e21ae27e 11 * distributed under the License is distributed on an "AS IS" BASIS,
emilmont 79:0c05e21ae27e 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
emilmont 79:0c05e21ae27e 13 * See the License for the specific language governing permissions and
emilmont 79:0c05e21ae27e 14 * limitations under the License.
emilmont 79:0c05e21ae27e 15 */
emilmont 79:0c05e21ae27e 16 #ifndef MBED_PERIPHERALNAMES_H
emilmont 79:0c05e21ae27e 17 #define MBED_PERIPHERALNAMES_H
emilmont 79:0c05e21ae27e 18
emilmont 79:0c05e21ae27e 19 #include "cmsis.h"
emilmont 79:0c05e21ae27e 20
emilmont 79:0c05e21ae27e 21 #ifdef __cplusplus
emilmont 79:0c05e21ae27e 22 extern "C" {
emilmont 79:0c05e21ae27e 23 #endif
emilmont 79:0c05e21ae27e 24
emilmont 79:0c05e21ae27e 25 typedef enum {
emilmont 79:0c05e21ae27e 26 ADC0_0 = 0,
emilmont 79:0c05e21ae27e 27 ADC0_1,
emilmont 79:0c05e21ae27e 28 ADC0_2,
emilmont 79:0c05e21ae27e 29 ADC0_3,
emilmont 79:0c05e21ae27e 30 ADC0_4,
emilmont 79:0c05e21ae27e 31 ADC0_5,
emilmont 79:0c05e21ae27e 32 ADC0_6,
emilmont 79:0c05e21ae27e 33 ADC0_7,
emilmont 79:0c05e21ae27e 34 ADC0_8,
emilmont 79:0c05e21ae27e 35 ADC0_9,
emilmont 79:0c05e21ae27e 36 ADC0_10,
emilmont 79:0c05e21ae27e 37 ADC0_11,
emilmont 79:0c05e21ae27e 38 ADC1_0,
emilmont 79:0c05e21ae27e 39 ADC1_1,
emilmont 79:0c05e21ae27e 40 ADC1_2,
emilmont 79:0c05e21ae27e 41 ADC1_3,
emilmont 79:0c05e21ae27e 42 ADC1_4,
emilmont 79:0c05e21ae27e 43 ADC1_5,
emilmont 79:0c05e21ae27e 44 ADC1_6,
emilmont 79:0c05e21ae27e 45 ADC1_7,
emilmont 79:0c05e21ae27e 46 ADC1_8,
emilmont 79:0c05e21ae27e 47 ADC1_9,
emilmont 79:0c05e21ae27e 48 ADC1_10,
emilmont 79:0c05e21ae27e 49 ADC1_11,
emilmont 79:0c05e21ae27e 50 } ADCName;
emilmont 79:0c05e21ae27e 51
bogdanm 81:7d30d6019079 52 typedef enum {
bogdanm 81:7d30d6019079 53 DAC0_0 = 0,
bogdanm 81:7d30d6019079 54 } DACName;
emilmont 79:0c05e21ae27e 55
emilmont 79:0c05e21ae27e 56 #ifdef __cplusplus
emilmont 79:0c05e21ae27e 57 }
emilmont 79:0c05e21ae27e 58 #endif
emilmont 79:0c05e21ae27e 59
emilmont 79:0c05e21ae27e 60 #endif