Enum stm32_metapac::flash::vals::CodeOp
#[repr(u8)]pub enum CodeOp {
B_0X0 = 0,
B_0X1 = 1,
B_0X2 = 2,
B_0X3 = 3,
B_0X4 = 4,
B_0X5 = 5,
B_0X6 = 6,
_RESERVED_7 = 7,
}
Variants§
B_0X0 = 0
No Flash operation interrupted by previous reset
B_0X1 = 1
Single write operation interrupted
B_0X2 = 2
Burst write operation interrupted
B_0X3 = 3
Page erase operation interrupted
B_0X4 = 4
Bank erase operation interrupted
B_0X5 = 5
Mass erase operation interrupted
B_0X6 = 6
Option change operation interrupted
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for CodeOp
impl Ord for CodeOp
§impl PartialOrd for CodeOp
impl PartialOrd for CodeOp
§fn partial_cmp(&self, other: &CodeOp) -> Option<Ordering>
fn partial_cmp(&self, other: &CodeOp) -> 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 CodeOp
impl Eq for CodeOp
impl StructuralEq for CodeOp
impl StructuralPartialEq for CodeOp
Auto Trait Implementations§
impl RefUnwindSafe for CodeOp
impl Send for CodeOp
impl Sync for CodeOp
impl Unpin for CodeOp
impl UnwindSafe for CodeOp
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