Tool/software: Starterware
Hello.
I have a question.
In the example code "msp430f677xA_uscia0_uart_03.c", it is described following code.
P3SEL0 |= BIT0 | BIT1; // Set P3.0, P3.1 to non-IO
P3DIR |= BIT0 | BIT1; // Enable UCA0RXD, UCA0TXD
Device datasheet saids , P3DIR don't care when P3SEL is set,.
why does the sample code configure P3DIR register?
Regards,
uchida-k