[][src]Struct sunrise_ahci::hba::GenericHostControl

#[repr(packed)]pub struct GenericHostControl {
    cap: Mmio<CAP>,
    ghc: Mmio<GHC>,
    is: Mmio<u32>,
    pi: Mmio<u32>,
    vs: Mmio<u32>,
    ccc_ctl: Mmio<u32>,
    ccc_pts: Mmio<u32>,
    em_loc: Mmio<u32>,
    em_ctl: Mmio<u32>,
    cap2: Mmio<CAP2>,
    bohc: Mmio<u32>,
}

HBA Generic Host Control.

See spec section 3.1

Found at address in pci configuration register BAR5[0x00]-BAR5[0x2B].

Fields

cap: Mmio<CAP>ghc: Mmio<GHC>is: Mmio<u32>pi: Mmio<u32>vs: Mmio<u32>ccc_ctl: Mmio<u32>ccc_pts: Mmio<u32>em_loc: Mmio<u32>em_ctl: Mmio<u32>cap2: Mmio<CAP2>bohc: Mmio<u32>

Trait Implementations

impl Debug for GenericHostControl[src]

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]

Debug does not access reserved registers.

Auto Trait Implementations

impl RefUnwindSafe for GenericHostControl

impl Send for GenericHostControl

impl Sync for GenericHostControl

impl Unpin for GenericHostControl

impl UnwindSafe for GenericHostControl

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> SizedIPCBuffer for 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.