[]Struct sunrise_ahci::hba::GHC

struct GHC(pub u32);

HbaMem.GHC "Global HBA Control" register bitfield.

Defined in section 3.1.2

Implementations

impl GHC

fn ae(&self) -> bool

fn set_ae(&mut self, value: bool)

fn mrsm(&self) -> bool

fn ie(&self) -> bool

fn set_ie(&mut self, value: bool)

fn hr(&self) -> bool

fn set_hr(&mut self, value: bool)

Trait Implementations

impl<T> BitRange<T> for GHC where
    u32: BitRange<T>, 

impl Clone for GHC[src]

impl Copy for GHC[src]

impl Debug for GHC

Auto Trait Implementations

impl RefUnwindSafe for GHC

impl Send for GHC

impl Sync for GHC

impl Unpin for GHC

impl UnwindSafe for GHC

Blanket Implementations

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

impl<T> Bit for T where
    T: BitRange<u8>, 

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> SizedIPCBuffer for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.