USB::DeviceInterface Class Reference

Base class to support a USB device interface implementation. More...

#include <DeviceInterface.h>

Inheritance diagram for USB::DeviceInterface:
Collaboration diagram for USB::DeviceInterface:

Public Member Functions

 DeviceInterface (uint8_t instance, const char *name)
 Constructor. More...
 
const char * getName () const
 

Protected Attributes

uint8_t inst
 
const char * name
 

Detailed Description

Base class to support a USB device interface implementation.

Constructor & Destructor Documentation

◆ DeviceInterface()

USB::DeviceInterface::DeviceInterface ( uint8_t  instance,
const char *  name 
)
inline

Constructor.

Parameters
instanceTinyUSB instance or index (class-specific)
nameDeclared name for this interface instance

Member Function Documentation

◆ getName()

const char* USB::DeviceInterface::getName ( ) const
inline

Member Data Documentation

◆ inst

uint8_t USB::DeviceInterface::inst
protected

◆ name

const char* USB::DeviceInterface::name
protected

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