STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
PduInfoType Struct Reference

This variables shall be used to store the basic information about a PDU. More...

#include <ComStack_Types.h>

Data Fields

uint8SduDataPtr
 
uint8MetaDataPtr
 
PduLengthType SduLength
 

Detailed Description

This variables shall be used to store the basic information about a PDU.

Variables of this type shall be used to store the basic information about a PDU of any type, namely a pointer variable pointing to its SDU (payload), a pointer to Meta Data of the PDU, and the corresponding length of the SDU in bytes. The type of he pointer SduDataPtr depends on the memory model being used at compile time. The pointer to the meta data of the PDU *(MetaDataPtr), consists of a sequence of meta data items. The length and type of the meta data items is statically configured for each PDU. Meta data items with more than 8 bits use platform byte order.

Requirement
SWS_COMTYPE_00011

Field Documentation

◆ MetaDataPtr

uint8* PduInfoType::MetaDataPtr

Pointer to the meta data of the PDU.

◆ SduDataPtr

uint8* PduInfoType::SduDataPtr

Pointer to the SDU (i.e. payload data) of the PDU.

◆ SduLength

PduLengthType PduInfoType::SduLength

Length of the SDU in bytes.


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