#[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.