![]() |
libsigrok
0.5.2
sigrok hardware access and backend library
|
Hardware driver handling in libsigrok. More...
#include <config.h>#include <stdlib.h>#include <stdio.h>#include <sys/types.h>#include <dirent.h>#include <string.h>#include <glib.h>#include <libsigrok/libsigrok.h>#include "libsigrok-internal.h"
Include dependency graph for hwdriver.c:Go to the source code of this file.
Functions | |
| struct sr_dev_driver ** | sr_driver_list (const struct sr_context *ctx) |
| Return the list of supported hardware drivers. More... | |
| int | sr_driver_init (struct sr_context *ctx, struct sr_dev_driver *driver) |
| Initialize a hardware driver. More... | |
| GArray * | sr_driver_scan_options_list (const struct sr_dev_driver *driver) |
| Enumerate scan options supported by this driver. More... | |
| GSList * | sr_driver_scan (struct sr_dev_driver *driver, GSList *options) |
| Tell a hardware driver to scan for devices. More... | |
| int | sr_config_get (const struct sr_dev_driver *driver, const struct sr_dev_inst *sdi, const struct sr_channel_group *cg, uint32_t key, GVariant **data) |
| Query value of a configuration key at the given driver or device instance. More... | |
| int | sr_config_set (const struct sr_dev_inst *sdi, const struct sr_channel_group *cg, uint32_t key, GVariant *data) |
| Set value of a configuration key in a device instance. More... | |
| int | sr_config_commit (const struct sr_dev_inst *sdi) |
| Apply configuration settings to the device hardware. More... | |
| int | sr_config_list (const struct sr_dev_driver *driver, const struct sr_dev_inst *sdi, const struct sr_channel_group *cg, uint32_t key, GVariant **data) |
| List all possible values for a configuration key. More... | |
| const struct sr_key_info * | sr_key_info_get (int keytype, uint32_t key) |
| Get information about a key, by key. More... | |
| const struct sr_key_info * | sr_key_info_name_get (int keytype, const char *keyid) |
| Get information about a key, by name. More... | |
Hardware driver handling in libsigrok.
Definition in file hwdriver.c.
1.8.10