1 #ifndef ION_DEVICE_USB_ENDPOINT0_H 2 #define ION_DEVICE_USB_ENDPOINT0_H 10 class RequestRecipient;
32 m_transferBufferLength(0),
33 m_receivedPacketSize(0),
34 m_zeroLengthPacketNeeded(
false),
36 m_requestRecipients{device, interface},
69 bool m_zeroLengthPacketNeeded;
void readAndDispatchSetupPacket()
void clearForOutTransactions(uint16_t wLength)
static constexpr int k_maxPacketSize
static constexpr int MaxTransferSize
void setReceivedPacketSize(uint16_t size)
void computeZeroLengthPacketNeeded()
void setState(State state)
Endpoint0(RequestRecipient *device, RequestRecipient *interface)