z1: Fix UART pin assignment

This commit is contained in:
Joel Palomino 2016-03-29 20:17:33 -05:00
parent 01d95afb14
commit 28d0097e5b

View File

@ -59,10 +59,10 @@ extern "C" {
#define UART_IF (SFR->IFG2)
#define UART_IE_RX_BIT (1 << 0)
#define UART_IE_TX_BIT (1 << 1)
#define UART_RX_PORT ((msp_port_isr_t *)PORT_2)
#define UART_RX_PIN (1 << 2)
#define UART_TX_PORT ((msp_port_isr_t *)PORT_1)
#define UART_TX_PIN (1 << 1)
#define UART_RX_PORT ((msp_port_t *)PORT_3)
#define UART_RX_PIN (1 << 5)
#define UART_TX_PORT ((msp_port_t *)PORT_3)
#define UART_TX_PIN (1 << 4)
#define UART_RX_ISR (USCIAB0RX_VECTOR)
#define UART_TX_ISR (USCIAB0TX_VECTOR)
/** @} */