pub struct TransferConfig {
pub iwidth: QspiWidth,
pub awidth: QspiWidth,
pub dwidth: QspiWidth,
pub instruction: u8,
pub address: Option<u32>,
pub dummy: DummyCycles,
}
Expand description
QSPI transfer configuration.
Fields§
§iwidth: QspiWidth
Instruction width (IMODE)
awidth: QspiWidth
Address width (ADMODE)
dwidth: QspiWidth
Data width (DMODE)
instruction: u8
Instruction Id
address: Option<u32>
Flash memory address
dummy: DummyCycles
Number 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§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
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