MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / get_config_uint32

Method get_config_uint32

DSView/pv/deviceagent.cpp:541–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541bool DeviceAgent::get_config_uint32(int key, uint32_t &value, const sr_channel *ch, const sr_channel_group *cg)
542{
543 GVariant* gvar = get_config(key, ch, cg);
544
545 if (gvar != NULL) {
546 value = g_variant_get_uint32(gvar);
547 g_variant_unref(gvar);
548 return true;
549 }
550
551 return false;
552}
553
554bool DeviceAgent::set_config_uint32(int key, uint32_t value, const sr_channel *ch, const sr_channel_group *cg)
555{

Callers 4

action_start_captureMethod · 0.80
meta_genMethod · 0.80
load_settingsMethod · 0.80
AnalogSignalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected