PDStack Middleware Library 2.0
cy_stc_pdstack_pd_packet_epr_t Struct Reference


Struct to hold an EPR PD packet.

Data Fields

uint8_t sop
 Packet type. More...
uint8_t len
 Length in data objects. More...
uint8_t msg
 Message code. More...
uint8_t dataRole
 Data role. More...
cy_pd_pd_hdr_t hdr
 Message header. More...
cy_pd_pd_do_t dat [CY_PD_MAX_NO_OF_DO+CY_PD_MAX_NO_OF_EPR_PDO]
 Data objects associated with the message. More...

Field Documentation

◆ sop

uint8_t cy_stc_pdstack_pd_packet_epr_t::sop

Packet type.

◆ len

uint8_t cy_stc_pdstack_pd_packet_epr_t::len

Length in data objects.

◆ msg

uint8_t cy_stc_pdstack_pd_packet_epr_t::msg

Message code.

◆ dataRole

uint8_t cy_stc_pdstack_pd_packet_epr_t::dataRole

Data role.

◆ hdr

cy_pd_pd_hdr_t cy_stc_pdstack_pd_packet_epr_t::hdr

Message header.

◆ dat

cy_pd_pd_do_t cy_stc_pdstack_pd_packet_epr_t::dat[CY_PD_MAX_NO_OF_DO+CY_PD_MAX_NO_OF_EPR_PDO]

Data objects associated with the message.