#[repr(C, packed(1))]pub struct FisDmaSetup {
pub fis_type: u8,
pub flags: u8,
pub _reserved0: [u8; 2],
pub dma_buf_id_lo: u32,
pub dma_buf_id_hi: u32,
pub _reserved1: u32,
pub dma_buf_offset: u32,
pub transfer_count: u32,
pub _reserved2: u32,
}Expand description
FIS DMA Setup – Bidirectional (28 bytes).
Fields§
§fis_type: u8FIS type (0x41).
flags: u8Port multiplier | Direction | Interrupt | Auto-activate.
_reserved0: [u8; 2]Reserved.
dma_buf_id_lo: u32DMA Buffer Identifier (low).
dma_buf_id_hi: u32DMA Buffer Identifier (high).
_reserved1: u32Reserved.
dma_buf_offset: u32DMA buffer offset.
transfer_count: u32Transfer count.
_reserved2: u32Reserved.
Trait Implementations§
Source§impl Clone for FisDmaSetup
impl Clone for FisDmaSetup
Source§fn clone(&self) -> FisDmaSetup
fn clone(&self) -> FisDmaSetup
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FisDmaSetup
impl Debug for FisDmaSetup
impl Copy for FisDmaSetup
Auto Trait Implementations§
impl Freeze for FisDmaSetup
impl RefUnwindSafe for FisDmaSetup
impl Send for FisDmaSetup
impl Sync for FisDmaSetup
impl Unpin for FisDmaSetup
impl UnwindSafe for FisDmaSetup
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)