Struct to hold a PD packet.
Data Fields | |
| cy_en_pd_sop_t | sop |
| Packet type. More... | |
| uint8_t | len |
| Length in data objects. More... | |
| uint8_t | msg |
| Message code. More... | |
| cy_en_pd_port_role_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... | |
| cy_en_pd_sop_t cy_stc_pdstack_pd_packet_t::sop |
Packet type.
| uint8_t cy_stc_pdstack_pd_packet_t::len |
Length in data objects.
| uint8_t cy_stc_pdstack_pd_packet_t::msg |
Message code.
| cy_en_pd_port_role_t cy_stc_pdstack_pd_packet_t::dataRole |
Data role.
| cy_pd_pd_hdr_t cy_stc_pdstack_pd_packet_t::hdr |
Message header.
| cy_pd_pd_do_t cy_stc_pdstack_pd_packet_t::dat[CY_PD_MAX_NO_OF_DO+CY_PD_MAX_NO_OF_EPR_PDO] |
Data objects associated with the message.