+static void UsbSendStall(void)\r
+{\r
+ UDP_ENDPOINT_CSR(0) |= UDP_CSR_FORCE_STALL;\r
+\r
+ while(!(UDP_ENDPOINT_CSR(0) & UDP_CSR_STALL_SENT))\r
+ ;\r
+\r
+ UDP_ENDPOINT_CSR(0) &= ~UDP_CSR_STALL_SENT;\r
+\r
+ while(UDP_ENDPOINT_CSR(0) & UDP_CSR_STALL_SENT)\r
+ ;\r
+}\r
+\r