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 Nov 08 11:45:42 2018 +0000
Revision:
171:3a7713b1edbc
Parent:
TARGET_LPC546XX/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC/PeripheralPins.h@161:aa5281ff4a02
Child:
172:65be27845400
mbed library. Release version 164

Who changed what in which revision?

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