pub struct DmaRequest {
pub channel: DmaChannel,
pub direction: DmaDirection,
}Expand description
An asserted DMA request (DRQ), without a memory address or transfer count.
The host’s DMA controller owns address, count, page wrapping, masking and terminal-count behavior. This descriptor only reports the device’s request; it neither performs nor acknowledges a transfer.
Fields§
§channel: DmaChannelDMA channel configured for this device.
direction: DmaDirectionWhether data flows into or out of the device.
Trait Implementations§
Source§impl Clone for DmaRequest
impl Clone for DmaRequest
Source§fn clone(&self) -> DmaRequest
fn clone(&self) -> DmaRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DmaRequest
Source§impl Debug for DmaRequest
impl Debug for DmaRequest
impl Eq for DmaRequest
Source§impl Hash for DmaRequest
impl Hash for DmaRequest
Source§impl PartialEq for DmaRequest
impl PartialEq for DmaRequest
impl StructuralPartialEq for DmaRequest
Auto Trait Implementations§
impl Forget for DmaRequest
impl Freeze for DmaRequest
impl RefUnwindSafe for DmaRequest
impl Send for DmaRequest
impl Sync for DmaRequest
impl Unpin for DmaRequest
impl UnsafeUnpin for DmaRequest
impl UnwindSafe for DmaRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more