I turn on interrrupt enable in my code, but under Registers UCA0IE_UART, UCRXIE is 0. What am I doing wrong?
int main(void) {
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
init_clock();
init_uart0();
UCA0IE |= UCRXIE + UCTXCPTIE; //+ UCTXIE; // enable uart0 rx and tx
UCA1IE |= UCRXIE + UCTXCPTIE; //UART1 rx interrupt enable for compass
UCA0IE |= 0x09;
__bis_SR_register(GIE); //enable interrupts
while (1){}
//END OF CODE
PAUSED IN DEBUGGING
UCA0IE_UART
- UCTXCPTIE 0
- UCSTTIE 0
- UCTXIE 0
- UCRXIE 0