summaryrefslogtreecommitdiffstats
path: root/src/ieee1394.h
blob: 96a83080777a6658c39b7e1959962c3ffaff8764 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 */
follow=1'>gb_math.h - v0.04 - Namespace everything with gbGravatar gingerBill 1-340/+1484 2016-03-03Update gb.h - v0.02Gravatar gingerBill 1-38/+59 Minor fixes to work with older versions of MSVC 2016-03-03New LibrariesGravatar gingerBill 3-2101/+1219 2016-01-01Explicit Everything!Gravatar gingerBill 4-306/+241 2015-12-17Macro fixesGravatar gingerBill 3-58/+75 2015-12-17Change conventions slightlyGravatar gingerBill 4-1041/+1069 2015-12-15Remove C++ specific macrosGravatar gingerBill 1-19/+2 2015-12-15Allow for no <stdio.h>Gravatar gingerBill 2-18/+32 2015-12-14gb.hpp - Allocators can be passed to gb_alloc/free/etc. without cast using ↵Gravatar gingerBill 3-33/+126 `typedef void *gb_Allocator_Ptr` 2015-12-14Update README.mdGravatar gingerBill 1-1/+1 2015-12-14gb.h - Implement all functions (from gb.hpp)Gravatar gingerBill 3-247/+1983 2015-12-14Update README.mdGravatar gingerBill 1-0/+1