Struct embassy_stm32::qspi::Config
source · pub struct Config {
pub memory_size: MemorySize,
pub address_size: AddressSize,
pub prescaler: u8,
pub fifo_threshold: FIFOThresholdLevel,
pub cs_high_time: ChipSelectHighTime,
}
Expand description
QSPI driver configuration.
Fields§
§memory_size: MemorySize
Flash memory size representend as 2^[0-32], as reasonable minimum 1KiB(9) was chosen.
If you need other value the whose predefined use Other
variant.
address_size: AddressSize
Address size (8/16/24/32-bit)
prescaler: u8
Scalar factor for generating CLK [0-255]
fifo_threshold: FIFOThresholdLevel
Number of bytes to trigger FIFO threshold flag.
cs_high_time: ChipSelectHighTime
Minimum number of cycles that chip select must be high between issued commands
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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