[][src]Struct sunrise_ahci::hba::ReceivedFis

#[repr(C, align(256))]pub struct ReceivedFis {
    dsfis: FisDmaSetup,
    _rsv0: [u8; 4],
    psfis: FisPioSetup,
    _rsv1: [u8; 12],
    rfis: FisRegD2H,
    _rsv2: [u8; 4],
    sdbfis: FisSetDeviceBits,
    ufis: [Mmio<u8>; 64],
    _rsv3: [u8; 96],
}

Received FIS Structure. Pointed to by PxFB.

FIS received by the port will be copied to this structure, in the corresponding field.

See section 4.2.1

Fields

dsfis: FisDmaSetup_rsv0: [u8; 4]psfis: FisPioSetup_rsv1: [u8; 12]rfis: FisRegD2H_rsv2: [u8; 4]sdbfis: FisSetDeviceBitsufis: [Mmio<u8>; 64]_rsv3: [u8; 96]

Implementations

impl ReceivedFis[src]

pub fn dsfis(&self) -> &FisDmaSetup[src]

Return a const reference to the last received DMA Setup FIS.

pub fn psfis(&self) -> &FisPioSetup[src]

Return a const reference to the last received PIO Setup FIS.

pub fn rfis(&self) -> &FisRegD2H[src]

Return a const reference to the last received D2H Register FIS.

pub fn sdbfis(&self) -> &FisSetDeviceBits[src]

Return a const reference to the last received Set Device Bits FIS.

pub fn ufis(&self) -> &[Mmio<u8>; 64][src]

Return a const reference to the last received Unknown FIS.

Trait Implementations

impl ZeroInitialized for ReceivedFis[src]

Auto Trait Implementations

impl RefUnwindSafe for ReceivedFis

impl Send for ReceivedFis

impl Sync for ReceivedFis

impl Unpin for ReceivedFis

impl UnwindSafe for ReceivedFis

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.