Struct xhci::registers::operational::CommandRingControlRegister [−][src]
Command Ring Controller Register
Implementations
impl CommandRingControlRegister
[src]
pub fn set_ring_cycle_state(&mut self, s: bool)
[src]
Sets the Ring Cycle State bit.
pub fn set_command_stop(&mut self)
[src]
Sets the Command Stop bit.
pub fn set_command_abort(&mut self)
[src]
Sets the Command Abort bit.
#[must_use]pub fn command_ring_running(self) -> bool
[src]
Returns the bit of the Command Ring Running bit.
pub fn set_command_ring_pointer(&mut self, p: u64)
[src]
Sets the value of the Command Ring Pointer field. It must be 64 byte aligned.
Panics
This method panics if the given pointer is not 64 byte aligned.
Trait Implementations
impl Clone for CommandRingControlRegister
[src]
fn clone(&self) -> CommandRingControlRegister
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CommandRingControlRegister
[src]
impl Debug for CommandRingControlRegister
[src]
Auto Trait Implementations
impl Send for CommandRingControlRegister
impl Sync for CommandRingControlRegister
impl Unpin for CommandRingControlRegister
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,