www.beck-ipc.com

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


usbDeviceRegisterAltSetting

This function registers a new alterate setting to a given interface.

int usbDeviceRegisterAltSetting( unsigned char interfaceId );

Parameters

interfaceId

ID of the interface to that the alternate settings is to be registered

Return Value

ID of the new alternate setting or Error code

RTOS API

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

Related Topics

C-library function usbDeviceRegisterInterface()
C-library function usbDeviceConfigEp()

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