4.4.15.3.10 USB_EndpointStall()
RETURN_CODE_t USB_EndpointStall (USB_PIPE_t pipe)
Helps stall an endpoint when a command received from the host is invalid or unrecognizable. Used if the host sends data that is not supported by the device.
pipe |
- A combination of endpoint address and direction |
SUCCESS or an Error code according to RETURN_CODE_t |