]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420_tkn154/CC2420Power.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / chips / cc2420_tkn154 / CC2420Power.nc
index a213f31d5d7a1c938a7122360ff7c05687d14d79..403bfb0bc386fb0afabdc22d39aec36f993871ec 100644 (file)
@@ -99,7 +99,15 @@ interface CC2420Power {
 
   /**
    * Read RSSI from the radio. 
-   * @return SUCCESS if RSSI was read successfulyy, FAIL otherwise.
+   * @return SUCCESS if RSSI was read successfully, FAIL otherwise.
    */
   async command error_t rssi(int8_t *rssi);
+  /**
+   * Flush the RXFIFO if it is not empty. 
+   * Radio SHOULD be disabled (off) when calling this command.
+   *
+   * @return SUCCESS if fifo was flushed (or it was empty), FAIL otherwise.
+   */
+  async command error_t flushRxFifo(); 
 }