pub struct QspiConfig { /* private fields */ }Implementations§
Source§impl QspiConfig
impl QspiConfig
pub fn clock_prescaler(self, clk_pre: u8) -> Self
pub fn flash_size(self, fl_size: u8) -> Self
pub fn address_size(self, add_size: AddressSize) -> Self
pub fn clock_mode(self, clk_mode: ClockMode) -> Self
pub fn fifo_threshold(self, fifo_thres: u8) -> Self
pub fn sample_shift(self, shift: SampleShift) -> Self
pub fn chip_select_high_time(self, csht: u8) -> Self
pub fn qpi_mode(self, qpi: bool) -> Self
Trait Implementations§
Source§impl Clone for QspiConfig
impl Clone for QspiConfig
Source§fn clone(&self) -> QspiConfig
fn clone(&self) -> QspiConfig
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 Debug for QspiConfig
impl Debug for QspiConfig
Source§impl Default for QspiConfig
impl Default for QspiConfig
Source§fn default() -> QspiConfig
fn default() -> QspiConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for QspiConfig
impl PartialEq for QspiConfig
impl Copy for QspiConfig
impl StructuralPartialEq for QspiConfig
Auto Trait Implementations§
impl Freeze for QspiConfig
impl RefUnwindSafe for QspiConfig
impl Send for QspiConfig
impl Sync for QspiConfig
impl Unpin for QspiConfig
impl UnwindSafe for QspiConfig
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