Skip to content

Struct SYN_SMBUS_Packet

ClassList > 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

uint8_t SYN_SMBUS_Packet::command;

Command code byte


variable data

uint8_t SYN_SMBUS_Packet::data[SYN_SMBUS_BUF_MAX_LEN];

Payload data


variable length

uint8_t SYN_SMBUS_Packet::length;

Payload length in data buffer


variable pec

uint8_t SYN_SMBUS_Packet::pec;

Calculated or received PEC byte


variable pec_enabled

bool SYN_SMBUS_Packet::pec_enabled;

True if Packet Error Checking is active


variable pec_valid

bool SYN_SMBUS_Packet::pec_valid;

True if received PEC matched calculated PEC


variable proto

SYN_SMBUS_Protocol SYN_SMBUS_Packet::proto;

Protocol type


variable slave_addr

uint8_t SYN_SMBUS_Packet::slave_addr;

7-bit slave address



The documentation for this class was generated from the following file src/syntropic/proto/syn_smbus.h