PatchworkOS
Loading...
Searching...
No Matches
aml_pkg_lead_byte_t Struct Reference

PkgLeadByte structure. More...

#include <package_length.h>

Data Fields

uint8_t byteDataCount
 Amount of ByteData structures that come after the lead byte.
 
uint8_t smallLengthBits
 
uint8_t leastSignificantNybble
 Least significant nybble of the package length.
 

Detailed Description

PkgLeadByte structure.

Definition at line 27 of file package_length.h.

Field Documentation

◆ byteDataCount

uint8_t aml_pkg_lead_byte_t::byteDataCount

Amount of ByteData structures that come after the lead byte.

Definition at line 29 of file package_length.h.

Referenced by aml_pkg_lead_byte_read(), and aml_pkg_length_read().

◆ leastSignificantNybble

uint8_t aml_pkg_lead_byte_t::leastSignificantNybble

Least significant nybble of the package length.

Definition at line 32 of file package_length.h.

Referenced by aml_pkg_lead_byte_read(), and aml_pkg_length_read().

◆ smallLengthBits

uint8_t aml_pkg_lead_byte_t::smallLengthBits

Stores the total package length if the pkglength <= 63 which is equivalent to byteDataCount == 0 else it must be 0.

Definition at line 30 of file package_length.h.

Referenced by aml_pkg_lead_byte_read(), and aml_pkg_length_read().


The documentation for this struct was generated from the following file: