Download USBEE DX TEST POD USERS MANUAL

Transcript
SERIAL PROTOCOL EXAMPLE
; Serial Protocol Definition File
; This file defines the transfers from a serial device
;
[Protocol]
name = SerialBus
bitwise
[DEBUG]
;DebugOn
; Uncomment this to turn on Debug Packets
[Packet]
[Start]
type = value
; Look for a value in the data to start the
packet
value = 6211h ; NOTE: This value is assumed MSbit first in
; the data stream!
bits = 16
mask = FFFFh
[End]
type = length
bitlength = 64 ; End of command after 64 bits
[Decode]
[Fields]
; Send out the bits of the packet
Fields Start.16.h, Nine.9.h, Seven.7.h, Rest.N.b
USBee DX Test Pod User’s Manual
105