35#ifndef USB2PacketDecoder_h
36#define USB2PacketDecoder_h
38#include "../scopehal/PacketDecoder.h"
94 return (m_type ==
rhs.m_type);
102 virtual std::string
GetText(
size_t)
override;
103 virtual std::string
GetColor(
size_t)
override;
111 virtual void Refresh(vk::raii::CommandBuffer& cmdBuf, std::shared_ptr<QueueHandle> queue)
override;
113 static std::string GetProtocolName();
115 virtual std::vector<std::string> GetHeaders()
override;
116 virtual bool GetShowDataColumn()
override;
Declaration of USB2PMADecoder.
Definition AcceleratorBuffer.h:204
Definition PacketDecoder.h:85
Definition USB2PacketDecoder.h:107
uint16_t CalculateCRC16(const std::vector< uint8_t > &data)
Calculates the USB CRC16.
Definition USB2PacketDecoder.cpp:341
bool VerifyCRC5(uint8_t *data)
Table based CRC5 implementation.
Definition USB2PacketDecoder.cpp:367
Part of a packet.
Definition USB2PacketDecoder.h:45