#include <stdlib.h>#include <unistd.h>#include <string.h>#include "sigrok.h"#include "sigrok-internal.h"
Go to the source code of this file.
Data Structures | |
| struct | context |
Defines | |
| #define | NUM_PROBES 8 |
| #define | DEMONAME "Demo device" |
| #define | BUFSIZE 4096 |
Enumerations | |
| enum | { PATTERN_SIGROK, PATTERN_RANDOM, PATTERN_INC, PATTERN_ALL_LOW, PATTERN_ALL_HIGH } |
Variables | |
| SR_PRIV GIOChannel * | channels [2] |
| SR_PRIV struct sr_dev_driver | demo_driver_info |
| #define NUM_PROBES 8 |
| anonymous enum |
| SR_PRIV struct sr_dev_driver demo_driver_info |
{
.name = "demo",
.longname = "Demo driver and pattern generator",
.api_version = 1,
.init = hw_init,
.cleanup = hw_cleanup,
.dev_open = hw_dev_open,
.dev_close = hw_dev_close,
.dev_info_get = hw_dev_info_get,
.dev_status_get = hw_dev_status_get,
.hwcap_get_all = hw_hwcap_get_all,
.dev_config_set = hw_dev_config_set,
.dev_acquisition_start = hw_dev_acquisition_start,
.dev_acquisition_stop = hw_dev_acquisition_stop,
}
1.7.6.1