test.c/inc/ftdi_dev.h

16 lines
331 B
C
Raw Normal View History

2019-07-13 21:22:43 +00:00
#ifndef __FTDI_DEV_H__
#define __FTDI_DEV_H__
#include <ftdi.h>
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