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