X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FHplMsp430UsciRegP.nc;fp=tos%2Fchips%2Fmsp430%2Fusci%2FHplMsp430UsciRegP.nc;h=fcd3c10e0b388e6fc72f3acacff8724055df0ca2;hp=9bbf76d180be3325f331b4eb6ed0f0dce8166142;hb=3fe8f13e05a2bcbc4a224f5a7b7f0ae45398a9b5;hpb=5e3e84e7b2f84d6e1cb0b78fbe943ebe4e8b009d diff --git a/tos/chips/msp430/usci/HplMsp430UsciRegP.nc b/tos/chips/msp430/usci/HplMsp430UsciRegP.nc index 9bbf76d1..fcd3c10e 100644 --- a/tos/chips/msp430/usci/HplMsp430UsciRegP.nc +++ b/tos/chips/msp430/usci/HplMsp430UsciRegP.nc @@ -306,6 +306,11 @@ implementation return READ_FLAG(UCxxIfg, UCxxRXIFG); } + async command void Registers.setIfgRx() + { + SET_FLAG(UCxxIfg, UCxxRXIFG); + } + async command void Registers.clrIfgRx() { CLR_FLAG(UCxxIfg, UCxxRXIFG); @@ -316,6 +321,11 @@ implementation return READ_FLAG(UCxxIfg, UCxxTXIFG); } + async command void Registers.setIfgTx() + { + SET_FLAG(UCxxIfg, UCxxTXIFG); + } + async command void Registers.clrIfgTx() { CLR_FLAG(UCxxIfg, UCxxTXIFG);