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

pub trait UsbController {
    fn endpoint_set_buffer(&self, endpoint: usize, buf: &[VolatileCell<u8>]);
fn enable_as_device(&self, speed: DeviceSpeed);
fn attach(&self);
fn detach(&self);
fn set_address(&self, addr: u16);
fn enable_address(&self);
fn endpoint_ctrl_out_enable(&self, endpoint: usize);
fn endpoint_bulk_in_enable(&self, endpoint: usize);
fn endpoint_bulk_out_enable(&self, endpoint: usize);
fn endpoint_bulk_resume(&self, endpoint: usize); }

USB controller interface

Required methods

fn endpoint_set_buffer(&self, endpoint: usize, buf: &[VolatileCell<u8>])

fn enable_as_device(&self, speed: DeviceSpeed)

fn attach(&self)

fn detach(&self)

fn set_address(&self, addr: u16)

fn enable_address(&self)

fn endpoint_ctrl_out_enable(&self, endpoint: usize)

fn endpoint_bulk_in_enable(&self, endpoint: usize)

fn endpoint_bulk_out_enable(&self, endpoint: usize)

fn endpoint_bulk_resume(&self, endpoint: usize)

Loading content...

Implementors

Loading content...