#ifndef __FTDI_DEV_H__ #define __FTDI_DEV_H__ #include struct ftdi_dev { struct ftdi_context *ftdi; bool is_open; unsigned int vendor_id; unsigned int product_id; unsigned char bit_mask; /* Mask of used bits */ unsigned char status_mask; /* Mask of current status of used bits */ }; #endif