|
MCP2210 Library
An Open Source MCP2210 Library for Linux.
|
#include <mcp2210.h>
Public Attributes | |
| unsigned int | VID |
| unsigned int | PID |
| unsigned int | HostPowered |
| unsigned int | SelfPowered |
| unsigned int | RemoteWakeupCapable |
| unsigned int | RequestedCurrentAmountFromHost |
| int | ErrorCode |
USB power-up key parameters definition
The error code returned
| unsigned int USBKeyParametersDef::HostPowered |
Whether it is host powered 0: No 1: Yes
| unsigned int USBKeyParametersDef::PID |
Product ID
| unsigned int USBKeyParametersDef::RemoteWakeupCapable |
Whether supports remote wake-up 0: No 1: Yes
| unsigned int USBKeyParametersDef::RequestedCurrentAmountFromHost |
Requested current amount from USB Host current = value x 2 mA
| unsigned int USBKeyParametersDef::SelfPowered |
Whether it is self powered 0: No 1: Yes
| unsigned int USBKeyParametersDef::VID |
Vendor ID