MCP2221 HID Library  1.0.4
Data Fields
mcp2221_usbinfo_t Struct Reference

Contains enumerated USB info about the device. More...

#include <libmcp2221.h>

Data Fields

wchar_t manufacturer [MCP2221_STR_LEN]
 
wchar_t product [MCP2221_STR_LEN]
 
wchar_t serial [MCP2221_STR_LEN]
 
uint8_t factorySerialLen
 
char factorySerial [60]
 
char firmware [2]
 
char hardware [2]
 
int vid
 
int pid
 
mcp2221_pwrsrc_t powerSource
 
mcp2221_wakeup_t remoteWakeup
 
int milliamps
 

Detailed Description

Contains enumerated USB info about the device.

Field Documentation

char factorySerial[60]

Factory serial

uint8_t factorySerialLen

Factory serial length (usually 8)

char firmware[2]

Firmware version

char hardware[2]

Hardware version

wchar_t manufacturer[MCP2221_STR_LEN]

Enumerated manufacturer descriptor

int milliamps

Enumerated current limit

int pid

PID

mcp2221_pwrsrc_t powerSource

Power source

wchar_t product[MCP2221_STR_LEN]

Enumerated product descriptor

mcp2221_wakeup_t remoteWakeup

Remote USB host wakeup

wchar_t serial[MCP2221_STR_LEN]

Enumerated serial descriptor

int vid

VID


The documentation for this struct was generated from the following file: