Trait xhci::context::InputControlHandler [−][src]
A trait to handle the Input Control Context.
Examples
use xhci::context::{byte32::Input, InputHandler}; let mut input = Input::new(); let control = input.control_mut(); control.set_aflag(0); control.set_aflag(1); control.clear_aflag(1);
Provided methods
fn set_aflag(&mut self, i: usize)
[src]
Sets the i
th Add Context flag.
Panics
This method panics if i >= 32
.
Examples
use xhci::context::{byte32::Input, InputHandler}; let mut input = Input::new(); let control = input.control_mut(); control.set_aflag(0); control.set_aflag(1);