Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Ion::USB::Device::Interface Class Referenceabstract

#include <interface.h>

Inheritance diagram for Ion::USB::Device::Interface:
Ion::USB::Device::RequestRecipient Ion::USB::Device::DFUInterface

Public Member Functions

 Interface (Endpoint0 *ep0)
 
- Public Member Functions inherited from Ion::USB::Device::RequestRecipient
 RequestRecipient (Endpoint0 *ep0)
 
bool processSetupRequest (SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength, uint16_t transferBufferMaxLength)
 
virtual void wholeDataReceivedCallback (SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength)
 
virtual void wholeDataSentCallback (SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength)
 

Protected Member Functions

virtual void setActiveInterfaceAlternative (uint8_t interfaceAlternativeIndex)=0
 
virtual uint8_t getActiveInterfaceAlternative ()=0
 
bool processSetupInRequest (SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength, uint16_t transferBufferMaxLength) override
 

Additional Inherited Members

- Protected Attributes inherited from Ion::USB::Device::RequestRecipient
Endpoint0m_ep0
 

Detailed Description

Definition at line 12 of file interface.h.

Constructor & Destructor Documentation

◆ Interface()

Ion::USB::Device::Interface::Interface ( Endpoint0 ep0)
inline

Definition at line 14 of file interface.h.

Member Function Documentation

◆ getActiveInterfaceAlternative()

virtual uint8_t Ion::USB::Device::Interface::getActiveInterfaceAlternative ( )
protectedpure virtual

◆ processSetupInRequest()

bool Ion::USB::Device::Interface::processSetupInRequest ( SetupPacket request,
uint8_t transferBuffer,
uint16_t transferBufferLength,
uint16_t  transferBufferMaxLength 
)
overrideprotectedvirtual

Implements Ion::USB::Device::RequestRecipient.

Definition at line 9 of file interface.cpp.

◆ setActiveInterfaceAlternative()

virtual void Ion::USB::Device::Interface::setActiveInterfaceAlternative ( uint8_t  interfaceAlternativeIndex)
protectedpure virtual

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