4.4.13.2.14 USB_ControlTransferZLP()

RETURN_CODE_t USB_ControlTransferZLP (uint8_t direction)

Sends ZLP OUT and ZLP IN transactions on the control endpoints.

Parameters:
direction

- The endpoint direction to send the ZLP

Returns:

SUCCESS or an Error code according to RETURN_CODE_t