ngscopeclient 0.1-dev+51fbda87c
Public Types | Public Member Functions | Public Attributes | List of all members
USB2PacketSymbol Class Reference

Part of a packet. More...

#include <USB2PacketDecoder.h>

Public Types

enum  SymbolType {
  TYPE_PID , TYPE_ADDR , TYPE_ENDP , TYPE_CRC5_GOOD ,
  TYPE_CRC5_BAD , TYPE_CRC16_GOOD , TYPE_CRC16_BAD , TYPE_NFRAME ,
  TYPE_DATA , TYPE_ERROR
}
 
enum  Pids {
  PID_RESERVED = 0x0 , PID_OUT = 0x1 , PID_ACK = 0x2 , PID_DATA0 = 0x3 ,
  PID_PING = 0x4 , PID_SOF = 0x5 , PID_NYET = 0x6 , PID_DATA2 = 0x7 ,
  PID_SPLIT = 0x8 , PID_IN = 0x9 , PID_NAK = 0xa , PID_DATA1 = 0xb ,
  PID_PRE_ERR = 0xc , PID_SETUP = 0xd , PID_STALL = 0xe , PID_MDATA = 0xf
}
 

Public Member Functions

 USB2PacketSymbol (SymbolType type=TYPE_PID, uint16_t data=0)
 
bool operator== (const USB2PacketSymbol &rhs) const
 

Public Attributes

SymbolType m_type
 
uint16_t m_data
 

Detailed Description

Part of a packet.


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