pub struct Driver<'d, T: Instance> { /* private fields */ }Expand description
USB driver.
Implementations§
Trait Implementations§
Source§impl<'d, T: Instance> Driver<'d> for Driver<'d, T>
impl<'d, T: Instance> Driver<'d> for Driver<'d, T>
Source§type EndpointOut = Endpoint<'d, T, Out>
type EndpointOut = Endpoint<'d, T, Out>
Type of the OUT endpoints for this driver.
Source§type EndpointIn = Endpoint<'d, T, In>
type EndpointIn = Endpoint<'d, T, In>
Type of the IN endpoints for this driver.
Source§type ControlPipe = ControlPipe<'d, T>
type ControlPipe = ControlPipe<'d, T>
Type of the control pipe for this driver.
Source§fn alloc_endpoint_in(
&mut self,
config: &EndpointConfig,
) -> Result<Self::EndpointIn, EndpointAllocError>
fn alloc_endpoint_in( &mut self, config: &EndpointConfig, ) -> Result<Self::EndpointIn, EndpointAllocError>
Allocates an IN endpoint. Read more
Source§fn alloc_endpoint_out(
&mut self,
config: &EndpointConfig,
) -> Result<Self::EndpointOut, EndpointAllocError>
fn alloc_endpoint_out( &mut self, config: &EndpointConfig, ) -> Result<Self::EndpointOut, EndpointAllocError>
Allocates an OUT endpoint. Read more