CAT2 Peripheral Driver Library
cy_pd_pd_do_t Union Reference

Description

Union to hold a PD data object.

All USB-PD data objects are 4-byte values which are interpreted according to the message type, length and object position. This union represents all possible interpretations of a USB-PD data object.

Data Structures

struct  ACT_CBL_VDO
 Active cable VDO structure as defined by PD 3.0. More...
 
struct  ACT_CBL_VDO_1
 Active Cable VDO 1 structure as defined by PD 3.0, Version 1.6. More...
 
struct  ACT_CBL_VDO_2
 Active Cable VDO 2 structure as defined by PD 3.0, Version 1.6. More...
 
struct  ADO_ALERT
 PD 3.0 Alert Data Object. More...
 
struct  BAT_SNK
 Structure representing a Battery Supply PDO - Sink. More...
 
struct  BAT_SRC
 Structure representing a Battery Supply PDO - Source. More...
 
struct  BIST_DO
 Structure of a BIST data object. More...
 
struct  CY_PD_STD_SVID_RESP_VDO
 Discover_SVID response structure. More...
 
struct  DFP_VDO
 DFP VDO. More...
 
struct  DP_CBL_VDO
 DisplayPort Mode Cable VDO as defined by VESA spec. More...
 
struct  DP_CONFIG_VDO
 DisplayPort configure VDO as defined by VESA spec. More...
 
struct  DP_STATUS_VDO
 DisplayPort status update VDO as defined by VESA spec. More...
 
struct  ENTERUSB_VDO
 Enter USB Data Object. More...
 
struct  EPR_AVS_SNK
 Programmable Power Supply Sink PDO. More...
 
struct  EPR_AVS_SRC
 Programmable Power Supply Source PDO. More...
 
struct  EPRMODE_DO
 EPR Mode Data Object. More...
 
struct  FIXED_SNK
 Structure representing a Fixed Supply PDO - Sink. More...
 
struct  FIXED_SRC
 Structure representing a Fixed Supply PDO - Source. More...
 
struct  PAS_CBL_VDO
 Passive cable VDO structure as defined by PD 3.0. More...
 
struct  PPS_SNK
 Programmable Power Supply Sink PDO. More...
 
struct  PPS_SRC
 Programmable Power Supply Source PDO. More...
 
struct  QC_PPS_DATA_VDO
 Structure representing an Unstructured VDM data object as defined by QC 5.0/4.0 spec. More...
 
struct  RDO_BAT
 Structure representing a Battery Request Data Object. More...
 
struct  RDO_BAT_GIVEBACK
 Structure representing a Battery Request Data Object with GiveBack. More...
 
struct  RDO_EPR_AVS
 Programmable Request Data Object. More...
 
struct  RDO_FIXED_VAR
 Structure representing a Fixed or Variable Request Data Object. More...
 
struct  RDO_FIXED_VAR_GIVEBACK
 Structure representing a Fixed or Variable Request Data Object with GiveBack. More...
 
struct  RDO_GEN
 Structure representing a generic Request Data Object. More...
 
struct  RDO_GEN_GVB
 Structure representing a Generic Request Data Object with GiveBack. More...
 
struct  RDO_PPS
 Programmable Request Data Object. More...
 
struct  SRC_GEN
 Structure representing a generic source PDO. More...
 
struct  STD_AMA_VDO
 AMA VDO structure as defined by PD 2.0. More...
 
struct  STD_AMA_VDO_PD3
 AMA VDO structure as defined by PD 3.0. More...
 
struct  STD_CBL_VDO
 Cable VDO structure as defined in USB-PD r2.0. More...
 
struct  STD_CERT_VDO
 Cert Stat VDO structure. More...
 
struct  STD_DP_VDO
 DisplayPort Mode VDO as defined by VESA spec. More...
 
struct  STD_PROD_VDO
 Product VDO structure. More...
 
struct  STD_VDM_HDR
 Structure representing a Structured VDM Header Data Object. More...
 
struct  STD_VDM_ID_HDR
 Structure representing a Standard ID_HEADER VDO. More...
 
struct  TBT_CBL_VDO
 Thunderbolt Discover Modes Response Data Object. More...
 
struct  TBT_UFP_VDO
 Thunderbolt UFP Discover Modes Response Data Object. More...
 
struct  TBT_VDO
 Thunderbolt Discover Modes Response Data Object. More...
 
struct  UFP_VDO_1
 UFP VDO #1. More...
 
struct  USTD_QC_PPS_HDR
 Structure representing an Unstructured VDM header data object as defined by QC 5.0/4.0 spec. More...
 
struct  USTD_VDM_HDR
 Structure representing an Unstructured VDM header data object as defined by Infineon. More...
 
struct  VAR_SNK
 Structure representing a Variable Supply PDO - Sink. More...
 
struct  VAR_SRC
 Structure representing a Variable Supply PDO - Source. More...
 

Data Fields

uint32_t val
 Data object interpreted as an unsigned integer value. More...
 
struct cy_pd_pd_do_t::BIST_DO bist_do
 DO interpreted as a BIST data object. More...
 
struct cy_pd_pd_do_t::FIXED_SRC fixed_src
 DO interpreted as a Fixed Supply PDO - Source. More...
 
struct cy_pd_pd_do_t::VAR_SRC var_src
 DO interpreted as a Variable Supply PDO - Source. More...
 
struct cy_pd_pd_do_t::BAT_SRC bat_src
 DO interpreted as a Battery Supply PDO - Source. More...
 
struct cy_pd_pd_do_t::SRC_GEN src_gen
 DO interpreted as a generic PDO - Source. More...
 
struct cy_pd_pd_do_t::FIXED_SNK fixed_snk
 DO interpreted as a Fixed Supply PDO - Sink. More...
 
struct cy_pd_pd_do_t::VAR_SNK var_snk
 DO interpreted as a Variable Supply PDO - Sink. More...
 
struct cy_pd_pd_do_t::BAT_SNK bat_snk
 DO interpreted as a Battery Supply PDO - Sink. More...
 
struct cy_pd_pd_do_t::RDO_FIXED_VAR rdo_fix_var
 DO interpreted as a fixed/variable request. More...
 
struct cy_pd_pd_do_t::RDO_FIXED_VAR_GIVEBACK rdo_fix_var_gvb
 DO interpreted as a fixed/variable request with giveback. More...
 
struct cy_pd_pd_do_t::RDO_BAT rdo_bat
 DO interpreted as a Battery request. More...
 
struct cy_pd_pd_do_t::RDO_BAT_GIVEBACK rdo_bat_gvb
 DO interpreted as a Battery request with giveback. More...
 
struct cy_pd_pd_do_t::RDO_GEN rdo_gen
 DO interpreted as a generic request message. More...
 
struct cy_pd_pd_do_t::RDO_GEN_GVB rdo_gen_gvb
 DO interpreted as a generic request with giveback. More...
 
struct cy_pd_pd_do_t::STD_VDM_HDR std_vdm_hdr
 DO interpreted as a Structured VDM header. More...
 
struct cy_pd_pd_do_t::USTD_VDM_HDR ustd_vdm_hdr
 DO interpreted as a Infineon unstructured VDM header. More...
 
struct cy_pd_pd_do_t::USTD_QC_PPS_HDR ustd_qc_pps_hdr
 DO interpreted as a QC 5.0/4.0 Unstructured VDM header. More...
 
struct cy_pd_pd_do_t::QC_PPS_DATA_VDO qc_pps_data_vdo
 DO interpreted as a QC 5.0/4.0 Unstructured VDM data object. More...
 
struct cy_pd_pd_do_t::STD_VDM_ID_HDR std_id_hdr
 DO interpreted as a Standard ID_HEADER VDO. More...
 
struct cy_pd_pd_do_t::STD_CERT_VDO std_cert_vdo
 DO interpreted as a Cert Stat VDO. More...
 
struct cy_pd_pd_do_t::STD_PROD_VDO std_prod_vdo
 DO interpreted as a Product VDO. More...
 
struct cy_pd_pd_do_t::STD_CBL_VDO std_cbl_vdo
 DO interpreted as a PD 2.0 cable VDO. More...
 
struct cy_pd_pd_do_t::PAS_CBL_VDO pas_cbl_vdo
 DO interpreted as a PD 3.0 passive cable VDO. More...
 
struct cy_pd_pd_do_t::ACT_CBL_VDO act_cbl_vdo
 DO interpreted as a PD 3.0 active cable VDO. More...
 
struct cy_pd_pd_do_t::ACT_CBL_VDO_1 act_cbl_vdo1
 DO interpreted as a PD 3.0 Active Cable VDO 1. More...
 
struct cy_pd_pd_do_t::ACT_CBL_VDO_2 act_cbl_vdo2
 DO interpreted as a PD 3.0 Active Cable VDO 2. More...
 
struct cy_pd_pd_do_t::STD_AMA_VDO std_ama_vdo
 DO interpreted as a PD 2.0 AMA VDO. More...
 
struct cy_pd_pd_do_t::STD_AMA_VDO_PD3 std_ama_vdo_pd3
 DO interpreted as a PD 3.0 AMA VDO. More...
 
struct cy_pd_pd_do_t::CY_PD_STD_SVID_RESP_VDO std_svid_res
 DO interpreted as a DISCOVER_SVID response. More...
 
struct cy_pd_pd_do_t::STD_DP_VDO std_dp_vdo
 DO interpreted as a DisplayPort Mode response. More...
 
struct cy_pd_pd_do_t::DP_CBL_VDO dp_cbl_vdo
 DO interpreted as a DisplayPort Mode response. More...
 
struct cy_pd_pd_do_t::DP_STATUS_VDO dp_stat_vdo
 DO interpreted as a DisplayPort status update. More...
 
struct cy_pd_pd_do_t::DP_CONFIG_VDO dp_cfg_vdo
 DO interpreted as a DisplayPort Configure command. More...
 
struct cy_pd_pd_do_t::PPS_SRC pps_src
 DO interpreted as a Programmable Power Supply - Source. More...
 
struct cy_pd_pd_do_t::PPS_SNK pps_snk
 DO interpreted as a Programmable Power Supply - Sink. More...
 
struct cy_pd_pd_do_t::RDO_PPS rdo_pps
 DO interpreted as a PPD Request. More...
 
struct cy_pd_pd_do_t::EPR_AVS_SRC epr_avs_src
 DO interpreted as a Adjustable Voltages Supply - Source. More...
 
struct cy_pd_pd_do_t::EPR_AVS_SNK epr_avs_snk
 DO interpreted as a Adjustable Voltages Supply - Sink. More...
 
struct cy_pd_pd_do_t::RDO_EPR_AVS rdo_epr_avs
 DO interpreted as a AVS Request. More...
 
struct cy_pd_pd_do_t::ADO_ALERT ado_alert
 DO interpreted as a PD 3.0 alert message. More...
 
struct cy_pd_pd_do_t::TBT_UFP_VDO tbt_ufp_vdo
 Data Object interpreted as a Thunderbolt3 mode VDO. More...
 
struct cy_pd_pd_do_t::TBT_VDO tbt_vdo
 DO interpreted as a Thunderbolt Discovery response. More...
 
struct cy_pd_pd_do_t::TBT_CBL_VDO tbt_cbl_vdo
 DO interpreted as a Thunderbolt Discovery response. More...
 
struct cy_pd_pd_do_t::UFP_VDO_1 ufp_vdo_1
 DO interpreted as UFP VDO1 data object. More...
 
struct cy_pd_pd_do_t::DFP_VDO dfp_vdo
 DO interpreted as UFP VDO1 data object. More...
 
struct cy_pd_pd_do_t::ENTERUSB_VDO enterusb_vdo
 DO interpreted as an Enter USB Data Object. More...
 
struct cy_pd_pd_do_t::EPRMODE_DO eprmdo
 DO interpreted as EPR Mode Data Object. More...
 

Field Documentation

◆ val

uint32_t cy_pd_pd_do_t::val

Data object interpreted as an unsigned integer value.

◆ bist_do

struct cy_pd_pd_do_t::BIST_DO cy_pd_pd_do_t::bist_do

DO interpreted as a BIST data object.

◆ fixed_src

struct cy_pd_pd_do_t::FIXED_SRC cy_pd_pd_do_t::fixed_src

DO interpreted as a Fixed Supply PDO - Source.

◆ var_src

struct cy_pd_pd_do_t::VAR_SRC cy_pd_pd_do_t::var_src

DO interpreted as a Variable Supply PDO - Source.

◆ bat_src

struct cy_pd_pd_do_t::BAT_SRC cy_pd_pd_do_t::bat_src

DO interpreted as a Battery Supply PDO - Source.

◆ src_gen

struct cy_pd_pd_do_t::SRC_GEN cy_pd_pd_do_t::src_gen

DO interpreted as a generic PDO - Source.

◆ fixed_snk

struct cy_pd_pd_do_t::FIXED_SNK cy_pd_pd_do_t::fixed_snk

DO interpreted as a Fixed Supply PDO - Sink.

◆ var_snk

struct cy_pd_pd_do_t::VAR_SNK cy_pd_pd_do_t::var_snk

DO interpreted as a Variable Supply PDO - Sink.

◆ bat_snk

struct cy_pd_pd_do_t::BAT_SNK cy_pd_pd_do_t::bat_snk

DO interpreted as a Battery Supply PDO - Sink.

◆ rdo_fix_var

struct cy_pd_pd_do_t::RDO_FIXED_VAR cy_pd_pd_do_t::rdo_fix_var

DO interpreted as a fixed/variable request.

◆ rdo_fix_var_gvb

struct cy_pd_pd_do_t::RDO_FIXED_VAR_GIVEBACK cy_pd_pd_do_t::rdo_fix_var_gvb

DO interpreted as a fixed/variable request with giveback.

◆ rdo_bat

struct cy_pd_pd_do_t::RDO_BAT cy_pd_pd_do_t::rdo_bat

DO interpreted as a Battery request.

◆ rdo_bat_gvb

struct cy_pd_pd_do_t::RDO_BAT_GIVEBACK cy_pd_pd_do_t::rdo_bat_gvb

DO interpreted as a Battery request with giveback.

◆ rdo_gen

struct cy_pd_pd_do_t::RDO_GEN cy_pd_pd_do_t::rdo_gen

DO interpreted as a generic request message.

◆ rdo_gen_gvb

struct cy_pd_pd_do_t::RDO_GEN_GVB cy_pd_pd_do_t::rdo_gen_gvb

DO interpreted as a generic request with giveback.

◆ std_vdm_hdr

struct cy_pd_pd_do_t::STD_VDM_HDR cy_pd_pd_do_t::std_vdm_hdr

DO interpreted as a Structured VDM header.

◆ ustd_vdm_hdr

struct cy_pd_pd_do_t::USTD_VDM_HDR cy_pd_pd_do_t::ustd_vdm_hdr

DO interpreted as a Infineon unstructured VDM header.

◆ ustd_qc_pps_hdr

struct cy_pd_pd_do_t::USTD_QC_PPS_HDR cy_pd_pd_do_t::ustd_qc_pps_hdr

DO interpreted as a QC 5.0/4.0 Unstructured VDM header.

◆ qc_pps_data_vdo

struct cy_pd_pd_do_t::QC_PPS_DATA_VDO cy_pd_pd_do_t::qc_pps_data_vdo

DO interpreted as a QC 5.0/4.0 Unstructured VDM data object.

◆ std_id_hdr

struct cy_pd_pd_do_t::STD_VDM_ID_HDR cy_pd_pd_do_t::std_id_hdr

DO interpreted as a Standard ID_HEADER VDO.

◆ std_cert_vdo

struct cy_pd_pd_do_t::STD_CERT_VDO cy_pd_pd_do_t::std_cert_vdo

DO interpreted as a Cert Stat VDO.

◆ std_prod_vdo

struct cy_pd_pd_do_t::STD_PROD_VDO cy_pd_pd_do_t::std_prod_vdo

DO interpreted as a Product VDO.

◆ std_cbl_vdo

struct cy_pd_pd_do_t::STD_CBL_VDO cy_pd_pd_do_t::std_cbl_vdo

DO interpreted as a PD 2.0 cable VDO.

◆ pas_cbl_vdo

struct cy_pd_pd_do_t::PAS_CBL_VDO cy_pd_pd_do_t::pas_cbl_vdo

DO interpreted as a PD 3.0 passive cable VDO.

◆ act_cbl_vdo

struct cy_pd_pd_do_t::ACT_CBL_VDO cy_pd_pd_do_t::act_cbl_vdo

DO interpreted as a PD 3.0 active cable VDO.

◆ act_cbl_vdo1

struct cy_pd_pd_do_t::ACT_CBL_VDO_1 cy_pd_pd_do_t::act_cbl_vdo1

DO interpreted as a PD 3.0 Active Cable VDO 1.

◆ act_cbl_vdo2

struct cy_pd_pd_do_t::ACT_CBL_VDO_2 cy_pd_pd_do_t::act_cbl_vdo2

DO interpreted as a PD 3.0 Active Cable VDO 2.

◆ std_ama_vdo

struct cy_pd_pd_do_t::STD_AMA_VDO cy_pd_pd_do_t::std_ama_vdo

DO interpreted as a PD 2.0 AMA VDO.

◆ std_ama_vdo_pd3

struct cy_pd_pd_do_t::STD_AMA_VDO_PD3 cy_pd_pd_do_t::std_ama_vdo_pd3

DO interpreted as a PD 3.0 AMA VDO.

◆ std_svid_res

struct cy_pd_pd_do_t::CY_PD_STD_SVID_RESP_VDO cy_pd_pd_do_t::std_svid_res

DO interpreted as a DISCOVER_SVID response.

◆ std_dp_vdo

struct cy_pd_pd_do_t::STD_DP_VDO cy_pd_pd_do_t::std_dp_vdo

DO interpreted as a DisplayPort Mode response.

◆ dp_cbl_vdo

struct cy_pd_pd_do_t::DP_CBL_VDO cy_pd_pd_do_t::dp_cbl_vdo

DO interpreted as a DisplayPort Mode response.

◆ dp_stat_vdo

struct cy_pd_pd_do_t::DP_STATUS_VDO cy_pd_pd_do_t::dp_stat_vdo

DO interpreted as a DisplayPort status update.

◆ dp_cfg_vdo

struct cy_pd_pd_do_t::DP_CONFIG_VDO cy_pd_pd_do_t::dp_cfg_vdo

DO interpreted as a DisplayPort Configure command.

◆ pps_src

struct cy_pd_pd_do_t::PPS_SRC cy_pd_pd_do_t::pps_src

DO interpreted as a Programmable Power Supply - Source.

◆ pps_snk

struct cy_pd_pd_do_t::PPS_SNK cy_pd_pd_do_t::pps_snk

DO interpreted as a Programmable Power Supply - Sink.

◆ rdo_pps

struct cy_pd_pd_do_t::RDO_PPS cy_pd_pd_do_t::rdo_pps

DO interpreted as a PPD Request.

◆ epr_avs_src

struct cy_pd_pd_do_t::EPR_AVS_SRC cy_pd_pd_do_t::epr_avs_src

DO interpreted as a Adjustable Voltages Supply - Source.

◆ epr_avs_snk

struct cy_pd_pd_do_t::EPR_AVS_SNK cy_pd_pd_do_t::epr_avs_snk

DO interpreted as a Adjustable Voltages Supply - Sink.

◆ rdo_epr_avs

struct cy_pd_pd_do_t::RDO_EPR_AVS cy_pd_pd_do_t::rdo_epr_avs

DO interpreted as a AVS Request.

◆ ado_alert

struct cy_pd_pd_do_t::ADO_ALERT cy_pd_pd_do_t::ado_alert

DO interpreted as a PD 3.0 alert message.

◆ tbt_ufp_vdo

struct cy_pd_pd_do_t::TBT_UFP_VDO cy_pd_pd_do_t::tbt_ufp_vdo

Data Object interpreted as a Thunderbolt3 mode VDO.

◆ tbt_vdo

struct cy_pd_pd_do_t::TBT_VDO cy_pd_pd_do_t::tbt_vdo

DO interpreted as a Thunderbolt Discovery response.

◆ tbt_cbl_vdo

struct cy_pd_pd_do_t::TBT_CBL_VDO cy_pd_pd_do_t::tbt_cbl_vdo

DO interpreted as a Thunderbolt Discovery response.

◆ ufp_vdo_1

struct cy_pd_pd_do_t::UFP_VDO_1 cy_pd_pd_do_t::ufp_vdo_1

DO interpreted as UFP VDO1 data object.

◆ dfp_vdo

struct cy_pd_pd_do_t::DFP_VDO cy_pd_pd_do_t::dfp_vdo

DO interpreted as UFP VDO1 data object.

◆ enterusb_vdo

struct cy_pd_pd_do_t::ENTERUSB_VDO cy_pd_pd_do_t::enterusb_vdo

DO interpreted as an Enter USB Data Object.

◆ eprmdo

struct cy_pd_pd_do_t::EPRMODE_DO cy_pd_pd_do_t::eprmdo

DO interpreted as EPR Mode Data Object.