SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
AXP517Tcpc::RxFifoMsg Struct Reference

Decoded RX FIFO message. More...

#include <AXP517Tcpc.hpp>

Public Attributes

uint8_t byteCount = 0
 TCPCI readable byte count.
 
uint8_t frameType = 0
 TCPCI RX frame type.
 
uint16_t headerLE = 0
 USB-PD message header in little-endian order.
 
uint8_t payload [28] = {0}
 USB-PD payload bytes.
 
uint8_t payloadLen = 0
 Number of valid payload bytes.
 

Detailed Description

Decoded RX FIFO message.

Definition at line 110 of file AXP517Tcpc.hpp.

Member Data Documentation

◆ byteCount

uint8_t AXP517Tcpc::RxFifoMsg::byteCount = 0

TCPCI readable byte count.

Definition at line 111 of file AXP517Tcpc.hpp.

Referenced by AXP517Tcpc::rxReadMessage().

◆ frameType

uint8_t AXP517Tcpc::RxFifoMsg::frameType = 0

TCPCI RX frame type.

Definition at line 112 of file AXP517Tcpc.hpp.

Referenced by AXP517Tcpc::rxReadMessage().

◆ headerLE

uint16_t AXP517Tcpc::RxFifoMsg::headerLE = 0

USB-PD message header in little-endian order.

Definition at line 113 of file AXP517Tcpc.hpp.

Referenced by AXP517PdNegotiator::parseSourceCaps(), and AXP517Tcpc::rxReadMessage().

◆ payload

uint8_t AXP517Tcpc::RxFifoMsg::payload[28] = {0}

USB-PD payload bytes.

Definition at line 114 of file AXP517Tcpc.hpp.

Referenced by AXP517PdNegotiator::parseSourceCaps(), and AXP517Tcpc::rxReadMessage().

◆ payloadLen

uint8_t AXP517Tcpc::RxFifoMsg::payloadLen = 0

Number of valid payload bytes.

Definition at line 115 of file AXP517Tcpc.hpp.

Referenced by AXP517PdNegotiator::parseSourceCaps(), and AXP517Tcpc::rxReadMessage().


The documentation for this struct was generated from the following file: