The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Thu Sep 06 13:39:34 2018 +0100
Revision:
170:e95d10626187
Parent:
82:6473597d706e
mbed library. Release version 163

Who changed what in which revision?

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