#include <usb_comm.h>
Definition at line 13 of file usb_comm.h.
◆ UsbComm()
milvus::UsbComm::UsbComm |
( |
| ) |
|
◆ ~UsbComm()
milvus::UsbComm::~UsbComm |
( |
| ) |
|
◆ close_device()
int milvus::UsbComm::close_device |
( |
| ) |
|
◆ open_device()
int milvus::UsbComm::open_device |
( |
uint16_t |
vendor_id, |
|
|
uint16_t |
product_id, |
|
|
int |
ep_in_addr, |
|
|
int |
ep_out_addr |
|
) |
| |
◆ print_array()
void milvus::UsbComm::print_array |
( |
uint8_t * |
buf, |
|
|
int |
length |
|
) |
| |
|
private |
◆ read_bytes()
int milvus::UsbComm::read_bytes |
( |
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
◆ write_bytes()
int milvus::UsbComm::write_bytes |
( |
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
◆ baud_
int milvus::UsbComm::baud_ |
|
private |
◆ devh
struct libusb_device_handle* milvus::UsbComm::devh |
|
private |
◆ ep_in_addr_
int milvus::UsbComm::ep_in_addr_ |
|
private |
◆ ep_out_addr_
int milvus::UsbComm::ep_out_addr_ |
|
private |
◆ error
int milvus::UsbComm::error |
|
private |
◆ port_name_
std::string milvus::UsbComm::port_name_ |
|
private |
The documentation for this class was generated from the following files: