X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fcc2420_tkn154%2FReliableWait.nc;h=0ac6432453905931c6a67661bb4345241b21db59;hb=82c215ff867ea7ef4fa748fb72b686c32ffb25e1;hp=02140b1116fb1181ff4e5dff2cddd9a5b56979e8;hpb=afb6da3df34fdebb6843598761ef4de5eb0186f6;p=tinyos-2.x.git diff --git a/tos/chips/cc2420_tkn154/ReliableWait.nc b/tos/chips/cc2420_tkn154/ReliableWait.nc index 02140b11..0ac64324 100644 --- a/tos/chips/cc2420_tkn154/ReliableWait.nc +++ b/tos/chips/cc2420_tkn154/ReliableWait.nc @@ -32,18 +32,14 @@ */ interface ReliableWait { - async command void busyWait(uint16_t dt); - - /* - * The following command/event pairs are platform-specific - * busy-waits. - */ - async command void waitRx(ieee154_reftime_t *t0, uint16_t dt); async event void waitRxDone(); - async command void waitCCA(ieee154_reftime_t *t0, uint16_t dt); - async event void waitCCADone(); async command void waitTx(ieee154_reftime_t *t0, uint16_t dt); async event void waitTxDone(); + async command void waitBackoff(ieee154_reftime_t *t0, uint16_t dt); + async event void waitBackoffDone(); + + async command void busyWaitSlotBoundaryCCA(ieee154_reftime_t *t0, uint16_t *dt); + async command void busyWaitSlotBoundaryTx(ieee154_reftime_t *t0, uint16_t dt); }