Struct SYN_SMBUS_Packet¶
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | command |
| uint8_t | data |
| uint8_t | length |
| uint8_t | pec |
| bool | pec_enabled |
| bool | pec_valid |
| SYN_SMBUS_Protocol | proto |
| uint8_t | slave_addr |
Public Attributes Documentation¶
variable command¶
Command code byte
variable data¶
Payload data
variable length¶
Payload length in data buffer
variable pec¶
Calculated or received PEC byte
variable pec_enabled¶
True if Packet Error Checking is active
variable pec_valid¶
True if received PEC matched calculated PEC
variable proto¶
Protocol type
variable slave_addr¶
7-bit slave address
The documentation for this class was generated from the following file src/syntropic/proto/syn_smbus.h