diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 14:24:01 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 14:24:01 +0100 |
commit | d7fc669bf0dbe37f46d2efec4940feb8504017c2 (patch) | |
tree | 7075ee0851d52f9e448be3ff084dde1c35014558 /pywrap/pcipywrap.i | |
parent | 76ee5a167add1c169a982ab59aa0544f827cb365 (diff) | |
download | pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.gz pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.bz2 pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.xz pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.zip |
Change no_set_check parameter name. Move Python wrap to separate directory.
Diffstat (limited to 'pywrap/pcipywrap.i')
-rw-r--r-- | pywrap/pcipywrap.i | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pywrap/pcipywrap.i b/pywrap/pcipywrap.i new file mode 100644 index 0000000..3ff23a9 --- /dev/null +++ b/pywrap/pcipywrap.i @@ -0,0 +1,21 @@ +%module pcipywrap + +%init %{ + init_pcipywrap_module(); +%} + +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_registers_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); |