16 lines
331 B
C
16 lines
331 B
C
#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
|