*
* 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.
*/
/**
* Enable the H-Bridge output and set PWM frequency.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0.
+ *
* Sets duty cycle to zero, direction to LOW and enables the H-Bridge
* output. Duty cycle and direction can be later controlled with
* rpp_hbr_control() (see below).
/**
* Control the H-Bridge direction and PWM duty cycle.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0.
+ *
* @param[in] cmd [-1.0, 1.0] A double between the previous range to
* command the H-Bridge in the following manner:
* - cmd > 0 : direction set to HIGH and PWM
/**
* Disable the H-Bridge output.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0.
+ *
* Completely disable H-Bridge. After this call the H-Bridge cannot be
* controlled again until another call to rpp_hbr_enable() is made.
*