www.beck-ipc.com

@CHIP-RTOS C Library - USB API


usbDeviceStallEp

This function will set the STALL condition for an endpoint. The USB controller will reject all arriving packets and send requests on this endpoint and return a STALL handshake. A distinction between the IN and OUT direction is not possible. Both directions will be stalled.
Host intervention is needed to reset the condition.

UsbError 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

    SC12SC13SC11SC1x3SC2x
    n/an/an/aV0.90V1.00

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