#ifdef HAVE_LIBSERIALPORT
-/*
+/**
* Standard serial driver dev_open() helper.
*
* This function can be used to implement the dev_open() driver API
return SR_OK;
}
-/*
+/**
* Standard serial driver dev_close() helper.
*
* This function can be used to implement the dev_close() driver API
return SR_OK;
}
-/*
+/**
* Standard sr_session_stop() API helper.
*
* This function can be used to simplify most (serial port based) driver's
* Must not be NULL.
* @param serial The serial device instance (struct serial_dev_inst *).
* Must not be NULL.
- * @param prefix A driver-specific prefix string used for log messages.
+ * @param[in] prefix A driver-specific prefix string used for log messages.
* Must not be NULL. An empty string is allowed.
*
* @retval SR_OK Success.
#endif
-/*
+/**
* Standard driver dev_clear() helper.
*
+ * Clear driver, this means, close all instances.
+ *
* This function can be used to implement the dev_clear() driver API
* callback. dev_close() is called before every sr_dev_inst is cleared.
*
return ret;
}
-