Module: CP2112::User_Customization_Definitions
- Defined in:
- lib/cp2112.rb
Constant Summary collapse
- HID_SMBUS_LOCK_VID =
User-Customizable Field Lock Bitmasks
0x01
- HID_SMBUS_LOCK_PID =
0x02
- HID_SMBUS_LOCK_POWER =
0x04
- HID_SMBUS_LOCK_POWER_MODE =
0x08
- HID_SMBUS_LOCK_RELEASE_VERSION =
0x10
- HID_SMBUS_LOCK_MFG_STR =
0x20
- HID_SMBUS_LOCK_PRODUCT_STR =
0x40
- HID_SMBUS_LOCK_SERIAL_STR =
0x80
- HID_SMBUS_LOCK_UNLOCKED =
Field Lock Bit Values
1
- HID_SMBUS_LOCK_LOCKED =
0
- HID_SMBUS_BUS_POWER_MAX =
Power Max Value (500 mA)
0xFA
- HID_SMBUS_BUS_POWER =
Power Modes
0x00
- HID_SMBUS_SELF_POWER_VREG_DIS =
0x01
- HID_SMBUS_SELF_POWER_VREG_EN =
0x02
- HID_SMBUS_SET_VID =
USB Config Bitmasks
0x01
- HID_SMBUS_SET_PID =
0x02
- HID_SMBUS_SET_POWER =
0x04
- HID_SMBUS_SET_POWER_MODE =
0x08
- HID_SMBUS_SET_RELEASE_VERSION =
0x10
- HID_SMBUS_SET_IGNORE =
USB Config Bit Values
0
- HID_SMBUS_SET_PROGRAM =
1
- HID_SMBUS_CP2112_MFG_STRLEN =
String Lengths
30
- HID_SMBUS_CP2112_PRODUCT_STRLEN =
30
- HID_SMBUS_CP2112_SERIAL_STRLEN =
30