Merge pull request #5210 from gtrpucp/BOARD_Z1_FIX_UART
Board z1: Fix UART pin assignment
This commit is contained in:
commit
dd0fe60789
@ -59,10 +59,10 @@ extern "C" {
|
|||||||
#define UART_IF (SFR->IFG2)
|
#define UART_IF (SFR->IFG2)
|
||||||
#define UART_IE_RX_BIT (1 << 0)
|
#define UART_IE_RX_BIT (1 << 0)
|
||||||
#define UART_IE_TX_BIT (1 << 1)
|
#define UART_IE_TX_BIT (1 << 1)
|
||||||
#define UART_RX_PORT ((msp_port_isr_t *)PORT_2)
|
#define UART_RX_PORT ((msp_port_t *)PORT_3)
|
||||||
#define UART_RX_PIN (1 << 2)
|
#define UART_RX_PIN (1 << 5)
|
||||||
#define UART_TX_PORT ((msp_port_isr_t *)PORT_1)
|
#define UART_TX_PORT ((msp_port_t *)PORT_3)
|
||||||
#define UART_TX_PIN (1 << 1)
|
#define UART_TX_PIN (1 << 4)
|
||||||
#define UART_RX_ISR (USCIAB0RX_VECTOR)
|
#define UART_RX_ISR (USCIAB0RX_VECTOR)
|
||||||
#define UART_TX_ISR (USCIAB0TX_VECTOR)
|
#define UART_TX_ISR (USCIAB0TX_VECTOR)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user