diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-09 17:32:11 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-09 17:32:11 +0100 |
commit | dce856c1a16098fe7a1df2338df60073261da94a (patch) | |
tree | 61285a125a21bd311c3835f8b0fb8a7cc94d8f76 /pcilib/pcipywrap.i | |
parent | aaac7b80d1e003a3dbc4fe0f831a68e5449c846d (diff) | |
download | pcitool-dce856c1a16098fe7a1df2338df60073261da94a.tar.gz pcitool-dce856c1a16098fe7a1df2338df60073261da94a.tar.bz2 pcitool-dce856c1a16098fe7a1df2338df60073261da94a.tar.xz pcitool-dce856c1a16098fe7a1df2338df60073261da94a.zip |
Add write_register python wrap. Add no_set_check attribute to pcilib_view_t type
Diffstat (limited to 'pcilib/pcipywrap.i')
-rw-r--r-- | pcilib/pcipywrap.i | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pcilib/pcipywrap.i b/pcilib/pcipywrap.i index 8d0f74e..cd632f8 100644 --- a/pcilib/pcipywrap.i +++ b/pcilib/pcipywrap.i @@ -1,7 +1,10 @@ %module pcipywrap -extern PyObject* read_register(const char *regname, const char *bank = NULL); 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); |