CAT2 Peripheral Driver Library
cy_stc_pd_packet_extd_t Struct Reference

Description

Structure to hold extended PD packets (messages).

Data Fields

cy_en_pd_sop_t sop
 Packet type. More...
 
uint8_t len
 Length of the message: Unused for unchunked extended messages. 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, including extended header. More...
 
cy_pd_pd_do_t dat [CY_PD_MAX_EXTD_PKT_WORDS]
 Data associated with the message. More...
 

Field Documentation

◆ sop

cy_en_pd_sop_t cy_stc_pd_packet_extd_t::sop

Packet type.

◆ len

uint8_t cy_stc_pd_packet_extd_t::len

Length of the message: Unused for unchunked extended messages.

◆ msg

uint8_t cy_stc_pd_packet_extd_t::msg

Message code.

◆ dataRole

cy_en_pd_port_role_t cy_stc_pd_packet_extd_t::dataRole

Data role.

◆ hdr

cy_pd_pd_hdr_t cy_stc_pd_packet_extd_t::hdr

Message header, including extended header.

◆ dat

cy_pd_pd_do_t cy_stc_pd_packet_extd_t::dat[CY_PD_MAX_EXTD_PKT_WORDS]

Data associated with the message.