*
* Call this method before using this module.
*
+ * This function is not thread safe. Do not call it from multiple threads.
+ *
* @return SUCCESS if initialization successful.\n
* FAILURE if module already initialized.
*/
/**
* Set the output of given pin to given value.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0.
+ *
* This function will also verify if a faulty condition is detected. See return
* documentation below for details.
*
/**
* Get the cached value of the given pin set by rpp_mout_set().
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0.
+ *
* This will not read the value on the pin. To confirm if the output is
* correctly set call rpp_mout_diag() and confirm SUCCESS.
*
/**
* Reads the value on the given diagnostic pin.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0.
+ *
* Note that rpp_mout_set() calls this routine already before returning.
*
* @param[in] pin The pin number to read [1-6].