[−][src]Struct pspsdk_sys::sdk::UsbDriver
USB driver structure used by ::sceUsbbdRegister and ::sceUsbbdUnregister
Fields
name: *const c_charName of the USB driver
endpoints: c_intNumber of endpoints in this driver (including default control)
endp: *mut UsbEndpointList of endpoint structures (used when calling other functions)
intp: *mut UsbInterfaceInterface list
devp_hi: *mut c_voidPointer to hi-speed device descriptor
confp_hi: *mut c_voidPointer to hi-speed device configuration
devp: *mut c_voidPointer to full-speed device descriptor
confp: *mut c_voidPointer to full-speed device configuration
str: *mut StringDescriptorDefault String descriptor
recvctl: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int, req: *mut DeviceRequest) -> c_int>Received a control request arg0 is endpoint, arg1 is possibly data arg2 is data buffer
func28: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> c_int>Unknown
attach: Option<unsafe extern "C" fn(speed: c_int, arg2: *mut c_void, arg3: *mut c_void) -> c_int>Configuration set (attach) function
detach: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> c_int>Configuration unset (detach) function
unk34: c_intUnknown set to 0
start_func: Option<unsafe extern "C" fn(size: c_int, args: *mut c_void) -> c_int>Function called when the driver is started
stop_func: Option<unsafe extern "C" fn(size: c_int, args: *mut c_void) -> c_int>Function called when the driver is stopped
link: *mut UsbDriverLink to next USB driver in the chain, set to NULL
Trait Implementations
impl Clone for UsbDriver[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for UsbDriver[src]
impl Debug for UsbDriver[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,