#[repr(C, packed(1))]pub struct FisRegD2H {Show 15 fields
pub fis_type: u8,
pub pm_and_i: u8,
pub status: u8,
pub error: u8,
pub lba0: u8,
pub lba1: u8,
pub lba2: u8,
pub device: u8,
pub lba3: u8,
pub lba4: u8,
pub lba5: u8,
pub _reserved0: u8,
pub count_lo: u8,
pub count_hi: u8,
pub _reserved1: [u8; 6],
}Expand description
FIS Register – Device to Host (20 bytes).
Fields§
§fis_type: u8FIS type (0x34).
pm_and_i: u8Port multiplier | Interrupt bit (bit 6).
status: u8Status register.
error: u8Error register.
lba0: u8LBA (7:0).
lba1: u8LBA (15:8).
lba2: u8LBA (23:16).
device: u8Device register.
lba3: u8LBA (31:24).
lba4: u8LBA (39:32).
lba5: u8LBA (47:40).
_reserved0: u8Reserved.
count_lo: u8Sector count (7:0).
count_hi: u8Sector count (15:8).
_reserved1: [u8; 6]Reserved.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FisRegD2H
impl RefUnwindSafe for FisRegD2H
impl Send for FisRegD2H
impl Sync for FisRegD2H
impl Unpin for FisRegD2H
impl UnwindSafe for FisRegD2H
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)