Lines Matching defs:treq
931 usb_device_request_t treq;
936 treq.bmRequestType = UT_READ_ENDPOINT;
937 treq.bRequest = UR_GET_STATUS;
938 USETW(treq.wValue, 0);
939 USETW(treq.wIndex, 0);
940 USETW(treq.wLength, sizeof(usb_status_t));
942 &treq, &status, sizeof(usb_status_t), USBD_SYNCHRONOUS, 0);
950 treq.bmRequestType = UT_WRITE_ENDPOINT;
951 treq.bRequest = UR_CLEAR_FEATURE;
952 USETW(treq.wValue, UF_ENDPOINT_HALT);
953 USETW(treq.wIndex, 0);
954 USETW(treq.wLength, 0);
956 &treq, &status, 0, USBD_SYNCHRONOUS, 0);