USB_ENDPOINT_ADDR_DIR_MASK
if ((epd->endpoint_address & USB_ENDPOINT_ADDR_DIR_MASK)
(endpointDesc->endpoint_address & USB_ENDPOINT_ADDR_DIR_MASK)