/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to pcilib.h

  • Committer: Suren A. Chilingaryan
  • Date: 2011-12-09 08:30:21 UTC
  • Revision ID: csa@dside.dyndns.org-20111209083021-b031rh6pr033to38
Parse required event & data_type

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
} pcilib_register_protocol_t;
61
61
 
62
62
typedef enum {
63
 
    PCILIB_EVENT_DATA
 
63
    PCILIB_EVENT_DATA = 0,              /**< default data format */
 
64
    PCILIB_EVENT_RAW_DATA = 1           /**< raw data */
64
65
} pcilib_event_data_type_t;
65
66
 
66
67
typedef enum {
123
124
#define PCILIB_EVENT3                   8
124
125
#define PCILIB_EVENTS_ALL               ((pcilib_event_t)-1)
125
126
#define PCILIB_EVENT_INVALID            ((pcilib_event_t)-1)
 
127
#define PCILIB_EVENT_DATA_TYPE_INVALID  ((pcilib_event_data_type_t)-1)
126
128
#define PCILIB_TIMEOUT_INFINITE         ((pcilib_timeout_t)-1)
127
129
#define PCILIB_TIMEOUT_IMMEDIATE        0
128
130
#define PCILIB_IRQ_SOURCE_DEFAULT       0