libdc1394
2.2.4
|
#include <dc1394/juju/firewire-cdev.h>
struct fw_cdev_event_iso_interrupt - Sent when an iso packet was completed : See set by FW_CDEV_CREATE_ISO_CONTEXT ioctl : See always FW_CDEV_EVENT_ISO_INTERRUPT : Cycle counter of the interrupt packet : Total length of following headers, in bytes : Stripped headers, if any
This event is sent when the controller has completed an &fw_cdev_iso_packet with the FW_CDEV_ISO_INTERRUPT bit set. In the receive case, the headers stripped of all packets up until and including the interrupt packet are returned in the field. The amount of header data per packet is as specified at iso context creation by &fw_cdev_create_iso_context.header_size.
In version 1 of this ABI, header data consisted of the 1394 isochronous packet header, followed by quadlets from the packet payload if &fw_cdev_create_iso_context.header_size > 4.
In version 2 of this ABI, header data consist of the 1394 isochronous packet header, followed by a timestamp quadlet if &fw_cdev_create_iso_context.header_size > 4, followed by quadlets from the packet payload if &fw_cdev_create_iso_context.header_size > 8.
Behaviour of ver. 1 of this ABI is no longer available since ABI ver. 2.
Format of 1394 iso packet header: 16 bits len, 2 bits tag, 6 bits channel, 4 bits tcode, 4 bits sy, in big endian byte order. Format of timestamp: 16 bits invalid, 3 bits cycleSeconds, 13 bits cycleCount, in big endian byte order.