Struct embassy_stm32::qspi::TransferConfig
source · pub struct TransferConfig {
pub iwidth: QspiWidth,
pub awidth: QspiWidth,
pub dwidth: QspiWidth,
pub instruction: u8,
pub address: Option<u32>,
pub dummy: DummyCycles,
pub data_len: Option<usize>,
}
Expand description
QSPI transfer configuration.
Fields§
§iwidth: QspiWidth
Instraction 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)
data_len: Option<usize>
Length of data
Trait Implementations§
Auto Trait Implementations§
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