#[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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.