TianoCore EDK2 master
Loading...
Searching...
No Matches
UsbDevice.h File Reference

Go to the source code of this file.

Data Structures

struct  _USB_DEVICE_PROTOCOL
 

Typedefs

typedef VOID(* USB_DEVICE_RX_CALLBACK) (IN UINTN Size, IN VOID *Buffer)
 
typedef VOID(* USB_DEVICE_TX_CALLBACK) (IN UINT8 EndpointIndex)
 
typedef EFI_STATUS(* USB_DEVICE_SEND) (IN UINT8 EndpointIndex, IN UINTN Size, IN CONST VOID *Buffer)
 
typedef EFI_STATUS(* USB_DEVICE_START) (IN USB_DEVICE_DESCRIPTOR *DeviceDescriptor, IN VOID **Descriptors, IN USB_DEVICE_RX_CALLBACK RxCallback, IN USB_DEVICE_TX_CALLBACK TxCallback)
 
typedef struct _USB_DEVICE_PROTOCOL USB_DEVICE_PROTOCOL
 

Variables

EFI_GUID gUsbDeviceProtocolGuid
 

Detailed Description

Copyright (c) 2013-2014, ARM Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file UsbDevice.h.

Typedef Documentation

◆ USB_DEVICE_PROTOCOL

Definition at line 110 of file UsbDevice.h.

◆ USB_DEVICE_RX_CALLBACK

typedef VOID(* USB_DEVICE_RX_CALLBACK) (IN UINTN Size, IN VOID *Buffer)

Definition at line 31 of file UsbDevice.h.

◆ USB_DEVICE_SEND

typedef EFI_STATUS(* USB_DEVICE_SEND) (IN UINT8 EndpointIndex, IN UINTN Size, IN CONST VOID *Buffer)

Definition at line 65 of file UsbDevice.h.

◆ USB_DEVICE_START

typedef EFI_STATUS(* USB_DEVICE_START) (IN USB_DEVICE_DESCRIPTOR *DeviceDescriptor, IN VOID **Descriptors, IN USB_DEVICE_RX_CALLBACK RxCallback, IN USB_DEVICE_TX_CALLBACK TxCallback)

Definition at line 97 of file UsbDevice.h.

◆ USB_DEVICE_TX_CALLBACK

typedef VOID(* USB_DEVICE_TX_CALLBACK) (IN UINT8 EndpointIndex)

Definition at line 47 of file UsbDevice.h.