PDStack Middleware Library
cy_stc_pdstack_prl_cntrs_t Struct Reference

Description

Structure 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
 Message ID to be used on the next transmitted message. More...
 
uint8_t recMsgId
 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

Message ID to be used on the next transmitted message.

◆ recMsgId

uint8_t cy_stc_pdstack_prl_cntrs_t::recMsgId

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.