Public fork of mbed-src to add generic stm32f030k6 target

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Wed Mar 12 10:30:07 2014 +0000
Revision:
117:e0a7df0a9a56
Parent:
103:9b881da47c92
Synchronized with git revision 6b2f3120cfef5765bc1bade48c495873f627f9bc

Full URL: https://github.com/mbedmicro/mbed/commit/6b2f3120cfef5765bc1bade48c495873f627f9bc/

[LPC1549] Added AnalogOut API and PWM improvement

Who changed what in which revision?

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