sr: Fix/document probe names.
This commit is contained in:
parent
6c39d99a28
commit
d261dbbfcc
|
@ -48,6 +48,7 @@ static int hwcaps[] = {
|
|||
SR_HWCAP_CONTINUOUS,
|
||||
};
|
||||
|
||||
/* TODO: Which probe names/numbers to use? */
|
||||
static const char *probe_names[NUM_PROBES + 1] = {
|
||||
"0",
|
||||
"1",
|
||||
|
|
|
@ -57,8 +57,12 @@ static uint64_t supported_samplerates[] = {
|
|||
0,
|
||||
};
|
||||
|
||||
/*
|
||||
* Probe numbers seem to go from 1-16, according to this image:
|
||||
* http://tools.asix.net/img/sigma_sigmacab_pins_720.jpg
|
||||
* (the cable has two additional GND pins, and a TI and TO pin)
|
||||
*/
|
||||
static const char *probe_names[NUM_PROBES + 1] = {
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
|
@ -74,6 +78,7 @@ static const char *probe_names[NUM_PROBES + 1] = {
|
|||
"13",
|
||||
"14",
|
||||
"15",
|
||||
"16",
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
|
||||
static GSList *dev_insts = NULL;
|
||||
|
||||
/* Probes are numbered 0-7. */
|
||||
static const char *probe_names[NUM_PROBES + 1] = {
|
||||
"0",
|
||||
"1",
|
||||
|
|
|
@ -102,6 +102,7 @@ static const char *pattern_strings[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
/* We name the probes 0-7 on our demo driver. */
|
||||
static const char *probe_names[NUM_PROBES + 1] = {
|
||||
"0",
|
||||
"1",
|
||||
|
|
|
@ -48,6 +48,11 @@ static int hwcaps[] = {
|
|||
0,
|
||||
};
|
||||
|
||||
/*
|
||||
* Probes are numbered 0 to 7.
|
||||
*
|
||||
* See also: http://www.linkinstruments.com/images/mso19_1113.gif
|
||||
*/
|
||||
static const char *probe_names[NUM_PROBES + 1] = {
|
||||
"0",
|
||||
"1",
|
||||
|
|
|
@ -55,6 +55,7 @@ static int hwcaps[] = {
|
|||
0,
|
||||
};
|
||||
|
||||
/* Probes are numbered 0-31 (on the PCB silkscreen). */
|
||||
static const char *probe_names[NUM_PROBES + 1] = {
|
||||
"0",
|
||||
"1",
|
||||
|
|
|
@ -46,6 +46,12 @@ static int hwcaps[] = {
|
|||
0,
|
||||
};
|
||||
|
||||
/*
|
||||
* Probes are numbered 1-8.
|
||||
*
|
||||
* TODO: FX2 eval boards with the standard Cypress VID/PID can have 16 pins
|
||||
* or probes in theory, which is not supported by the Saleae Logic firmware.
|
||||
*/
|
||||
static const char *probe_names[] = {
|
||||
"0",
|
||||
"1",
|
||||
|
|
|
@ -74,39 +74,27 @@ static int hwcaps[] = {
|
|||
0,
|
||||
};
|
||||
|
||||
/*
|
||||
* ZEROPLUS LAP-C (16032) numbers the 16 probes A0-A7 and B0-B7.
|
||||
* We currently ignore other untested/unsupported devices here.
|
||||
*/
|
||||
static const char *probe_names[] = {
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"10",
|
||||
"11",
|
||||
"12",
|
||||
"13",
|
||||
"14",
|
||||
"15",
|
||||
"16",
|
||||
"17",
|
||||
"18",
|
||||
"19",
|
||||
"20",
|
||||
"21",
|
||||
"22",
|
||||
"23",
|
||||
"24",
|
||||
"25",
|
||||
"26",
|
||||
"27",
|
||||
"28",
|
||||
"29",
|
||||
"30",
|
||||
"31",
|
||||
"A0",
|
||||
"A1",
|
||||
"A2",
|
||||
"A3",
|
||||
"A4",
|
||||
"A5",
|
||||
"A6",
|
||||
"A7",
|
||||
"B0",
|
||||
"B1",
|
||||
"B2",
|
||||
"B3",
|
||||
"B4",
|
||||
"B5",
|
||||
"B6",
|
||||
"B7",
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue