Lincoln60: Add GPIO definitions for the microSD slot

This commit is contained in:
Gregory Nutt 2015-06-04 16:58:59 -06:00
parent b62497a416
commit 97921ca474
2 changed files with 21 additions and 1 deletions

View File

@ -41,6 +41,13 @@ Lincoln 60 board
P3[26] 26 LED2
P2[10] 53 BTN1
microSD PIN SIGNAL NAME
-------------------------------- ----- --------------
P0[15] J12 3 SPI SCK
P0[17] J12 4 SPI MISO
P0[18] J12 5 SPI MOSI
P0[16] J18 5 SPI slave select
Console
-------

View File

@ -69,12 +69,25 @@
* P2[10] 53 BTN1
****************************************************************************/
#define LINCOLN60_BUT1 (GPIO_INTBOTH | GPIO_FLOAT | GPIO_PORT2 | GPIO_PIN10)
#define LINCOLN60_BUT1 (GPIO_INTBOTH | GPIO_FLOAT | GPIO_PORT2 | \
GPIO_PIN10)
/* Button IRQ numbers */
#define LINCOLN60_BUT1_IRQ LPC17_IRQ_P0p23
/****************************************************************************
* microSD PIN SIGNAL NAME
* -------------------------------- ----- --------------
* P0[15] J12 3 SPI SCK
* P0[17] J12 4 SPI MISO
* P0[18] J12 5 SPI MOSI
* P0[16] J18 5 SPI slave select
****************************************************************************/
#define LINCOLN60_CS (GPIO_OUTPUT | GPIO_VALUE_ONE | \
GPIO_PORT0 | GPIO_PIN16)
/****************************************************************************
* Public Types
****************************************************************************/