Benutzer:Siro
Aus LaborWiki
alias: Patrick
I2C Protokoll
DEF:
Hardwareebene (i2c) layer0
Packetebene layer1
Vorderungen:
Packet:
Header | Data |
1 Byte | 1-8 Byte |
Header:
Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 - 0 |
reserved | reserved | Command/!Data | Parity | Packetsize |
Note: Parity can be EVEN, ODD, XOR, NONE, Parity does include packetsize-Bits and all DATA
Note: Command/!DATA marks this packet as COMMAND packet or as DATA packet
COMMAND PACKET
COMMAND PACKET: size 1
DATA: command
handled by layer1
DATA PACKET
handled by userprogram
COMMANDS