]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/pins/Msp430GpioC.nc
Support for newer msp430's using newer msp430 compiler.
[tinyos-2.x.git] / tos / chips / msp430 / pins / Msp430GpioC.nc
index 6215f4505f5d1f98b4a3ea65410ec52041fb5a96..dc4995d4899207a87bfa173b1da99821666f3073 100644 (file)
@@ -28,7 +28,7 @@
  *          intended use.
  */
 
-generic module Msp430GpioC() {
+generic module Msp430GpioC() @safe() {
   provides interface GeneralIO;
   uses interface HplMsp430GeneralIO as HplGeneralIO;
 }
@@ -39,6 +39,8 @@ implementation {
   async command void GeneralIO.toggle() { call HplGeneralIO.toggle(); }
   async command bool GeneralIO.get() { return call HplGeneralIO.get(); }
   async command void GeneralIO.makeInput() { call HplGeneralIO.makeInput(); }
+  async command bool GeneralIO.isInput() { return call HplGeneralIO.isInput(); }
   async command void GeneralIO.makeOutput() { call HplGeneralIO.makeOutput(); }
+  async command bool GeneralIO.isOutput() { return call HplGeneralIO.isOutput(); }
 
 }