IFG1&=~URXIFG0;
U0TCTL &= ~URXSE;
- PLEDOUT^=PLEDPIN;
-
return c;
}
//! Transmit a byte.
UTCTL0 = SSEL1; /* UCLK = MCLK */
//http://mspgcc.sourceforge.net/baudrate.html
+ //9600 baud
UBR00=0x00; UBR10=0x01; UMCTL0=0x00;
ME1 &= ~USPIE0; /* USART1 SPI module disable */