pub struct TransferConfig {Show 15 fields
pub iwidth: XspiWidth,
pub instruction: Option<u32>,
pub isize: AddressSize,
pub idtr: bool,
pub adwidth: XspiWidth,
pub address: Option<u32>,
pub adsize: AddressSize,
pub addtr: bool,
pub abwidth: XspiWidth,
pub alternate_bytes: Option<u32>,
pub absize: AddressSize,
pub abdtr: bool,
pub dwidth: XspiWidth,
pub ddtr: bool,
pub dummy: DummyCycles,
}Expand description
XSPI transfer configuration.
Fields§
§iwidth: XspiWidthInstruction width (IMODE)
instruction: Option<u32>Instruction Id
isize: AddressSizeNumber of Instruction Bytes
idtr: boolInstruction Double Transfer rate enable
adwidth: XspiWidthAddress width (ADMODE)
address: Option<u32>Device memory address
adsize: AddressSizeNumber of Address Bytes
addtr: boolAddress Double Transfer rate enable
abwidth: XspiWidthAlternate bytes width (ABMODE)
alternate_bytes: Option<u32>Alternate Bytes
absize: AddressSizeNumber of Alternate Bytes
abdtr: boolAlternate Bytes Double Transfer rate enable
dwidth: XspiWidthData width (DMODE)
ddtr: boolData Double Transfer rate enable
dummy: DummyCyclesNumber of dummy cycles (DCYC)
Trait Implementations§
Source§impl Clone for TransferConfig
impl Clone for TransferConfig
Source§fn clone(&self) -> TransferConfig
fn clone(&self) -> TransferConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TransferConfig
impl Default for TransferConfig
Source§impl Format for TransferConfig
impl Format for TransferConfig
impl Copy for TransferConfig
Auto Trait Implementations§
impl Freeze for TransferConfig
impl RefUnwindSafe for TransferConfig
impl Send for TransferConfig
impl Sync for TransferConfig
impl Unpin for TransferConfig
impl UnwindSafe for TransferConfig
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