+void
+cccp_write(struct ccdbg *dbg, uint8_t mask, uint8_t value)
+{
+ _cccp_write(dbg, mask, value);
+// say("w", dbg->debug_data);
+}
+
+uint8_t
+cccp_read_all(struct ccdbg *dbg)
+{
+ int ret;
+ uint8_t get;
+ ret = ioctl(dbg->fd, CP2101_IOCTL_GPIOGET, &get);
+ if (ret < 0) {
+ perror("CP2101_IOCTL_GPIOGET");
+ get = 0;
+ }
+ return get;
+}
+