CH341 to i2c bus linux kernel driver. With this driver inserted to Linux kernel, you can write your code using the standard Linux I2C API.
make insmod i2c-ch341-usb.ko