mbed SDK library sources

Fork of mbed-src by mbed official

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Wed Sep 25 10:30:04 2013 +0100
Revision:
30:91c1d09ada54
Synchronized with git revision 8f57c1e84759991fa81ede0da2b4aabe8530fa09

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 30:91c1d09ada54 1 // SPI pin mappings for LPC11XX
mbed_official 30:91c1d09ada54 2 // This should be included ONLY from spi_api.c
mbed_official 30:91c1d09ada54 3
mbed_official 30:91c1d09ada54 4 #ifndef SPI_PINMAP_H
mbed_official 30:91c1d09ada54 5 #define SPI_PINMAP_H
mbed_official 30:91c1d09ada54 6
mbed_official 30:91c1d09ada54 7 static const PinMap PinMap_SPI_SCLK[] = {
mbed_official 30:91c1d09ada54 8 {P0_6 , SPI_0, 0x02},
mbed_official 30:91c1d09ada54 9 {P2_11, SPI_0, 0x01},
mbed_official 30:91c1d09ada54 10 {P2_1 , SPI_1, 0x02},
mbed_official 30:91c1d09ada54 11 {NC , NC , 0}
mbed_official 30:91c1d09ada54 12 };
mbed_official 30:91c1d09ada54 13
mbed_official 30:91c1d09ada54 14 static const PinMap PinMap_SPI_MOSI[] = {
mbed_official 30:91c1d09ada54 15 {P0_9 , SPI_0, 0x01},
mbed_official 30:91c1d09ada54 16 {P2_3 , SPI_1, 0x02},
mbed_official 30:91c1d09ada54 17 {NC , NC , 0}
mbed_official 30:91c1d09ada54 18 };
mbed_official 30:91c1d09ada54 19
mbed_official 30:91c1d09ada54 20 static const PinMap PinMap_SPI_MISO[] = {
mbed_official 30:91c1d09ada54 21 {P0_8 , SPI_0, 0x01},
mbed_official 30:91c1d09ada54 22 {P2_2 , SPI_1, 0x02},
mbed_official 30:91c1d09ada54 23 {NC , NC , 0}
mbed_official 30:91c1d09ada54 24 };
mbed_official 30:91c1d09ada54 25
mbed_official 30:91c1d09ada54 26 static const PinMap PinMap_SPI_SSEL[] = {
mbed_official 30:91c1d09ada54 27 {P0_2 , SPI_0, 0x01},
mbed_official 30:91c1d09ada54 28 {P2_0 , SPI_1, 0x02},
mbed_official 30:91c1d09ada54 29 {NC , NC , 0}
mbed_official 30:91c1d09ada54 30 };
mbed_official 30:91c1d09ada54 31
mbed_official 30:91c1d09ada54 32 #endif
mbed_official 30:91c1d09ada54 33