/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/register.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-28 04:09:21 UTC
  • Revision ID: csa@suren.me-20150428040921-fjyahuk824lihv1i
Initial support for event engines

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include <pcilib.h>
5
5
#include <pcilib/bank.h>
6
6
 
 
7
#define PCILIB_REGISTER_NO_BITS                 0
 
8
#define PCILIB_REGISTER_ALL_BITS                ((pcilib_register_value_t)-1)
 
9
 
7
10
typedef enum {
8
11
    PCILIB_REGISTER_R = 1,                      /**< reading from register is allowed */
9
12
    PCILIB_REGISTER_W = 2,                      /**< normal writting to register is allowed */