PDStack Middleware Library 2.0
cy_stc_pdstack_prl_cntrs_t Struct Reference

Description

Struct to hold PD protocol message IDs and flags.

Separate structures need to be maintained for each packet type (SOP, SOP' and SOP'').

Data Fields

uint8_t trMsgId
 The message ID to be used on the next transmitted message. More...
 
uint8_t recMsgId
 The message ID of last received message. More...
 
bool volatile firstMsgRcvd
 Flag that indicates whether any message has been received so far. More...
 

Field Documentation

◆ trMsgId

uint8_t cy_stc_pdstack_prl_cntrs_t::trMsgId

The message ID to be used on the next transmitted message.

◆ recMsgId

uint8_t cy_stc_pdstack_prl_cntrs_t::recMsgId

The message ID of last received message.

◆ firstMsgRcvd

bool volatile cy_stc_pdstack_prl_cntrs_t::firstMsgRcvd

Flag that indicates whether any message has been received so far.