summaryrefslogtreecommitdiffstats
path: root/cmosis.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmosis.h')
-rw-r--r--cmosis.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmosis.h b/cmosis.h
new file mode 100644
index 0000000..0d9c7a1
--- /dev/null
+++ b/cmosis.h
@@ -0,0 +1,9 @@
+#ifndef _IPECAMERA_CMOSIS_H
+#define _IPECAMERA_CMOSIS_H
+
+#include <pcilib/bank.h>
+
+int ipecamera_cmosis_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value);
+int ipecamera_cmosis_write(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t value);
+
+#endif /* _IPECAMERA_CMOSIS_H */