www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - USB API


usbHostReleaseEp0

Releases endpoint 0 of a device after it was reserved using usbHostReserveEp0().

int usbHostReleaseEp0( unsigned char driverId,

unsigned char address );

Parameters

driverId

ID of the user driver that has reserved the endpoint

address

Address of the resp. device

Return Value

Error code

Comments

This function must not be called from within the callback-function.

RTOS API

This library function uses a dynamic link to reach the function USB_SERVICE_HOST_RELEASE_EP0 offered by RTOS USB Software Interrupt.

Related Topics

C-library function usbHostReserveEp0()

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    n/an/an/aV1.06

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.05

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document