Structure to hold the policy engine status.
Data Fields | |
| cy_stc_pd_packet_extd_t * | rcvdPtr |
| Pointer to the received packet. More... | |
| cy_stc_pd_packet_extd_t | rcvdPkt |
| Currently received packet. More... | |
| cy_stc_pdstack_pd_packet_t | vdmPkt |
| Eval VDM local buffer. More... | |
| cy_stc_pdstack_pd_packet_t | dpmResp |
| Stores the DPM command response. More... | |
| cy_stc_pdstack_pd_packet_t | srcCap |
| Stores the current source cap received. More... | |
| cy_pd_pd_do_t | tempDo |
| Temporary buffer for sending VDM commands. More... | |
| app_resp_t | appResp |
| Temporary buffer for storing APP response. More... | |
| vdm_resp_t | vdmResp |
| VDM response from APP stored here. More... | |
| cy_stc_pdstack_dpm_pd_cmd_buf_t | vsBuf |
| VCONN swap command buffer. More... | |
| cy_stc_pdstack_dpm_pd_cmd_buf_t | cblBuf |
| Cable command buffer. More... | |
| uint8_t | hardResetCount |
| Hard reset counter. More... | |
| uint8_t | srcCapCount |
| Source capability counter. More... | |
| uint8_t | cblDscIdCount |
| CBL dsc id count. More... | |
| bool | prSwap |
| Indicates power role swap going on. More... | |
| uint16_t | prSwapCount |
| Counts PR swap requests if VCONN swap is pending. More... | |
| bool | snkGoToMin |
| Indicates go to min request received from the source. More... | |
| bool | srcGoToMin |
| Indicates go to min needs to be sent by the source (requested by dpm). More... | |
| bool | isVconnSwapActive |
| Indicates VCONN swap needs to be performed. More... | |
| uint8_t | vsCount |
| Current count of VCONN swap tries. More... | |
| bool | vsWait |
| Flag to indicate waiting for the response. More... | |
| pd_ams_type_t | amsType |
| Flag to indicate AMS is continued from the previous transition. More... | |
| cy_en_pd_sop_t | sendMsgSop |
| Stores send message sop type. More... | |
| cy_en_pdstack_pd_msg_class_t | sendMsgClass |
| Stores send message class. More... | |
| uint8_t | sendMsgType |
| Sends message type. More... | |
| uint8_t | sendMsgCount |
| Sends message count. More... | |
| cy_pdstack_extd_hdr_t | sendextdhdr |
| Sends extended header. More... | |
| uint16_t | sendMsgTimeout |
| Sends message timeout. More... | |
| void * | sendMsgPtr |
| Sends message data pointer. More... | |
| cy_en_pdstack_pd_msg_class_t | expMsgClass |
| Stores expected message class. More... | |
| uint32_t | expMsgMask |
| Expected message mask. More... | |
| uint16_t | expMsgLen |
| Expected message length. More... | |
| cy_en_pdstack_app_req_status_t | appReqRslt |
| Temporary buffer for APP req response. More... | |
| cy_stc_pdstack_contract_t | contract |
| Temporary contract status. More... | |
| cy_pd_pd_do_t | snkRdo |
| Temporary rdo sent by the sink. More... | |
| cy_pd_pd_do_t | snkSelPdo |
| Temporary selected pdo (among source cap) by the sink. More... | |
| cy_pd_pd_do_t | srcSelPdo |
| Temporary selected pdo (among source cap) of the source. More... | |
| cy_en_pdstack_app_req_status_t | swapEvtResp |
| Temporary store for the status of app swap complete event. More... | |
| cy_stc_pdstack_pd_contract_info_t | contractEvtResp |
| Temporary store for app PD contract event status. More... | |
| cy_en_pd_sop_t | sopType |
| Temporary variable to hold sop type. More... | |
| bool | psHrDelay |
| Flag to indicate PSHardResetDelay required. More... | |
| bool | sendSrcCapDebounce |
| Flag determines srccap start debounce in progress. More... | |
| cy_en_pd_ctrl_msg_t | swapType |
| Store received/sent swap type. More... | |
| bool | specRevDetermined |
| Flag to indicate spec rev has been determined. More... | |
| bool | chunkDetermined |
| Flag to indicate spec rev has been determined. More... | |
| cy_en_pdstack_extd_msg_t | autoExtdMsgType |
| Temporary variable to hold extended message type to send. More... | |
| cy_en_pdstack_ams_type_t | amsTypeTemp |
| Temporary store AMS type. More... | |
| bool | getSnkCapWait |
| Flag to indicate waiting for the response. More... | |
| bool | isGetSnkCapActive |
| Indicates get sink cap needs to be performed. More... | |
| uint8_t | getSnkCapCount |
| Current count of get sink cap tries. More... | |
| uint8_t | usb4DataResetState |
| Stores USB4 data reset state. More... | |
| bool | pePsrcEnDelayed |
| Flag indicating PSRC enable call has been delayed. More... | |
| volatile bool | peSendHrPending |
| Flag that indicates that hard reset sending is pending. More... | |
| cy_pd_pd_do_t | eprEnterRespDo |
| Buffer that holds EPR enter mode response data object. More... | |
| uint8_t | eprState |
| Variable to hold the EPR state. More... | |
| bool | eprMultiMessageFlag |
| Flag that indicates whether EPR multi-messages are active. More... | |
| bool | eprSendcapInSpr |
| Flag that indicates whether to send PDO in SPR. More... | |
| uint8_t | eprSnkExtdChunkBuffer [26] |
| Buffer that holds the EPR sink extended messages/responses. More... | |
| uint8_t | eprChunkCount |
| EPR chunked message count. More... | |
| cy_stc_pdstack_dpm_pd_cmd_buf_t | peCmdBuf |
| PD command buffer to send command from policy engine. More... | |
| cy_stc_pd_packet_extd_t* cy_stc_pdstack_pe_status_t::rcvdPtr |
Pointer to the received packet.
| cy_stc_pd_packet_extd_t cy_stc_pdstack_pe_status_t::rcvdPkt |
Currently received packet.
| cy_stc_pdstack_pd_packet_t cy_stc_pdstack_pe_status_t::vdmPkt |
Eval VDM local buffer.
| cy_stc_pdstack_pd_packet_t cy_stc_pdstack_pe_status_t::dpmResp |
Stores the DPM command response.
| cy_stc_pdstack_pd_packet_t cy_stc_pdstack_pe_status_t::srcCap |
Stores the current source cap received.
| cy_pd_pd_do_t cy_stc_pdstack_pe_status_t::tempDo |
Temporary buffer for sending VDM commands.
| app_resp_t cy_stc_pdstack_pe_status_t::appResp |
Temporary buffer for storing APP response.
| vdm_resp_t cy_stc_pdstack_pe_status_t::vdmResp |
VDM response from APP stored here.
| cy_stc_pdstack_dpm_pd_cmd_buf_t cy_stc_pdstack_pe_status_t::vsBuf |
VCONN swap command buffer.
| cy_stc_pdstack_dpm_pd_cmd_buf_t cy_stc_pdstack_pe_status_t::cblBuf |
Cable command buffer.
| uint8_t cy_stc_pdstack_pe_status_t::hardResetCount |
Hard reset counter.
| uint8_t cy_stc_pdstack_pe_status_t::srcCapCount |
Source capability counter.
| uint8_t cy_stc_pdstack_pe_status_t::cblDscIdCount |
CBL dsc id count.
| bool cy_stc_pdstack_pe_status_t::prSwap |
Indicates power role swap going on.
| uint16_t cy_stc_pdstack_pe_status_t::prSwapCount |
Counts PR swap requests if VCONN swap is pending.
| bool cy_stc_pdstack_pe_status_t::snkGoToMin |
Indicates go to min request received from the source.
| bool cy_stc_pdstack_pe_status_t::srcGoToMin |
Indicates go to min needs to be sent by the source (requested by dpm).
| bool cy_stc_pdstack_pe_status_t::isVconnSwapActive |
Indicates VCONN swap needs to be performed.
| uint8_t cy_stc_pdstack_pe_status_t::vsCount |
Current count of VCONN swap tries.
| bool cy_stc_pdstack_pe_status_t::vsWait |
Flag to indicate waiting for the response.
| pd_ams_type_t cy_stc_pdstack_pe_status_t::amsType |
Flag to indicate AMS is continued from the previous transition.
| cy_en_pd_sop_t cy_stc_pdstack_pe_status_t::sendMsgSop |
Stores send message sop type.
| cy_en_pdstack_pd_msg_class_t cy_stc_pdstack_pe_status_t::sendMsgClass |
Stores send message class.
| uint8_t cy_stc_pdstack_pe_status_t::sendMsgType |
Sends message type.
| uint8_t cy_stc_pdstack_pe_status_t::sendMsgCount |
Sends message count.
| cy_pdstack_extd_hdr_t cy_stc_pdstack_pe_status_t::sendextdhdr |
Sends extended header.
| uint16_t cy_stc_pdstack_pe_status_t::sendMsgTimeout |
Sends message timeout.
| void* cy_stc_pdstack_pe_status_t::sendMsgPtr |
Sends message data pointer.
| cy_en_pdstack_pd_msg_class_t cy_stc_pdstack_pe_status_t::expMsgClass |
Stores expected message class.
| uint32_t cy_stc_pdstack_pe_status_t::expMsgMask |
Expected message mask.
| uint16_t cy_stc_pdstack_pe_status_t::expMsgLen |
Expected message length.
| cy_en_pdstack_app_req_status_t cy_stc_pdstack_pe_status_t::appReqRslt |
Temporary buffer for APP req response.
| cy_stc_pdstack_contract_t cy_stc_pdstack_pe_status_t::contract |
Temporary contract status.
| cy_pd_pd_do_t cy_stc_pdstack_pe_status_t::snkRdo |
Temporary rdo sent by the sink.
| cy_pd_pd_do_t cy_stc_pdstack_pe_status_t::snkSelPdo |
Temporary selected pdo (among source cap) by the sink.
| cy_pd_pd_do_t cy_stc_pdstack_pe_status_t::srcSelPdo |
Temporary selected pdo (among source cap) of the source.
| cy_en_pdstack_app_req_status_t cy_stc_pdstack_pe_status_t::swapEvtResp |
Temporary store for the status of app swap complete event.
| cy_stc_pdstack_pd_contract_info_t cy_stc_pdstack_pe_status_t::contractEvtResp |
Temporary store for app PD contract event status.
| cy_en_pd_sop_t cy_stc_pdstack_pe_status_t::sopType |
Temporary variable to hold sop type.
| bool cy_stc_pdstack_pe_status_t::psHrDelay |
Flag to indicate PSHardResetDelay required.
| bool cy_stc_pdstack_pe_status_t::sendSrcCapDebounce |
Flag determines srccap start debounce in progress.
| cy_en_pd_ctrl_msg_t cy_stc_pdstack_pe_status_t::swapType |
Store received/sent swap type.
| bool cy_stc_pdstack_pe_status_t::specRevDetermined |
Flag to indicate spec rev has been determined.
| bool cy_stc_pdstack_pe_status_t::chunkDetermined |
Flag to indicate spec rev has been determined.
| cy_en_pdstack_extd_msg_t cy_stc_pdstack_pe_status_t::autoExtdMsgType |
Temporary variable to hold extended message type to send.
| cy_en_pdstack_ams_type_t cy_stc_pdstack_pe_status_t::amsTypeTemp |
Temporary store AMS type.
| bool cy_stc_pdstack_pe_status_t::getSnkCapWait |
Flag to indicate waiting for the response.
| bool cy_stc_pdstack_pe_status_t::isGetSnkCapActive |
Indicates get sink cap needs to be performed.
| uint8_t cy_stc_pdstack_pe_status_t::getSnkCapCount |
Current count of get sink cap tries.
| uint8_t cy_stc_pdstack_pe_status_t::usb4DataResetState |
Stores USB4 data reset state.
| bool cy_stc_pdstack_pe_status_t::pePsrcEnDelayed |
Flag indicating PSRC enable call has been delayed.
| volatile bool cy_stc_pdstack_pe_status_t::peSendHrPending |
Flag that indicates that hard reset sending is pending.
| cy_pd_pd_do_t cy_stc_pdstack_pe_status_t::eprEnterRespDo |
Buffer that holds EPR enter mode response data object.
| uint8_t cy_stc_pdstack_pe_status_t::eprState |
Variable to hold the EPR state.
| bool cy_stc_pdstack_pe_status_t::eprMultiMessageFlag |
Flag that indicates whether EPR multi-messages are active.
| bool cy_stc_pdstack_pe_status_t::eprSendcapInSpr |
Flag that indicates whether to send PDO in SPR.
| uint8_t cy_stc_pdstack_pe_status_t::eprSnkExtdChunkBuffer[26] |
Buffer that holds the EPR sink extended messages/responses.
| uint8_t cy_stc_pdstack_pe_status_t::eprChunkCount |
EPR chunked message count.
| cy_stc_pdstack_dpm_pd_cmd_buf_t cy_stc_pdstack_pe_status_t::peCmdBuf |
PD command buffer to send command from policy engine.