#[repr(C)]pub struct DmaConfig {
pub channelId: s8,
pub endianSwapSize: s8,
pub flags: u8_,
pub _padding: u8_,
pub srcCfg: DmaDeviceConfig,
pub dstCfg: DmaDeviceConfig,
}Expand description
Configuration stucture for svcStartInterProcessDma.
Fields§
§channelId: s8< Channel ID (Arm11: 0-7, Arm9: 0-1). Use -1 to auto-assign to a free channel (Arm11: 3-7, Arm9: 0-1).
endianSwapSize: s8< Endian swap size (can be 0).
flags: u8_< DMACFG_* flags.
_padding: u8_§srcCfg: DmaDeviceConfig< Source device configuration, read if DMACFG_SRC_IS_DEVICE and/or DMACFG_USE_SRC_CONFIG are set.
dstCfg: DmaDeviceConfig< Destination device configuration, read if DMACFG_SRC_IS_DEVICE and/or DMACFG_USE_SRC_CONFIG are set.
Trait Implementations§
impl Copy for DmaConfig
Auto Trait Implementations§
impl Freeze for DmaConfig
impl RefUnwindSafe for DmaConfig
impl Send for DmaConfig
impl Sync for DmaConfig
impl Unpin for DmaConfig
impl UnwindSafe for DmaConfig
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)