36 #if SYS_MMC_LED_INDICATION_FOR_ERROR == _ENABLE_
53 #if SYS_MMC_LED_INDICATION_FOR_ERROR == _ENABLE_
104 UCB1CTL1 &= ~UCSWRST;
118 unsigned int uiGIE = __get_SR_register() & GIE;
120 __disable_interrupt();
126 while (!(UCB1IFG & UCTXIFG)) ;
128 while (!(UCB1IFG & UCRXIFG)) ;
129 *ptrucBuffer++ = UCB1RXBUF;
132 __bis_SR_register(uiGIE);
146 unsigned int uiGIE = __get_SR_register() & GIE;
148 __disable_interrupt();
155 while (!(UCB1IFG & UCTXIFG)) ;
156 UCB1TXBUF = *ptrucBuffer++;
158 while (UCB1STAT & UCBUSY) ;
163 __bis_SR_register(uiGIE);