USB Host Shield 2.0
Public Member Functions | List of all members
AddressPoolImpl< MAX_DEVICES_ALLOWED > Class Template Reference

#include <address.h>

Inheritance diagram for AddressPoolImpl< MAX_DEVICES_ALLOWED >:
Inheritance graph
[legend]
Collaboration diagram for AddressPoolImpl< MAX_DEVICES_ALLOWED >:
Collaboration graph
[legend]

Public Member Functions

 AddressPoolImpl ()
 
virtual UsbDeviceGetUsbDevicePtr (uint8_t addr)
 
void ForEachUsbDevice (UsbDeviceHandleFunc pfunc)
 
virtual uint8_t AllocAddress (uint8_t parent, bool is_hub=false, uint8_t port=0)
 
virtual void FreeAddress (uint8_t addr)
 

Detailed Description

template<const uint8_t MAX_DEVICES_ALLOWED>
class AddressPoolImpl< MAX_DEVICES_ALLOWED >

Definition at line 103 of file address.h.

Constructor & Destructor Documentation

◆ AddressPoolImpl()

template<const uint8_t MAX_DEVICES_ALLOWED>
AddressPoolImpl< MAX_DEVICES_ALLOWED >::AddressPoolImpl ( )
inline

Definition at line 171 of file address.h.

Member Function Documentation

◆ GetUsbDevicePtr()

template<const uint8_t MAX_DEVICES_ALLOWED>
virtual UsbDevice* AddressPoolImpl< MAX_DEVICES_ALLOWED >::GetUsbDevicePtr ( uint8_t  addr)
inlinevirtual

Implements AddressPool.

Definition at line 188 of file address.h.

◆ ForEachUsbDevice()

template<const uint8_t MAX_DEVICES_ALLOWED>
void AddressPoolImpl< MAX_DEVICES_ALLOWED >::ForEachUsbDevice ( UsbDeviceHandleFunc  pfunc)
inline

Definition at line 199 of file address.h.

◆ AllocAddress()

template<const uint8_t MAX_DEVICES_ALLOWED>
virtual uint8_t AddressPoolImpl< MAX_DEVICES_ALLOWED >::AllocAddress ( uint8_t  parent,
bool  is_hub = false,
uint8_t  port = 0 
)
inlinevirtual

Implements AddressPool.

Definition at line 210 of file address.h.

◆ FreeAddress()

template<const uint8_t MAX_DEVICES_ALLOWED>
virtual void AddressPoolImpl< MAX_DEVICES_ALLOWED >::FreeAddress ( uint8_t  addr)
inlinevirtual

Implements AddressPool.

Definition at line 262 of file address.h.


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