* be silently replaced.
*
* @param sdi Must not be NULL.
- * @param probenum The number of the probe.
- * Note that the probe numbers start at 1 (not 0!).
- * @param trigger trigger string, in the format used by sigrok-cli
+ * @param probenum The probe number, starting from 0.
+ * @param trigger Trigger string, in the format used by sigrok-cli
*
- * @return SR_OK upon success, SR_ERR_ARG upon invalid arguments.
+ * @return SR_OK on success, or SR_ERR_ARG on invalid arguments.
*/
SR_API int sr_dev_trigger_set(const struct sr_dev_inst *sdi, int probenum,
const char *trigger)
* @param hwcap The capability that should be checked (whether it's supported
* by the specified device).
*
- * @return TRUE, if the device has the specified capability, FALSE otherwise.
+ * @return TRUE if the device has the specified capability, FALSE otherwise.
* FALSE is also returned upon invalid input parameters or other
* error conditions.
*/
/**
* Tell a hardware driver to scan for devices.
*
+ * In addition to the detection, the devices that are found are also
+ * initialized automatically. On some devices, this involves a firmware upload,
+ * or other such measures.
+ *
+ * The order in which the system is scanned for devices is not specified. The
+ * caller should not assume or rely on any specific order.
+ *
* @param driver The driver.
* @param options A list of struct sr_hwopt options to pass to the driver's
* scanner.