Searched refs:EndpointDirection (Results 1 – 3 of 3) sorted by relevance
8 use crate::types::{EndpointDirection, EndpointType};24 pub fn get_direction(&self) -> EndpointDirection { in get_direction() argument27 EndpointDirection::DeviceToHost in get_direction()29 EndpointDirection::HostToDevice in get_direction()
50 pub enum EndpointDirection { enum
19 use usb_util::types::{EndpointDirection, EndpointType, ENDPOINT_DIRECTION_OFFSET};30 direction: EndpointDirection,41 direction: EndpointDirection, in new() argument62 EndpointDirection::HostToDevice => TransferDirection::Out, in match_ep()63 EndpointDirection::DeviceToHost => TransferDirection::In, in match_ep()133 EndpointDirection::HostToDevice => { in do_handle_transfer()188 EndpointDirection::DeviceToHost => { in do_handle_transfer()