MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / set_acCoupling

Method set_acCoupling

DSView/pv/view/dsosignal.cpp:372–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void DsoSignal::set_acCoupling(uint8_t coupling)
373{
374 if (enabled()) {
375 _acCoupling = coupling;
376 session->get_device()->set_config_byte(SR_CONF_PROBE_COUPLING,
377 _acCoupling, _probe, NULL);
378 }
379}
380
381int DsoSignal::ratio2value(double ratio)
382{

Callers

nothing calls this directly

Calls 2

set_config_byteMethod · 0.80
get_deviceMethod · 0.80

Tested by

no test coverage detected