*
* 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.
*/
* Configure voltage reference levels for digital inputs using variable
* reference threshold.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0
+ *
* @param[in] refA [0-4095] value to set (DAC is 12bits) the reference
* voltage A (pins 12-15).
* @param[in] refB [0-4095] value to set (DAC is 12bits) the reference
*
* Call rpp_din_update() to commit configuration changes to the hardware.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0
+ *
* @param[in] pin The pin number to setup [0-15].
* @param[in] pull_up TRUE to setup pin as pull-up (a switch-to-ground device
* is connected) or FALSE to setup as pull-down
*
* Call rpp_din_update() to update cached values.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0
+ *
* @param[in] pin The pin number to read [0-15].
*
* @return RPP_CLOSED or RPP_OPEN if successful.\n
* Inputs [8-11] use programmable threshold B and [12-15] use
* programmable threshold A.\n
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0
+ *
* @see rpp_din_ref().
*
* @param[in] pin The pin number to read [8-15].
*
* Call rpp_din_update() to update cached values.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0
+ *
* @param[in] pin The pin number to read [0-15].
*
* @return HIGH or LOW if successful.\n
* Read and update cached values and diagnostic values of all pins. Also commit
* configuration changes.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0
+ *
* @return SUCCESS when transaction was successful.\n
* FAILURE if transaction could not be confirmed.
*/