4.4.13.2.11 USB_ControlTransferDataSet()

RETURN_CODE_t USB_ControlTransferDataSet (uint8_t * dataPtr, uint16_t dataSize)

Updates the transfer data pointer and size in ControlTransfer.

Parameters:
*dataPtr

- Pointer to new data

dataSize

- Number of elements in the array

Returns:

SUCCESS or an Error code according to RETURN_CODE_t