; Edge Detector Definition File
; This file outputs the changes on a single line
; Setup a channel as a Parallel Bus Type and select the Data signal you want to detect edges on.
; Then make sure that the Clock is Off (in the Channel Settings Dialog Box)
; Every time the signal changes level, this will output a single timestamped line in the
; PacketPresenter display. To interleave these edges with another busses traffic, use the
; View | Decode Busses Between Cursors menu item.
;
[Protocol]
name = IOBit
bytewise
[DEBUG]
;DebugOn ; Uncomment this to turn on Debug Packets
[Packet]
[Start]
type = value ; Look for a rising edge
value = 01h ; 8 0s followed by a single 1 is a rising edge
value = FEh ; 8 1s followed by a single 0 is a falling edge
bits = 8
mask = ffH
[End]
type = next ; End the packet at the next sample since we already found the edge
[Decode]
[Fields]
; Send out an indicator that this edge exists
Fields Ignore.7.i, Bit.1.d