Searched refs:EndpointType (Results 1 – 3 of 3) sorted by relevance
8 use crate::types::{EndpointDirection, EndpointType};39 pub fn get_endpoint_type(&self) -> Option<EndpointType> { in get_endpoint_type() argument42 0 => Some(EndpointType::Control), in get_endpoint_type()43 1 => Some(EndpointType::Isochronous), in get_endpoint_type()44 2 => Some(EndpointType::Bulk), in get_endpoint_type()45 3 => Some(EndpointType::Interrupt), in get_endpoint_type()
41 pub enum EndpointType { enum
19 use usb_util::types::{EndpointDirection, EndpointType, ENDPOINT_DIRECTION_OFFSET};31 ty: EndpointType,42 ty: EndpointType, in new() argument44 assert!(ty != EndpointType::Control); in new()89 EndpointType::Bulk => { in handle_transfer()92 EndpointType::Interrupt => { in handle_transfer()