www.beck-ipc.com

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


usbDeviceStallEp

This function will set the STALL-condition for an endpoint. The USB-controller will reject all arriving packets on this endpoint and return a STALL-handshake. Host intervention is needed to reset the condition.

int usbDeviceStallEp( unsigned char epNumber );

Parameters

epNumber

Number of endpoint that is to be stalled

Return Value

Error code

RTOS API

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

Related Topics

C-library function usbHostSetClearFeature()

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    n/an/an/aV0.90

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.01

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


End of document