; Async Protocol Definition File ; This file defines the transfers to/from a custom device ; over an ASYNC bus ; [Protocol] name = ASYNCBus bytewise [DEBUG] DebugOn ; Uncomment this to turn on Debug Packets [Packet] [Start] type = value value = 40h ; Start command mask = F0h ; Mask out the channel number [End] type = value value = 40h ; Start command mask = F0h ; Mask out the channel number exclude ; Keep this data for the start of the next packet [Decode] [Fields] Fields Start.4.h, Channel.4=1.h, Command.8.h, X.16.d/20.48-25$g, Y.16.d/20.48-25$g, Z.16.d/20.48-25$g, Rest.N.h ; Rest of the packet Fields Rest.N.h ; Rest of the packet