Enum stm32_hal2::qspi::ProtocolMode
source · #[repr(u8)]
pub enum ProtocolMode {
Single,
Dual,
Quad,
}Expand description
Sets the Qspi mode to single, dual, or quad. Affects the IMODE, ADMODE, ABMODE, and DMODE fields of the CCR reg. Each of these fields affects a different mode of operation.
Variants§
Single
Only a single IO line (IO0) is used for transmit and a separate line (IO1) is used for receive.
Dual
Two IO lines (IO0 and IO1) are used for transmit/receive.
Quad
All four IO lines are used for transmit/receive.
Trait Implementations§
source§impl Clone for ProtocolMode
impl Clone for ProtocolMode
source§fn clone(&self) -> ProtocolMode
fn clone(&self) -> ProtocolMode
Returns a copy 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 more