summaryrefslogtreecommitdiffstats
path: root/views.h
blob: 988e3765c4774ff0fade11151ce97c58d90c8b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
typedef struct pcilib_view_enum_s pcilib_view_enum_t;

typedef struct pcilib_view_formula_s pcilib_view_formula_t;


/**
 * function to read a register using a view
 */
int pcilib_read_view(pcilib_t *ctx, const char *bank, const char *regname, const char *view/*, const char *unit*/, size_t value_size, void *value);

/**
 * function to write to a register using a view
 */
int pcilib_write_view(pcilib_t *ctx, const char *bank, const char *regname, const char *view/*, const char *unit*/, size_t value_size, void *value);