*/
async command void toggle();
+ /**
+ * Get the port OUT status that contains the pin.
+ *
+ * @return Status of the port that contains the given pin. The x'th
+ * pin on the port will be represented in the x'th bit.
+ */
+ async command uint8_t getOutRaw();
+
+ /**
+ * Read pin OUT value.
+ *
+ * @return TRUE if pin is high, FALSE otherwise.
+ */
+ async command bool getOut();
/**
* Get the port status that contains the pin.
*
async command void selectIOFunc();
async command bool isIOFunc();
+
+ /**
+ * Enable pullup/pulldown resistor. When enabled, the output state is used
+ * to determine which resistor is enabled. When set(), the pull-up is
+ * enabled; when clr(), the pull-down is enabled.
+ */
+ async command void enableRen();
+
+ /**
+ * Disable pullup/pulldown resistor.
+ */
+ async command void disableRen();
+
+ /**
+ * Return true if pullup/pulldown resistor is enabled
+ */
+ async command bool isRen();
}