Trait kernel::hil::usb::UsbController [] [src]

pub trait UsbController {
    type EndpointState: Default;
    fn enable_device(&self, full_speed: bool);
fn attach(&self);
fn endpoint_configure(&self, _: &'static Self::EndpointState, index: u32);
fn endpoint_set_buffer(&self, e: u32, buf: &[VolatileCell<u8>]);
fn endpoint_ctrl_out_enable(&self, e: u32);
fn set_address(&self, addr: u16);
fn enable_address(&self); }

USB controller interface

Associated Types

Required Methods

Implementors