Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_USB_HOST Struct Reference

#include <usb.h>

Data Fields

DEVICE device
 The Device entry for this USB Host.
uint32_t hostid
 Unique Id of this Host in the Host table.
uint32_t hoststate
 Host state (eg USBHOST_STATE_ENABLED).
usb_host_start_proc hoststart
 A Host specific HostStart method implementing the standard USB host interface.
usb_host_stop_proc hoststop
 A Host specific HostStop method implementing the standard USB host interface.
usb_host_reset_proc hostreset
 A Host specific HostReset method implementing the standard USB host interface.
usb_host_submit_proc hostsubmit
 A Host specific HostSubmit method implementing the standard USB host interface.
usb_host_cancel_proc hostcancel
 A Host specific HostCancel method implementing the standard USB host interface.
MUTEX_HANDLE lock
 Host lock.
USB_DEVICEroothub
 The Root hub for this Host (or nil if the Host has not yet been started).
uint32_t alignment
 Host data buffer alignment (for DMA requests etc).
uint32_t multiplier
 Host data buffer multiplier (for DMA requests etc).
uint32_t maxtransfer
 Host maximum transfer size.
uint32_t requestcount
 Number of USB requests that have been submitted to this host.
uint32_t requesterrors
 Number of USB requests that have failed on this host.
USB_HOSTprev
 Previous entry in Host table.
USB_HOSTnext
 Next entry in Host table.

Field Documentation

◆ device

DEVICE device

The Device entry for this USB Host.

◆ hostid

uint32_t hostid

Unique Id of this Host in the Host table.

◆ hoststate

uint32_t hoststate

Host state (eg USBHOST_STATE_ENABLED).

◆ hoststart

A Host specific HostStart method implementing the standard USB host interface.

◆ hoststop

A Host specific HostStop method implementing the standard USB host interface.

◆ hostreset

A Host specific HostReset method implementing the standard USB host interface.

◆ hostsubmit

A Host specific HostSubmit method implementing the standard USB host interface.

◆ hostcancel

A Host specific HostCancel method implementing the standard USB host interface.

◆ lock

Host lock.

◆ roothub

USB_DEVICE* roothub

The Root hub for this Host (or nil if the Host has not yet been started).

◆ alignment

uint32_t alignment

Host data buffer alignment (for DMA requests etc).

◆ multiplier

uint32_t multiplier

Host data buffer multiplier (for DMA requests etc).

◆ maxtransfer

uint32_t maxtransfer

Host maximum transfer size.

◆ requestcount

uint32_t requestcount

Number of USB requests that have been submitted to this host.

◆ requesterrors

uint32_t requesterrors

Number of USB requests that have failed on this host.

◆ prev

USB_HOST* prev

Previous entry in Host table.

◆ next

USB_HOST* next

Next entry in Host table.


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