1
0
mirror of https://github.com/jonathanhogg/scopething synced 2025-07-14 03:02:09 +01:00

Tidy up some bits: naming; best practice on waveform generation command window transaction usage; analog channel enable mask for capture

This commit is contained in:
Jonathan Hogg
2017-07-26 18:23:54 +01:00
parent fc961fb2a0
commit 403bac94a5
2 changed files with 7 additions and 8 deletions

2
vm.py
View File

@ -158,7 +158,7 @@ class TraceStatus(IntEnum):
Stop = 0x03
CaptureMode = namedtuple('CaptureMode', ('clock_low', 'clock_high', 'clock_max', 'analog_channels', 'sample_width',
'logic_channels', 'clock_divide', 'TraceMode', 'BufferMode'))
'logic_channels', 'clock_divide', 'trace_mode', 'buffer_mode'))
CaptureModes = [
CaptureMode(40, 65536, None, 1, 2, False, False, TraceMode.Macro, BufferMode.Macro),