Struct xhci::registers::operational::CommandRingControlRegister[][src]

#[repr(transparent)]pub struct CommandRingControlRegister(_);

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]

impl Copy for CommandRingControlRegister[src]

impl Debug for CommandRingControlRegister[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.