* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
} else if (READ_FLAG(UCB0STAT, UCNACKIFG)) {
CLR_FLAG(UCB0STAT, UCNACKIFG);
CLR_FLAG(UC0IFG, UCB0TXIFG); /* Errata USCI25; 'reset' means clear? */
} else if (READ_FLAG(UCB0STAT, UCNACKIFG)) {
CLR_FLAG(UCB0STAT, UCNACKIFG);
CLR_FLAG(UC0IFG, UCB0TXIFG); /* Errata USCI25; 'reset' means clear? */
} else if (READ_FLAG(UCB0STAT, UCSTTIFG)) {
CLR_FLAG(UCB0STAT, UCSTTIFG);
signal IntB.i2cStart();
} else if (READ_FLAG(UCB0STAT, UCSTTIFG)) {
CLR_FLAG(UCB0STAT, UCSTTIFG);
signal IntB.i2cStart();
/* This interrupt vector signals transmit events. USCI_A0 can receive events
* for UART and SPI modes, while USCI_B0 can receive events for I2C and SPI
* modes.
/* This interrupt vector signals transmit events. USCI_A0 can receive events
* for UART and SPI modes, while USCI_B0 can receive events for I2C and SPI
* modes.
default async event void IntA.tx() {}
/* i2c is not available for A devices, so the below are never signalled */
default async event void IntA.i2cCal() {}
default async event void IntA.tx() {}
/* i2c is not available for A devices, so the below are never signalled */
default async event void IntA.i2cCal() {}
default async event void IntB.rx(uint8_t byte) {}
default async event void IntB.tx() {}
default async event void IntB.i2cCal() {}
default async event void IntB.rx(uint8_t byte) {}
default async event void IntB.tx() {}
default async event void IntB.i2cCal() {}