pub struct TransferConfig {Show 17 fields
pub iwidth: OspiWidth,
pub instruction: Option<u32>,
pub isize: AddressSize,
pub idtr: bool,
pub adwidth: OspiWidth,
pub address: Option<u32>,
pub adsize: AddressSize,
pub addtr: bool,
pub abwidth: OspiWidth,
pub alternate_bytes: Option<u32>,
pub absize: AddressSize,
pub abdtr: bool,
pub dwidth: OspiWidth,
pub ddtr: bool,
pub dummy: DummyCycles,
pub dqse: bool,
pub sioo: bool,
}
Expand description
OSPI transfer configuration.
Fields§
§iwidth: OspiWidth
Instruction width (IMODE)
instruction: Option<u32>
Instruction Id
isize: AddressSize
Number of Instruction Bytes
idtr: bool
Instruction Double Transfer rate enable
adwidth: OspiWidth
Address width (ADMODE)
address: Option<u32>
Device memory address.
In indirect mode, this value + the length of the data being read or written must be within
configured Config::device_size
, otherwise the transfer returns an error.
adsize: AddressSize
Number of Address Bytes
addtr: bool
Address Double Transfer rate enable
abwidth: OspiWidth
Alternate bytes width (ABMODE)
alternate_bytes: Option<u32>
Alternate Bytes
absize: AddressSize
Number of Alternate Bytes
abdtr: bool
Alternate Bytes Double Transfer rate enable
dwidth: OspiWidth
Data width (DMODE)
ddtr: bool
Data Double Transfer rate enable
dummy: DummyCycles
Number of dummy cycles (DCYC)
dqse: bool
Data strobe (DQS) management enable
sioo: bool
Send instruction only once (SIOO) mode enable
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§const fn clone_from(&mut self, source: &Self)
const 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