#[repr(u8)]
pub enum FCMD_AW {
Show 21 variants GETD, WP, WPL, EWP, EWPL, EA, EPA, SLB, CLB, GLB, SGPB, CGPB, GGPB, STUI, SPUI, GCALB, ES, WUS, EUS, STUS, SPUS,
}
Expand description

Flash Command

Variants§

§

GETD

0: Get Flash descriptor

§

WP

1: Write page

§

WPL

2: Write page and lock

§

EWP

3: Erase page and write page

§

EWPL

4: Erase page and write page then lock

§

EA

5: Erase all

§

EPA

7: Erase pages

§

SLB

8: Set lock bit

§

CLB

9: Clear lock bit

§

GLB

10: Get lock bit

§

SGPB

11: Set GPNVM bit

§

CGPB

12: Clear GPNVM bit

§

GGPB

13: Get GPNVM bit

§

STUI

14: Start read unique identifier

§

SPUI

15: Stop read unique identifier

§

GCALB

16: Get CALIB bit

§

ES

17: Erase sector

§

WUS

18: Write user signature

§

EUS

19: Erase user signature

§

STUS

20: Start read user signature

§

SPUS

21: Stop read user signature

Trait Implementations§

source§

impl Clone for FCMD_AW

source§

fn clone(&self) -> FCMD_AW

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FCMD_AW

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<FCMD_AW> for u8

source§

fn from(variant: FCMD_AW) -> Self

Converts to this type from the input type.
source§

impl PartialEq<FCMD_AW> for FCMD_AW

source§

fn eq(&self, other: &FCMD_AW) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for FCMD_AW

source§

impl Eq for FCMD_AW

source§

impl StructuralEq for FCMD_AW

source§

impl StructuralPartialEq for FCMD_AW

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.