NetBurner 3.5.7
PDF Version
_usb_host_instance Struct Reference

USB host instance structure. More...

#include <usb_host_hci.h>

Public Attributes

void * controllerHandle
 
host_callback_t deviceCallback
 
osa_mutex_handle_t hostMutex
 
uint32_t mutexBuffer [(OSA_MUTEX_HANDLE_SIZE+3)/4]
 
usb_host_transfer_t transferList [USB_HOST_CONFIG_MAX_TRANSFERS]
 
usb_host_transfer_ttransferHead
 
const usb_host_controller_interface_tcontrollerTable
 
void * deviceList
 
uint8_t addressBitMap [16]
 
uint8_t occupied
 
uint8_t controllerId
 

Detailed Description

USB host instance structure.

Member Data Documentation

◆ addressBitMap

uint8_t _usb_host_instance::addressBitMap[16]

Used for address allocation. The first bit is the address 1, second bit is the address 2

◆ controllerHandle

void* _usb_host_instance::controllerHandle

The low level controller handle

◆ controllerId

uint8_t _usb_host_instance::controllerId

The controller ID

◆ controllerTable

const usb_host_controller_interface_t* _usb_host_instance::controllerTable

KHCI/EHCI interface

◆ deviceCallback

host_callback_t _usb_host_instance::deviceCallback

Device attach/detach callback

◆ deviceList

void* _usb_host_instance::deviceList

Device list

◆ hostMutex

osa_mutex_handle_t _usb_host_instance::hostMutex

Host layer mutex

◆ mutexBuffer

uint32_t _usb_host_instance::mutexBuffer[(OSA_MUTEX_HANDLE_SIZE+3)/4]

Host layer mutex

◆ occupied

uint8_t _usb_host_instance::occupied

0 - the instance is not occupied; 1 - the instance is occupied

◆ transferHead

usb_host_transfer_t* _usb_host_instance::transferHead

Idle transfer head

◆ transferList

usb_host_transfer_t _usb_host_instance::transferList[USB_HOST_CONFIG_MAX_TRANSFERS]

Transfer resource


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