libdc1394  2.2.6
fw_cdev_event_iso_interrupt Struct Reference

#include <dc1394/juju/firewire-cdev.h>

Detailed Description

struct fw_cdev_event_iso_interrupt - Sent when an iso packet was completed @closure: See set by FW_CDEV_CREATE_ISO_CONTEXT ioctl @type: See always FW_CDEV_EVENT_ISO_INTERRUPT @cycle: Cycle counter of the interrupt packet @header_length: Total length of following headers, in bytes @header: 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 @header 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.


The documentation for this struct was generated from the following file: