SMBus

Basis für unseren Befehlssatz stellt die SMBus Linux Kernel Implementation dar, welche vom Python SMBus-Modul angesprochen wird.

I²C Block Read

<blockquote><i>This command reads a block of bytes from a device, from a designated register that is specified through the Comm byte.</i></blockquote>

S Addr Wr [A] Comm [A] S Addr Rd [A] [Data] A [Data] A ... A [Data] NA P

I²C Block Write

<blockquote><i>The opposite of the Block Read command, this writes bytes to a device, to a designated register that is specified through the Comm byte. Note that command lengths of 0, 2, or more bytes are supported as they are indistinguishable from data.</i></blockquote>

S Addr Wr [A] Comm [A] Data [A] Data [A] ... [A] Data [A] P