/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-10-19 13:58:46 UTC
  • Revision ID: csa@suren.me-20151019135846-nz3f6iobifx06xvq
Support computed (property-based) registers

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
 
13
13
typedef enum {
14
 
    PCILIB_REGISTER_STANDARD = 0,
15
 
    PCILIB_REGISTER_FIFO,
16
 
    PCILIB_REGISTER_BITS
 
14
    PCILIB_REGISTER_STANDARD = 0,               /**< Standard register */
 
15
    PCILIB_REGISTER_FIFO,                       /**< FIFO register */
 
16
    PCILIB_REGISTER_BITS,                       /**< Besides a big standard register, the register bit-fields may be described by bit registers */
 
17
    PCILIB_REGISTER_PROPERTY                    /**< A special register bound to a property and gettings/setting it value through it */
17
18
} pcilib_register_type_t;
18
19
 
19
20
typedef struct {