X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fpins%2FHplMsp430GeneralIO.nc;h=f8314b9534e0b836701c6fd77501cefb32eb6a4b;hb=1a329382c4f4556fd52d85f4e3f4a67e54911682;hp=0539b7d7ccecd4aee2d489c05bae09324db87c71;hpb=3837fe262225242d1629ba72bdf12f6d162ba5c0;p=tinyos-2.x.git diff --git a/tos/chips/msp430/pins/HplMsp430GeneralIO.nc b/tos/chips/msp430/pins/HplMsp430GeneralIO.nc index 0539b7d7..f8314b95 100644 --- a/tos/chips/msp430/pins/HplMsp430GeneralIO.nc +++ b/tos/chips/msp430/pins/HplMsp430GeneralIO.nc @@ -63,19 +63,27 @@ interface HplMsp430GeneralIO */ async command void makeInput(); + async command bool isInput(); + /** * Set pin direction to output. */ async command void makeOutput(); - + + async command bool isOutput(); + /** * Set pin for module specific functionality. */ async command void selectModuleFunc(); - + + async command bool isModuleFunc(); + /** * Set pin for I/O functionality. */ async command void selectIOFunc(); + + async command bool isIOFunc(); }