Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 40 fields pub fstat: FSTAT, pub fcnfg: FCNFG, pub fsec: FSEC, pub fopt: FOPT, pub fccob3: FCCOB, pub fccob2: FCCOB, pub fccob1: FCCOB, pub fccob0: FCCOB, pub fccob7: FCCOB, pub fccob6: FCCOB, pub fccob5: FCCOB, pub fccob4: FCCOB, pub fccobb: FCCOB, pub fccoba: FCCOB, pub fccob9: FCCOB, pub fccob8: FCCOB, pub fprot3: FPROT, pub fprot2: FPROT, pub fprot1: FPROT, pub fprot0: FPROT, pub feprot: FEPROT, pub fdprot: FDPROT, pub xacch3: XACC, pub xacch2: XACC, pub xacch1: XACC, pub xacch0: XACC, pub xaccl3: XACC, pub xaccl2: XACC, pub xaccl1: XACC, pub xaccl0: XACC, pub sacch3: SACC, pub sacch2: SACC, pub sacch1: SACC, pub sacch0: SACC, pub saccl3: SACC, pub saccl2: SACC, pub saccl1: SACC, pub saccl0: SACC, pub facss: FACSS, pub facsn: FACSN, /* private fields */
}
Expand description

Register block

Fields§

§fstat: FSTAT

0x00 - Flash Status Register

§fcnfg: FCNFG

0x01 - Flash Configuration Register

§fsec: FSEC

0x02 - Flash Security Register

§fopt: FOPT

0x03 - Flash Option Register

§fccob3: FCCOB

0x04 - Flash Common Command Object Registers

§fccob2: FCCOB

0x05 - Flash Common Command Object Registers

§fccob1: FCCOB

0x06 - Flash Common Command Object Registers

§fccob0: FCCOB

0x07 - Flash Common Command Object Registers

§fccob7: FCCOB

0x08 - Flash Common Command Object Registers

§fccob6: FCCOB

0x09 - Flash Common Command Object Registers

§fccob5: FCCOB

0x0a - Flash Common Command Object Registers

§fccob4: FCCOB

0x0b - Flash Common Command Object Registers

§fccobb: FCCOB

0x0c - Flash Common Command Object Registers

§fccoba: FCCOB

0x0d - Flash Common Command Object Registers

§fccob9: FCCOB

0x0e - Flash Common Command Object Registers

§fccob8: FCCOB

0x0f - Flash Common Command Object Registers

§fprot3: FPROT

0x10 - Program Flash Protection Registers

§fprot2: FPROT

0x11 - Program Flash Protection Registers

§fprot1: FPROT

0x12 - Program Flash Protection Registers

§fprot0: FPROT

0x13 - Program Flash Protection Registers

§feprot: FEPROT

0x16 - EEPROM Protection Register

§fdprot: FDPROT

0x17 - Data Flash Protection Register

§xacch3: XACC

0x18 - Execute-only Access Registers

§xacch2: XACC

0x19 - Execute-only Access Registers

§xacch1: XACC

0x1a - Execute-only Access Registers

§xacch0: XACC

0x1b - Execute-only Access Registers

§xaccl3: XACC

0x1c - Execute-only Access Registers

§xaccl2: XACC

0x1d - Execute-only Access Registers

§xaccl1: XACC

0x1e - Execute-only Access Registers

§xaccl0: XACC

0x1f - Execute-only Access Registers

§sacch3: SACC

0x20 - Supervisor-only Access Registers

§sacch2: SACC

0x21 - Supervisor-only Access Registers

§sacch1: SACC

0x22 - Supervisor-only Access Registers

§sacch0: SACC

0x23 - Supervisor-only Access Registers

§saccl3: SACC

0x24 - Supervisor-only Access Registers

§saccl2: SACC

0x25 - Supervisor-only Access Registers

§saccl1: SACC

0x26 - Supervisor-only Access Registers

§saccl0: SACC

0x27 - Supervisor-only Access Registers

§facss: FACSS

0x28 - Flash Access Segment Size Register

§facsn: FACSN

0x2b - Flash Access Segment Number Register

Auto Trait Implementations§

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> 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> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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 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.