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