www.beck-ipc.com

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


usbFreeReceiveBuffer

Frees a receive buffer. The RTOS USB-driver manages a bunch of receive buffers internally. Each time data is received on any endpoint, it is put into one of these buffers and the buffer is handed to a user driver along with a callback event.
To enable the reuse of the buffer, this function has to be called as soon as possible.

void usbFreeReceiveBuffer( void far *buffer );

Parameters

buffer

Pointer to the receive buffer that is to be freed

Return Value

None

RTOS API

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

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