Added ieee1394.h header.

git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@40 53a565d1-3bb7-0310-b661-cf11e63c67ab
This commit is contained in:
aeb 2000-11-22 23:12:56 +00:00
parent aa2c8b55b3
commit e656d9f2f6
3 changed files with 38 additions and 1 deletions

1
NEWS
View File

@ -1,6 +1,7 @@
Version 0.8:
- added libraw1394/ieee1394.h with useful defines (especially ack and rcodes)
- function to query isochronous resource manager ID
- functions for isochronous sending
- new raw1394_reset_bus() function to reset the bus

View File

@ -15,7 +15,7 @@ libraw1394_la_SOURCES = \
raw1394_private.h
# headers to be installed
pkginclude_HEADERS = raw1394.h csr.h
pkginclude_HEADERS = raw1394.h csr.h ieee1394.h
# testlibraw
noinst_PROGRAMS = testlibraw

36
src/ieee1394.h Normal file
View File

@ -0,0 +1,36 @@
#ifndef _LIBRAW1394_IEEE1394_H
#define _LIBRAW1394_IEEE1394_H
#define L1394_RCODE_COMPLETE 0x0
#define L1394_RCODE_CONFLICT_ERROR 0x4
#define L1394_RCODE_DATA_ERROR 0x5
#define L1394_RCODE_TYPE_ERROR 0x6
#define L1394_RCODE_ADDRESS_ERROR 0x7
#define L1394_ACK_COMPLETE 0x1
#define L1394_ACK_PENDING 0x2
#define L1394_ACK_BUSY_X 0x4
#define L1394_ACK_BUSY_A 0x5
#define L1394_ACK_BUSY_B 0x6
#define L1394_ACK_DATA_ERROR 0xd
#define L1394_ACK_TYPE_ERROR 0xe
#define L1394_SPEED_100 0x0
#define L1394_SPEED_200 0x1
#define L1394_SPEED_400 0x2
#define L1394_SELFID_PWRCL_NO_POWER 0x0
#define L1394_SELFID_PWRCL_PROVIDE_15W 0x1
#define L1394_SELFID_PWRCL_PROVIDE_30W 0x2
#define L1394_SELFID_PWRCL_PROVIDE_45W 0x3
#define L1394_SELFID_PWRCL_USE_1W 0x4
#define L1394_SELFID_PWRCL_USE_3W 0x5
#define L1394_SELFID_PWRCL_USE_6W 0x6
#define L1394_SELFID_PWRCL_USE_10W 0x7
#define L1394_SELFID_PORT_CHILD 0x3
#define L1394_SELFID_PORT_PARENT 0x2
#define L1394_SELFID_PORT_NCONN 0x1
#define L1394_SELFID_PORT_NONE 0x0
#endif /* _LIBRAW1394_IEEE1394_H */