Make this change because the MSP430 documentation calls the bit UCNACK...
* I2C mode only. Indicates the device was expecting an ACK and it was not
* received.
*/
- async event void i2cNak();
+ async event void i2cNack();
/**
* I2C mode only. Indicates the device has detected a start condition
} else if (READ_FLAG(UCB0STAT, UCNACKIFG)) {
CLR_FLAG(UCB0STAT, UCNACKIFG);
CLR_FLAG(UC0IFG, UCB0TXIFG); /* Errata USCI25; 'reset' means clear? */
- signal IntB.i2cNak();
+ signal IntB.i2cNack();
} else if (READ_FLAG(UCB0STAT, UCSTTIFG)) {
CLR_FLAG(UCB0STAT, UCSTTIFG);
signal IntB.i2cStart();
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.i2cNak() {}
+ default async event void IntA.i2cNack() {}
default async event void IntA.i2cStart() {}
default async event void IntA.i2cStop() {}
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.i2cNak() {}
+ default async event void IntB.i2cNack() {}
default async event void IntB.i2cStart() {}
default async event void IntB.i2cStop() {}
}
} else if (READ_FLAG(UCB1STAT, UCNACKIFG)) {
CLR_FLAG(UCB1STAT, UCNACKIFG);
CLR_FLAG(UC1IFG, UCB1TXIFG); /* Errata USCI25; 'reset' means clear? */
- signal IntB.i2cNak();
+ signal IntB.i2cNack();
} else if (READ_FLAG(UCB1STAT, UCSTTIFG)) {
CLR_FLAG(UCB1STAT, UCSTTIFG);
signal IntB.i2cStart();
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.i2cNak() {}
+ default async event void IntA.i2cNack() {}
default async event void IntA.i2cStart() {}
default async event void IntA.i2cStop() {}
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.i2cNak() {}
+ default async event void IntB.i2cNack() {}
default async event void IntB.i2cStart() {}
default async event void IntB.i2cStop() {}
}
async event void Interrupts.i2cStop() {}
async event void Interrupts.i2cCal() {}
async event void Interrupts.brk() {}
- async event void Interrupts.i2cNak() {}
+ async event void Interrupts.i2cNack() {}
default async command bool CSn.get() { return FALSE; }
}
async event void Interrupts.i2cStop() {}
async event void Interrupts.i2cCal() {}
async event void Interrupts.brk() {}
- async event void Interrupts.i2cNak() {}
+ async event void Interrupts.i2cNack() {}
async event void Counter.overflow() {}
default async event void UartStream.sendDone( uint8_t* buf, uint16_t len,
signal Interrupts.i2cCal[call ArbiterInfo.userId()]();
}
- async event void RawInt.i2cNak()
+ async event void RawInt.i2cNack()
{
if (call ArbiterInfo.inUse())
- signal Interrupts.i2cNak[call ArbiterInfo.userId()]();
+ signal Interrupts.i2cNack[call ArbiterInfo.userId()]();
}
async event void RawInt.i2cStart()
default async event void Interrupts.rx[uint8_t id](uint8_t byte) {}
default async event void Interrupts.tx[uint8_t id]() {}
default async event void Interrupts.i2cCal[uint8_t id]() {}
- default async event void Interrupts.i2cNak[uint8_t id]() {}
+ default async event void Interrupts.i2cNack[uint8_t id]() {}
default async event void Interrupts.i2cStart[uint8_t id]() {}
default async event void Interrupts.i2cStop[uint8_t id]() {}
}