Structure to hold protocol layer status.
Data Fields | |
| cy_pdstack_pd_cbk_t | cbk |
| Callback is used to send notifications to the policy engine. More... | |
| cy_stc_pdstack_prl_cntrs_t | ctrs [CY_PD_MAX_SOP_TYPES] |
| Protocol counters for various packet types. More... | |
| uint32_t | txBuf [CY_PD_MAX_PD_PKT_WORDS] |
| Buffer used to hold the message to be (or being) transmitted. More... | |
| uint32_t | txHeader |
| PD header corresponding to the message being transmitted. More... | |
| cy_stc_pd_packet_extd_t | rxPacket |
| Buffer used to hold received PD message. More... | |
| uint8_t | curRecMsgId |
| Stores message ID (excluding GoodCRC) of the received message. More... | |
| cy_en_pd_sop_t | lastRcvdSop |
| Stores last received SOP type. More... | |
| bool volatile | avoidRetry |
| Flag to skip retry on CRCReceiveTimer expiry. More... | |
| bool volatile | txBusy |
| Flag indicating TX state machine is busy. More... | |
| cy_en_pd_sop_t | txSop |
| Stores the SOP type of message being transmitted. More... | |
| cy_pdstack_extd_hdr_t | txExtdHdr |
| Holds the extended header for the message being transmitted. More... | |
| bool | txExtd |
| Flag that indicates that the current message is extended. More... | |
| cy_en_pd_sop_t | lastTxSop |
| Stores the SOP type of the last transmitted message. More... | |
| uint8_t | txMsgType |
| Stores the message type of message being transmitted. More... | |
| uint8_t | txCount |
| Holds the data object count of the message being transmitted. More... | |
| bool | bistTestEn |
| Flag indicating BIST test data is enabled. More... | |
| uint32_t volatile | rxEvt |
| Type of receive state machine event received from the HAL. More... | |
| bool volatile | rxBusy |
| Flag indicating RX state machine is busy. More... | |
| volatile bool | rev3Enable |
| Flag indicating the PD Revision 3.0 support is enabled. More... | |
| volatile bool | frsTxEnable |
| Flag indicating that FRS transmit support is enabled. More... | |
| volatile bool | frsRxEnable |
| Flag indicating that FRS receives support is enabled. More... | |
| cy_pdstack_pd_cbk_t cy_stc_pdstack_pd_status_t::cbk |
Callback is used to send notifications to the policy engine.
| cy_stc_pdstack_prl_cntrs_t cy_stc_pdstack_pd_status_t::ctrs[CY_PD_MAX_SOP_TYPES] |
Protocol counters for various packet types.
| uint32_t cy_stc_pdstack_pd_status_t::txBuf[CY_PD_MAX_PD_PKT_WORDS] |
Buffer used to hold the message to be (or being) transmitted.
| uint32_t cy_stc_pdstack_pd_status_t::txHeader |
PD header corresponding to the message being transmitted.
| cy_stc_pd_packet_extd_t cy_stc_pdstack_pd_status_t::rxPacket |
Buffer used to hold received PD message.
Can be extended or not.
| uint8_t cy_stc_pdstack_pd_status_t::curRecMsgId |
Stores message ID (excluding GoodCRC) of the received message.
| cy_en_pd_sop_t cy_stc_pdstack_pd_status_t::lastRcvdSop |
Stores last received SOP type.
| bool volatile cy_stc_pdstack_pd_status_t::avoidRetry |
Flag to skip retry on CRCReceiveTimer expiry.
| bool volatile cy_stc_pdstack_pd_status_t::txBusy |
Flag indicating TX state machine is busy.
| cy_en_pd_sop_t cy_stc_pdstack_pd_status_t::txSop |
Stores the SOP type of message being transmitted.
| cy_pdstack_extd_hdr_t cy_stc_pdstack_pd_status_t::txExtdHdr |
Holds the extended header for the message being transmitted.
| bool cy_stc_pdstack_pd_status_t::txExtd |
Flag that indicates that the current message is extended.
| cy_en_pd_sop_t cy_stc_pdstack_pd_status_t::lastTxSop |
Stores the SOP type of the last transmitted message.
| uint8_t cy_stc_pdstack_pd_status_t::txMsgType |
Stores the message type of message being transmitted.
| uint8_t cy_stc_pdstack_pd_status_t::txCount |
Holds the data object count of the message being transmitted.
| bool cy_stc_pdstack_pd_status_t::bistTestEn |
Flag indicating BIST test data is enabled.
| uint32_t volatile cy_stc_pdstack_pd_status_t::rxEvt |
Type of receive state machine event received from the HAL.
| bool volatile cy_stc_pdstack_pd_status_t::rxBusy |
Flag indicating RX state machine is busy.
| volatile bool cy_stc_pdstack_pd_status_t::rev3Enable |
Flag indicating the PD Revision 3.0 support is enabled.
| volatile bool cy_stc_pdstack_pd_status_t::frsTxEnable |
Flag indicating that FRS transmit support is enabled.
| volatile bool cy_stc_pdstack_pd_status_t::frsRxEnable |
Flag indicating that FRS receives support is enabled.