/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
*
- * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
* This program is free software: you can redistribute it and/or modify
struct dev_context {
const struct fx2lafw_profile *profile;
-
/*
* Since we can't keep track of an fx2lafw device after upgrading
* the firmware (it renumerates into a different device address
uint64_t cur_samplerate;
uint64_t limit_samples;
+ /* Operational settings */
gboolean sample_wide;
-
uint16_t trigger_mask[NUM_TRIGGER_STAGES];
uint16_t trigger_value[NUM_TRIGGER_STAGES];
int trigger_stage;
int empty_transfer_count;
void *cb_data;
-
- struct sr_usb_dev_inst *usb;
-
unsigned int num_transfers;
struct libusb_transfer **transfers;
+ int *usbfd;
};
#endif