* @param[in] init_ports Specifies which ports to initialize.
* RPP_GIO_PORT_ALL causes all ports to be initialized.
*
+ * This function is not thread safe. Do not call it from multiple
+ * threads.
+ *
* @return SUCCESS if successful, FAILURE otherwise.
*/
int8_t rpp_gio_init(uint32_t init_ports);
/**
* Sets GIO output pin to a value.
*
+ * The function is thread safe.
+ *
* @param pin Pin to set
* @param value Value to the pin to.
*
/**
* Reads the value of a GIO pin.
*
+ * The function is thread safe.
+ *
* @param pin Pin to read.
*
* @return Pin value (0 or 1) in case of success, FAILURE otherwise.
/**
* Configure GIO pin.
*
+ * The function is thread safe, unless compiled with -DRPP_THREADSAFE=0.
+ *
* @param pin Pin to configure
* @param io Configure the pin as input or output.
* @param in_mode Input settings. Ignored when pin is configured as