www.beck-ipc.com

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


usbSofNotify

Use this function to enable or disable the forwarding of SOF events to your application. By default the event USB_EVENT_SOF is not notified.

int usbSofNotify( unsigned char driverId,

UsbBool enable );

Parameters

driverId

Host mode: ID of the user driver
Device mode: Must always be 0x00

enable

Indicates whether to enable (TRUE) or disable (FALSE) the notification of SOF events

Return Value

Error code

RTOS API

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

Related Topics

Type UsbCallback

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