Struct stm32_hal2::qspi::QspiConfig
source · [−]pub struct QspiConfig {
pub protocol_mode: ProtocolMode,
pub data_mode: DataMode,
pub frequency: u32,
pub address_size: AddressSize,
pub dummy_cycles: u8,
pub sampling_edge: SamplingEdge,
pub fifo_threshold: u8,
pub mem_size: u32,
}
Expand description
A structure for specifying QSPI configuration.
Fields
protocol_mode: ProtocolMode
data_mode: DataMode
frequency: u32
address_size: AddressSize
dummy_cycles: u8
sampling_edge: SamplingEdge
fifo_threshold: u8
mem_size: u32
Trait Implementations
sourceimpl Clone for QspiConfig
impl Clone for QspiConfig
sourcefn clone(&self) -> QspiConfig
fn clone(&self) -> QspiConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for QspiConfig
impl Default for QspiConfig
impl Copy for QspiConfig
Auto Trait Implementations
impl RefUnwindSafe for QspiConfig
impl Send for QspiConfig
impl Sync for QspiConfig
impl Unpin for QspiConfig
impl UnwindSafe for QspiConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more