Trigger Coupling
Coupling allows the user to couple the triggering to the DC, AC, low frequency, or high frequency portions of the waveform.
DC
from lager import Net, NetType, TriggerStatus
sck = Net.get('I2C.SCK',
type=NetType.Analog,
setup_function=setup_nets,
teardown_function=teardown_nets)
sck.trigger_settings.set_coupling_DC()
AC
from lager import Net, NetType, TriggerStatus
sck = Net.get('I2C.SCK',
type=NetType.Analog,
setup_function=setup_nets,
teardown_function=teardown_nets)
sck.trigger_settings.set_coupling_AC()
Reject Low Frequency
from lager import Net, NetType, TriggerStatus
sck = Net.get('I2C.SCK',
type=NetType.Analog,
setup_function=setup_nets,
teardown_function=teardown_nets)
sck.trigger_settings.set_coupling_low_freq_reject()
Reject High Frequency
from lager import Net, NetType, TriggerStatus
sck = Net.get('I2C.SCK',
type=NetType.Analog,
setup_function=setup_nets,
teardown_function=teardown_nets)
sck.trigger_settings.set_coupling_high_freq_reject()
Note
Setting the coupling via the CLI requires you to also set the trigger type.
~ lager analog I2C.SDA trigger edge --coupling dc --dut 1