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 ()
 

Detailed Description

Definition at line 179 of file usbhub.h.

Constructor & Destructor Documentation

USBHub::USBHub ( USB p)

Definition at line 21 of file usbhub.cpp.

Member Function Documentation

uint8_t USBHub::ClearHubFeature ( uint8_t  fid)
inline

Definition at line 217 of file usbhub.h.

uint8_t USBHub::ClearPortFeature ( uint8_t  fid,
uint8_t  port,
uint8_t  sel = 0 
)
inline

Definition at line 222 of file usbhub.h.

uint8_t USBHub::GetHubDescriptor ( uint8_t  index,
uint16_t  nbytes,
uint8_t *  dataptr 
)
inline

Definition at line 227 of file usbhub.h.

uint8_t USBHub::GetHubStatus ( uint16_t  nbytes,
uint8_t *  dataptr 
)
inline

Definition at line 232 of file usbhub.h.

uint8_t USBHub::GetPortStatus ( uint8_t  port,
uint16_t  nbytes,
uint8_t *  dataptr 
)
inline

Definition at line 237 of file usbhub.h.

uint8_t USBHub::SetHubDescriptor ( uint8_t  port,
uint16_t  nbytes,
uint8_t *  dataptr 
)
inline

Definition at line 242 of file usbhub.h.

uint8_t USBHub::SetHubFeature ( uint8_t  fid)
inline

Definition at line 247 of file usbhub.h.

uint8_t USBHub::SetPortFeature ( uint8_t  fid,
uint8_t  port,
uint8_t  sel = 0 
)
inline

Definition at line 252 of file usbhub.h.

void USBHub::PrintHubStatus ( )
uint8_t USBHub::Init ( uint8_t  parent,
uint8_t  port,
bool  lowspeed 
)
virtual

Implements USBDeviceConfig.

Definition at line 43 of file usbhub.cpp.

uint8_t USBHub::Release ( )
virtual

Implements USBDeviceConfig.

Definition at line 216 of file usbhub.cpp.

uint8_t USBHub::Poll ( )
virtual

Implements USBDeviceConfig.

Definition at line 230 of file usbhub.cpp.

virtual uint8_t USBHub::GetAddress ( )
inlinevirtual

Implements USBDeviceConfig.

Definition at line 213 of file usbhub.h.


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