Enum stm32_metapac::flash::vals::CodeOp
#[repr(u8)]pub enum CodeOp {
B_0X0 = 0,
B_0X1 = 1,
_RESERVED_2 = 2,
B_0X3 = 3,
B_0X4 = 4,
B_0X5 = 5,
B_0X6 = 6,
_RESERVED_7 = 7,
}
Variants§
B_0X0 = 0
No Flash operation on going during previous reset
B_0X1 = 1
Single write operation interrupted
_RESERVED_2 = 2
B_0X3 = 3
Sector 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
impl Copy for CodeOp
impl Eq for CodeOp
impl StructuralPartialEq for CodeOp
Auto Trait Implementations§
impl Freeze for CodeOp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)