summaryrefslogtreecommitdiffstats
path: root/pcilib/pcipywrap.i
blob: cd632f85dbbda57584b8d39dffaa45eab5af4bdb (plain)
1
2
3
4
5
6
7
8
9
10
%module pcipywrap

extern PyObject* __createPcilibInstance(const char *fpga_device, const char *model = NULL);
extern PyObject* __setPcilib(PyObject* addr);

extern PyObject* read_register(const char *regname, const char *bank = NULL);
extern PyObject* write_register(PyObject* val, const char *regname, const char *bank = NULL);

extern PyObject* get_property(const char *prop);
extern PyObject* set_property(const char *prop, PyObject* val);