]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/HplMsp430UsciInt.nc
i2cNak() -> i2cNack()
[tinyos-2.x.git] / tos / chips / msp430 / usci / HplMsp430UsciInt.nc
index 19e1e6df91305747414b51b30543b5acae598262..d0021cd64720ce9c009070e2bdfbd6282bf4ac82 100644 (file)
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
 /**
  * Interrupt interface for USCI peripherals.  Although A and B devices have
  * different interrupt sets since B only support I2C, we use a single set for
  * both so that upper layers need not deal with the different sets.  This is
  * critical in the case of SPI communications, which is supported by both A
  * and B devices.
- * 
+ *
  * @author R. Steve McKown <rsmckown@gmail.com>
  */
-#include "msp430usci.h"
+
+#include "Msp430Usci.h"
 
 interface HplMsp430UsciInt {
   /**
@@ -51,9 +51,9 @@ interface HplMsp430UsciInt {
    * Signals a character received for any USCI mode.  The provider must reset
    * UCxIFG.UCxxRXIFG before signalling the event to the user.
    *
-   * @params c The character received.
+   * @params byte The character received.
    */
-  async event void rx(char c);
+  async event void rx(uint8_t byte);
 
   /**
    * Signals that the device's transmit buffer is empty and can accept
@@ -74,7 +74,7 @@ interface HplMsp430UsciInt {
    * 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