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:
Wed Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 145:64910690c574 1 /* mbed Microcontroller Library
AnnaBridge 145:64910690c574 2 * Copyright (c) 2006-2013 ARM Limited
AnnaBridge 145:64910690c574 3 *
AnnaBridge 145:64910690c574 4 * Licensed under the Apache License, Version 2.0 (the "License");
AnnaBridge 145:64910690c574 5 * you may not use this file except in compliance with the License.
AnnaBridge 145:64910690c574 6 * You may obtain a copy of the License at
AnnaBridge 145:64910690c574 7 *
AnnaBridge 145:64910690c574 8 * http://www.apache.org/licenses/LICENSE-2.0
AnnaBridge 145:64910690c574 9 *
AnnaBridge 145:64910690c574 10 * Unless required by applicable law or agreed to in writing, software
AnnaBridge 145:64910690c574 11 * distributed under the License is distributed on an "AS IS" BASIS,
AnnaBridge 145:64910690c574 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AnnaBridge 145:64910690c574 13 * See the License for the specific language governing permissions and
AnnaBridge 145:64910690c574 14 * limitations under the License.
AnnaBridge 145:64910690c574 15 */
AnnaBridge 145:64910690c574 16
AnnaBridge 145:64910690c574 17 #ifndef MBED_PERIPHERALPINS_H
AnnaBridge 145:64910690c574 18 #define MBED_PERIPHERALPINS_H
AnnaBridge 145:64910690c574 19
AnnaBridge 145:64910690c574 20 #include "pinmap.h"
AnnaBridge 145:64910690c574 21 #include "PeripheralNames.h"
AnnaBridge 145:64910690c574 22
AnnaBridge 145:64910690c574 23 /************RTC***************/
AnnaBridge 145:64910690c574 24 extern const PinMap PinMap_RTC[];
AnnaBridge 145:64910690c574 25
AnnaBridge 145:64910690c574 26 /************ADC***************/
AnnaBridge 145:64910690c574 27 extern const PinMap PinMap_ADC[];
AnnaBridge 145:64910690c574 28
AnnaBridge 145:64910690c574 29 /************DAC***************/
AnnaBridge 145:64910690c574 30 extern const PinMap PinMap_DAC[];
AnnaBridge 145:64910690c574 31
AnnaBridge 145:64910690c574 32 /************I2C***************/
AnnaBridge 145:64910690c574 33 extern const PinMap PinMap_I2C_SDA[];
AnnaBridge 145:64910690c574 34 extern const PinMap PinMap_I2C_SCL[];
AnnaBridge 145:64910690c574 35
AnnaBridge 145:64910690c574 36 /************UART***************/
AnnaBridge 145:64910690c574 37 extern const PinMap PinMap_UART_TX[];
AnnaBridge 145:64910690c574 38 extern const PinMap PinMap_UART_RX[];
AnnaBridge 145:64910690c574 39 extern const PinMap PinMap_UART_CTS[];
AnnaBridge 145:64910690c574 40 extern const PinMap PinMap_UART_RTS[];
AnnaBridge 145:64910690c574 41 /************SPI***************/
AnnaBridge 145:64910690c574 42 extern const PinMap PinMap_SPI_SCLK[];
AnnaBridge 145:64910690c574 43 extern const PinMap PinMap_SPI_MOSI[];
AnnaBridge 145:64910690c574 44 extern const PinMap PinMap_SPI_MISO[];
AnnaBridge 145:64910690c574 45 extern const PinMap PinMap_SPI_SSEL[];
AnnaBridge 145:64910690c574 46
AnnaBridge 145:64910690c574 47 /************PWM***************/
AnnaBridge 145:64910690c574 48 extern const PinMap PinMap_PWM[];
AnnaBridge 145:64910690c574 49
AnnaBridge 145:64910690c574 50 #endif