* UCxxCTL0 for more information.
*/
async command bool getIfgRx();
- async command void setIfgRx();
async command void clrIfgRx();
async command bool getIfgTx();
- async command void setIfgTx();
- async command void clrIfgTx();
-
}
return READ_FLAG(UCxxIfg, UCxxRXIFG);
}
- async command void Registers.setIfgRx()
- {
- SET_FLAG(UCxxIfg, UCxxRXIFG);
- }
-
async command void Registers.clrIfgRx()
{
CLR_FLAG(UCxxIfg, UCxxRXIFG);
{
return READ_FLAG(UCxxIfg, UCxxTXIFG);
}
-
- async command void Registers.setIfgTx()
- {
- SET_FLAG(UCxxIfg, UCxxTXIFG);
- }
-
- async command void Registers.clrIfgTx()
- {
- CLR_FLAG(UCxxIfg, UCxxTXIFG);
- }
}
call Registers.clrIeRx();
call Registers.clrIeTx();
call Registers.clrIfgRx();
- call Registers.clrIfgTx();
/* Restore pins to their pre-configure state */
if (m_pins & PINS_RXD)
}
if (m_slen == 0 && m_sobuf) {
call Registers.clrIeTx();
- call Registers.clrIfgTx();
m_sobuf = 0;
signal UartStream.sendDone(m_sobuf, m_solen, SUCCESS);
}