Enum stm32_metapac::flash::vals::Latency
#[repr(u8)]pub enum Latency {
WS0 = 0,
WS1 = 1,
WS2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
WS0 = 0
Zero wait state, if 0 < SYSCLK≤ 24 MHz
WS1 = 1
One wait state, if 24 MHz < SYSCLK ≤ 48 MHz
WS2 = 2
Two wait states, if 48 MHz < SYSCLK ≤ 72 MHz
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Latency
impl Ord for Latency
§impl PartialOrd for Latency
impl PartialOrd for Latency
§fn partial_cmp(&self, other: &Latency) -> Option<Ordering>
fn partial_cmp(&self, other: &Latency) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Latency
impl Eq for Latency
impl StructuralPartialEq for Latency
Auto Trait Implementations§
impl Freeze for Latency
impl RefUnwindSafe for Latency
impl Send for Latency
impl Sync for Latency
impl Unpin for Latency
impl UnwindSafe for Latency
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