lophtware

Logo

lophtware projects

GitHub Profile

I2C - Bus Configuration

Report Type: IN / OUT
Report Size: 12 Bytes
Acknowledged By: Command Acknowledgement

Report ID Unlock Key SMBus Slew Rate Hold Time
00000100 8 bytes u i 0000 V v u i 0000 R r u i 0000 H h

Report ID

HID Report ID. Always 0x04.

Unlock Key

An 8-byte key that is used to prevent accidental changes to certain configuration values. If the supplied key does not match the stored key then this report is ignored.

For IN Reports the field is set as all zeroes.

Common Flags

These flags are common across multiple fields and have the same semantics for each:

Bits Direction Meaning
u OUT Update the field; 1 if the field is to be updated, 0 if no change is to be made (any supplied values will be ignored). For IN Reports this will be set to 0.
i OUT Immediate update; 1 if an update is to be applied immediately, 0 if the change will be stored in the configuration to be applied later. Note that no configuration changes are persisted until Store Current Configuration is issued. This flag makes no sense if u is 0, so will be ignored. For IN Reports this will be set to 0.

SMBus

Bits Direction Meaning
V IN Use SMBus voltage thresholds when the configuration is next applied; 1 for yes, 0 for no (ie. the default I2C voltage levels). OUT Reports should set this to 0.
v IN / OUT Use SMBus voltage thresholds; 1 for yes, 0 for no (ie. the default I2C voltage levels).

Slew Rate

Bits Direction Meaning
R IN Whether to control the slew-rate of the I2C pins when the configuration is next applied; 1 for yes, 0 for no. OUT Reports should set this to 0.
r IN / OUT Whether to control the slew-rate of the I2C pins; 1 for yes, 0 for no.

Hold Time

Bits Direction Meaning
H IN The hold time on SDA after the falling edge of SCL when the configuration is next applied; 0 for a minimum of 100ns, 1 for a minimum of 300ns. OUT Reports should set this to 0.
h IN / OUT The hold time on SDA after the falling edge of SCL; 0 for a minimum of 100ns, 1 for a minimum of 300ns.