Enum stm32_metapac::fmc::vals::Mode
#[repr(u8)]pub enum Mode {
NORMAL = 0,
CLOCKCONFIGURATIONENABLE = 1,
PALL = 2,
AUTOREFRESHCOMMAND = 3,
LOADMODEREGISTER = 4,
SELFREFRESHCOMMAND = 5,
POWERDOWNCOMMAND = 6,
_RESERVED_7 = 7,
}
Variants§
NORMAL = 0
Normal Mode
CLOCKCONFIGURATIONENABLE = 1
Clock Configuration Enable
PALL = 2
PALL (All Bank Precharge) command
AUTOREFRESHCOMMAND = 3
Auto-refresh command
LOADMODEREGISTER = 4
Load Mode Resgier
SELFREFRESHCOMMAND = 5
Self-refresh command
POWERDOWNCOMMAND = 6
Power-down command
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Mode
impl Ord for Mode
§impl PartialOrd for Mode
impl PartialOrd for Mode
§fn partial_cmp(&self, other: &Mode) -> Option<Ordering>
fn partial_cmp(&self, other: &Mode) -> 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 Mode
impl Eq for Mode
impl StructuralEq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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