DK_TM4C129X: Add more GPIO pin definitions

This commit is contained in:
Gregory Nutt 2015-01-01 14:16:05 -06:00
parent 3ff87bfda0
commit 0e29fcc736
2 changed files with 20 additions and 7 deletions

View File

@ -158,9 +158,18 @@
/* Pin Multiplexing Disambiguation **************************************************/
/* UARTs
*
* UART0: PA0, PA1 (fixed configuration)
* UART0: PA0-1 (fixed configuration)
* UART3: PJ0-1 to EM_TX/EM_RX or BOOSTER_PACK2_RX/BOOSTER_PACK2_TX(Depending
* on J12/J13)
* UART5: PH6-7 to BOOSTER_PACK1_RX/BOOSTER_PACK1_TX
*/
#define GPIO_UART3_RX GPIO_UART3_RX_2
#define GPIO_UART3_TX GPIO_UART3_TX_2
#define GPIO_UART5_RX GPIO_UART5_RX_2
#define GPIO_UART5_TX GPIO_UART5_TX_2
/* SSI:
*
* SSI0: PA2-5 are used for SSI0 to the second booster pack (fixed configuration)

View File

@ -101,14 +101,18 @@
#define IRQ_SW4 TIVA_IRQ_GPIOP_1
/* SPI Chip selects ****************************************************************/
/* SSI0: PA3 is used for SSI0 chip select to the second booster pack
* SSI3: PH4 selects the SD card and PQ1 selects the on-board SPI flash.
/* SSI0: PA3 is used for SSI0 chip select to the second booster pack (No pull-
* ups)
* SSI3: PH4 selects the SD card and PQ1 selects the on-board SPI flash. Both
* pulled up on board.
*/
#define GPIO_BSTR_CS (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STDWPU | GPIO_STRENGTH_4MA | \
GPIO_VALUE_ONE | GPIO_PORTA | GPIO_PIN_3)
#define GPIO_SD_CS (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STDWPU | GPIO_STRENGTH_4MA | \
GPIO_VALUE_ONE | GPIO_PORTH | GPIO_PIN_4)
#define GPIO_BSTR2_CS (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STDWPU | GPIO_STRENGTH_4MA | \
GPIO_VALUE_ONE | GPIO_PORTA | GPIO_PIN_3)
#define GPIO_FLASH_CS (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STD | GPIO_STRENGTH_4MA | \
GPIO_VALUE_ONE | GPIO_PORTH | GPIO_PIN_4)
#define GPIO_SD_CS (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STD | GPIO_STRENGTH_4MA | \
GPIO_VALUE_ONE | GPIO_PORTH | GPIO_PIN_4)
/* Speaker outputs *****************************************************************/
/* PB2/PD4 are used for the speaker output */