Skip to main content

Page

Enum Page 

Source
#[repr(u32)]
pub enum Page {
Show 32 variants P0 = 134_217_728, P1 = 134_218_752, P2 = 134_219_776, P3 = 134_220_800, P4 = 134_221_824, P5 = 134_222_848, P6 = 134_223_872, P7 = 134_224_896, P8 = 134_225_920, P9 = 134_226_944, P10 = 134_227_968, P11 = 134_228_992, P12 = 134_230_016, P13 = 134_231_040, P14 = 134_232_064, P15 = 134_233_088, P16 = 134_234_112, P17 = 134_235_136, P18 = 134_236_160, P19 = 134_237_184, P20 = 134_238_208, P21 = 134_239_232, P22 = 134_240_256, P23 = 134_241_280, P24 = 134_242_304, P25 = 134_243_328, P26 = 134_244_352, P27 = 134_245_376, P28 = 134_246_400, P29 = 134_247_424, P30 = 134_248_448, P31 = 134_249_472,
}
Expand description

An erasable 1 KB page of the main flash.

How many pages exist follows the flash of the part being built for: 16, 32 or 64.

Variants§

§

P0 = 134_217_728

§

P1 = 134_218_752

§

P2 = 134_219_776

§

P3 = 134_220_800

§

P4 = 134_221_824

§

P5 = 134_222_848

§

P6 = 134_223_872

§

P7 = 134_224_896

§

P8 = 134_225_920

§

P9 = 134_226_944

§

P10 = 134_227_968

§

P11 = 134_228_992

§

P12 = 134_230_016

§

P13 = 134_231_040

§

P14 = 134_232_064

§

P15 = 134_233_088

§

P16 = 134_234_112

§

P17 = 134_235_136

§

P18 = 134_236_160

§

P19 = 134_237_184

§

P20 = 134_238_208

§

P21 = 134_239_232

§

P22 = 134_240_256

§

P23 = 134_241_280

§

P24 = 134_242_304

§

P25 = 134_243_328

§

P26 = 134_244_352

§

P27 = 134_245_376

§

P28 = 134_246_400

§

P29 = 134_247_424

§

P30 = 134_248_448

§

P31 = 134_249_472

Trait Implementations§

Source§

impl Clone for Page

Source§

fn clone(&self) -> Page

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for Page

Source§

impl Eq for Page

Source§

impl Format for Page

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl PartialEq for Page

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Page

Auto Trait Implementations§

§

impl Freeze for Page

§

impl RefUnwindSafe for Page

§

impl Send for Page

§

impl Sync for Page

§

impl Unpin for Page

§

impl UnsafeUnpin for Page

§

impl UnwindSafe for Page

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

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.