USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
USBHub Class Reference

#include <usbhub.h>

Inheritance diagram for USBHub:
Inheritance graph
[legend]
Collaboration diagram for USBHub:
Collaboration graph
[legend]

Public Member Functions

 USBHub (USB *p)
 
uint8_t ClearHubFeature (uint8_t fid)
 
uint8_t ClearPortFeature (uint8_t fid, uint8_t port, uint8_t sel=0)
 
uint8_t GetHubDescriptor (uint8_t index, uint16_t nbytes, uint8_t *dataptr)
 
uint8_t GetHubStatus (uint16_t nbytes, uint8_t *dataptr)
 
uint8_t GetPortStatus (uint8_t port, uint16_t nbytes, uint8_t *dataptr)
 
uint8_t SetHubDescriptor (uint8_t port, uint16_t nbytes, uint8_t *dataptr)
 
uint8_t SetHubFeature (uint8_t fid)
 
uint8_t SetPortFeature (uint8_t fid, uint8_t port, uint8_t sel=0)
 
void PrintHubStatus ()
 
virtual uint8_t Init (uint8_t parent, uint8_t port, bool lowspeed)
 
virtual uint8_t Release ()
 
virtual uint8_t Poll ()
 
virtual uint8_t GetAddress ()
 

Constructor & Destructor Documentation

USBHub::USBHub ( USB p)

Member Function Documentation

uint8_t USBHub::ClearHubFeature ( uint8_t  fid)
inline
uint8_t USBHub::ClearPortFeature ( uint8_t  fid,
uint8_t  port,
uint8_t  sel = 0 
)
inline
virtual uint8_t USBHub::GetAddress ( )
inlinevirtual

Implements USBDeviceConfig.

uint8_t USBHub::GetHubDescriptor ( uint8_t  index,
uint16_t  nbytes,
uint8_t *  dataptr 
)
inline
uint8_t USBHub::GetHubStatus ( uint16_t  nbytes,
uint8_t *  dataptr 
)
inline
uint8_t USBHub::GetPortStatus ( uint8_t  port,
uint16_t  nbytes,
uint8_t *  dataptr 
)
inline
uint8_t USBHub::Init ( uint8_t  parent,
uint8_t  port,
bool  lowspeed 
)
virtual

Implements USBDeviceConfig.

uint8_t USBHub::Poll ( )
virtual

Implements USBDeviceConfig.

void USBHub::PrintHubStatus ( )
uint8_t USBHub::Release ( )
virtual

Implements USBDeviceConfig.

uint8_t USBHub::SetHubDescriptor ( uint8_t  port,
uint16_t  nbytes,
uint8_t *  dataptr 
)
inline
uint8_t USBHub::SetHubFeature ( uint8_t  fid)
inline
uint8_t USBHub::SetPortFeature ( uint8_t  fid,
uint8_t  port,
uint8_t  sel = 0 
)
inline

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