pub struct Transfer {
pub address: u32,
pub size: u32,
pub control: u32,
}Expand description
The three per-channel register values that describe one transfer.
start stores them in the order silicon expects: address, size, then
control (which starts the transfer when it carries CHCR_START).
Fields§
§address: u32RAM address the channel reads from or writes to.
size: u32Word or block count; see size_words and size_blocks.
control: u32Control word ([psx_hw::dma]’s CHCR_* bits): direction, step, sync
mode, start.
Trait Implementations§
impl Copy for Transfer
impl Eq for Transfer
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl Freeze for Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnsafeUnpin for Transfer
impl UnwindSafe for Transfer
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)