diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 10:37:24 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 10:37:24 +0100 |
commit | d9a31945a92a76e590657dc2e65bb20b6ea95d90 (patch) | |
tree | 22dd29b528d62625ec8801504282d33445646d1f /pcilib/pcipywrap.i | |
parent | dce856c1a16098fe7a1df2338df60073261da94a (diff) | |
download | pcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.tar.gz pcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.tar.bz2 pcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.tar.xz pcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.zip |
Merge script and transform view. Add get register and properties info to python wrap.
Diffstat (limited to 'pcilib/pcipywrap.i')
-rw-r--r-- | pcilib/pcipywrap.i | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pcilib/pcipywrap.i b/pcilib/pcipywrap.i index cd632f8..10a95a7 100644 --- a/pcilib/pcipywrap.i +++ b/pcilib/pcipywrap.i @@ -1,10 +1,18 @@ %module pcipywrap -extern PyObject* __createPcilibInstance(const char *fpga_device, const char *model = NULL); -extern PyObject* __setPcilib(PyObject* addr); + +extern PyObject* createPcilibInstance(const char *fpga_device, const char *model = NULL); +extern PyObject* setPcilib(PyObject* addr); +extern void closeCurrentPcilibInstance(); +extern PyObject* getCurrentPcilibInstance(); 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); + +extern PyObject* get_register_list(const char *bank = NULL); +extern PyObject* get_register_info(const char* reg,const char *bank = NULL); + +extern PyObject* get_property_info(const char* branch = NULL); |