Searched refs:USB_REQUEST_DIR_SHIFT (Results 1 – 3 of 3) sorted by relevance
63 #define USB_REQUEST_DIR_SHIFT 7U /* Bits 7: Request dir */ macro64 #define USB_REQUEST_DIR_OUT (0U << USB_REQUEST_DIR_SHIFT) /* Bit 7=0: Host-to-device */65 #define USB_REQUEST_DIR_IN (1U << USB_REQUEST_DIR_SHIFT) /* Bit 7=1: Device-to-host */66 #define USB_REQUEST_DIR_MASK (1U << USB_REQUEST_DIR_SHIFT) /* Bit 7=1: Direction bit */
370 switch (g_rp2040_udc.setup.bmRequestType >> USB_REQUEST_DIR_SHIFT) { in usb_handle_ep_buff_done()
834 switch (usb_dc_cfg.setup.bmRequestType >> USB_REQUEST_DIR_SHIFT) in USBD_IRQHandler()
Completed in 9 milliseconds