Go to the source code of this file.
Functions | |
SR_PRIV void | analyzer_reset (libusb_device_handle *devh) |
SR_PRIV void | analyzer_initialize (libusb_device_handle *devh) |
SR_PRIV void | analyzer_wait (libusb_device_handle *devh, int set, int unset) |
SR_PRIV void | analyzer_read_start (libusb_device_handle *devh) |
SR_PRIV int | analyzer_read_data (libusb_device_handle *devh, void *buffer, unsigned int size) |
SR_PRIV void | analyzer_read_stop (libusb_device_handle *devh) |
SR_PRIV void | analyzer_start (libusb_device_handle *devh) |
SR_PRIV void | analyzer_configure (libusb_device_handle *devh) |
SR_PRIV void | analyzer_add_trigger (int channel, int type) |
SR_PRIV void | analyzer_add_filter (int channel, int type) |
SR_PRIV void | analyzer_set_trigger_count (int count) |
SR_PRIV void | analyzer_set_freq (int freq, int scale) |
SR_PRIV void | analyzer_set_memory_size (unsigned int size) |
SR_PRIV void | analyzer_set_ramsize_trigger_address (unsigned int address) |
SR_PRIV void | analyzer_set_triggerbar_address (unsigned int address) |
SR_PRIV unsigned int | analyzer_read_id (libusb_device_handle *devh) |
SR_PRIV unsigned int | analyzer_get_stop_address (libusb_device_handle *devh) |
SR_PRIV unsigned int | analyzer_get_now_address (libusb_device_handle *devh) |
SR_PRIV unsigned int | analyzer_get_trigger_address (libusb_device_handle *devh) |
SR_PRIV void | analyzer_set_compression (unsigned int type) |
SR_PRIV void | analyzer_wait_button (libusb_device_handle *devh) |
SR_PRIV void | analyzer_wait_data (libusb_device_handle *devh) |
SR_PRIV int | analyzer_decompress (void *input, unsigned int input_len, void *output, unsigned int output_len) |
anonymous enum |
Definition at line 36 of file analyzer.c.
SR_PRIV void analyzer_add_filter | ( | int | channel, |
int | type | ||
) |
Definition at line 451 of file analyzer.c.
References CHANNEL_A, CHANNEL_B, CHANNEL_C, CHANNEL_D, FILTER_HIGH, and FILTER_LOW.
SR_PRIV void analyzer_add_trigger | ( | int | channel, |
int | type | ||
) |
Definition at line 408 of file analyzer.c.
References CHANNEL_A, CHANNEL_B, CHANNEL_C, CHANNEL_D, TRIGGER_HIGH, TRIGGER_LOW, TRIGGER_NEGEDGE, and TRIGGER_POSEDGE.
SR_PRIV void analyzer_configure | ( | libusb_device_handle * | devh | ) |
Definition at line 358 of file analyzer.c.
References CLOCK_SOURCE, DONT_CARE_TRIGGERBAR, gl_reg_write(), MEMORY_LENGTH, STATUS_FLAG_INIT, STATUS_FLAG_NONE, STATUS_FLAG_RESET, TRIGGER_LEVEL0, TRIGGER_LEVEL1, TRIGGER_LEVEL2, TRIGGER_LEVEL3, and TRIGGER_STATUS0.
SR_PRIV int analyzer_decompress | ( | void * | input, |
unsigned int | input_len, | ||
void * | output, | ||
unsigned int | output_len | ||
) |
Definition at line 546 of file analyzer.c.
SR_PRIV unsigned int analyzer_get_now_address | ( | libusb_device_handle * | devh | ) |
Definition at line 519 of file analyzer.c.
References gl_reg_read(), NOW_ADDRESS0, NOW_ADDRESS1, and NOW_ADDRESS2.
SR_PRIV unsigned int analyzer_get_stop_address | ( | libusb_device_handle * | devh | ) |
Definition at line 513 of file analyzer.c.
References gl_reg_read(), STOP_ADDRESS0, STOP_ADDRESS1, and STOP_ADDRESS2.
SR_PRIV unsigned int analyzer_get_trigger_address | ( | libusb_device_handle * | devh | ) |
Definition at line 525 of file analyzer.c.
References gl_reg_read(), TRIGGER_ADDRESS0, TRIGGER_ADDRESS1, and TRIGGER_ADDRESS2.
SR_PRIV void analyzer_initialize | ( | libusb_device_handle * | devh | ) |
Definition at line 311 of file analyzer.c.
References STATUS_FLAG_INIT, and STATUS_FLAG_NONE.
SR_PRIV int analyzer_read_data | ( | libusb_device_handle * | devh, |
void * | buffer, | ||
unsigned int | size | ||
) |
Definition at line 338 of file analyzer.c.
References gl_read_bulk().
SR_PRIV unsigned int analyzer_read_id | ( | libusb_device_handle * | devh | ) |
Definition at line 508 of file analyzer.c.
References DEV_ID0, DEV_ID1, and gl_reg_read().
SR_PRIV void analyzer_read_start | ( | libusb_device_handle * | devh | ) |
Definition at line 328 of file analyzer.c.
References gl_reg_read(), READ_RAM_STATUS, STATUS_FLAG_20, and STATUS_FLAG_READ.
SR_PRIV void analyzer_read_stop | ( | libusb_device_handle * | devh | ) |
Definition at line 344 of file analyzer.c.
References STATUS_FLAG_20, and STATUS_FLAG_NONE.
SR_PRIV void analyzer_reset | ( | libusb_device_handle * | devh | ) |
Definition at line 305 of file analyzer.c.
References STATUS_FLAG_NONE, and STATUS_FLAG_RESET.
SR_PRIV void analyzer_set_compression | ( | unsigned int | type | ) |
Definition at line 531 of file analyzer.c.
SR_PRIV void analyzer_set_freq | ( | int | freq, |
int | scale | ||
) |
Definition at line 487 of file analyzer.c.
SR_PRIV void analyzer_set_memory_size | ( | unsigned int | size | ) |
Definition at line 493 of file analyzer.c.
SR_PRIV void analyzer_set_ramsize_trigger_address | ( | unsigned int | address | ) |
Definition at line 498 of file analyzer.c.
SR_PRIV void analyzer_set_trigger_count | ( | int | count | ) |
Definition at line 482 of file analyzer.c.
SR_PRIV void analyzer_set_triggerbar_address | ( | unsigned int | address | ) |
Definition at line 503 of file analyzer.c.
SR_PRIV void analyzer_start | ( | libusb_device_handle * | devh | ) |
Definition at line 350 of file analyzer.c.
References STATUS_FLAG_GO, STATUS_FLAG_INIT, and STATUS_FLAG_NONE.
SR_PRIV void analyzer_wait | ( | libusb_device_handle * | devh, |
int | set, | ||
int | unset | ||
) |
Definition at line 318 of file analyzer.c.
References DEV_STATUS, and gl_reg_read().
Referenced by analyzer_wait_button(), and analyzer_wait_data().
SR_PRIV void analyzer_wait_button | ( | libusb_device_handle * | devh | ) |
Definition at line 536 of file analyzer.c.
References analyzer_wait(), and STATUS_BUTTON_PRESSED.
SR_PRIV void analyzer_wait_data | ( | libusb_device_handle * | devh | ) |
Definition at line 541 of file analyzer.c.
References analyzer_wait(), STATUS_BUSY, and STATUS_READY.