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

pub trait Client {
    fn enable(&self);
fn attach(&self);
fn bus_reset(&self);
fn ctrl_setup(&self, endpoint: usize) -> CtrlSetupResult;
fn ctrl_in(&self, endpoint: usize) -> CtrlInResult;
fn ctrl_out(&self, endpoint: usize, packet_bytes: u32) -> CtrlOutResult;
fn ctrl_status(&self, endpoint: usize);
fn ctrl_status_complete(&self, endpoint: usize);
fn bulk_in(&self, endpoint: usize) -> BulkInResult;
fn bulk_out(&self, endpoint: usize, packet_bytes: u32) -> BulkOutResult; }

USB controller client interface

Required methods

fn enable(&self)

fn attach(&self)

fn bus_reset(&self)

fn ctrl_setup(&self, endpoint: usize) -> CtrlSetupResult

fn ctrl_in(&self, endpoint: usize) -> CtrlInResult

fn ctrl_out(&self, endpoint: usize, packet_bytes: u32) -> CtrlOutResult

fn ctrl_status(&self, endpoint: usize)

fn ctrl_status_complete(&self, endpoint: usize)

fn bulk_in(&self, endpoint: usize) -> BulkInResult

fn bulk_out(&self, endpoint: usize, packet_bytes: u32) -> BulkOutResult

Loading content...

Implementors

Loading content...