Enum sam4l::flashcalw::FlashState
[−]
[src]
pub enum FlashState { Unconfigured, Ready, Read, WriteUnlocking { page: i32, }, WriteErasing { page: i32, }, WriteWriting, EraseUnlocking { page: i32, }, EraseErasing, }
FlashState is used to track the current state and command of the flash.
Variants
Unconfigured
Ready
Read
WriteUnlocking
Fields of WriteUnlocking
page: i32 |
WriteErasing
Fields of WriteErasing
page: i32 |
WriteWriting
EraseUnlocking
Fields of EraseUnlocking
page: i32 |
EraseErasing
Trait Implementations
impl Clone for FlashState
[src]
fn clone(&self) -> FlashState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for FlashState
[src]
impl PartialEq for FlashState
[src]
fn eq(&self, __arg_0: &FlashState) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FlashState) -> bool
[src]
This method tests for !=
.