Bus services: Difference between revisions
Tesnos6921 (talk | contribs) |
|||
Line 159: | Line 159: | ||
=== Commands === | === Commands === | ||
* | The commands use the following bits | ||
{| class=wikitable | |||
! Bit || Name | |||
|- | |||
| 0 || Receive | |||
|- | |||
| 6 || I2cTransactionOption_Start | |||
|- | |||
| 7 || I2cTransactionOption_Sop | |||
|} | |||
* If bit 0 is not set, the command will write bytes to the device and follows this format: [u8 cmd] [u8 len] <bytes> | |||
* If bit 0 is set, the command will receive bytes from the device and follows this format: [u8 cmd] [u8 len] | |||
== SetRetryValues == | == SetRetryValues == |