Struct lpc55::protected_flash::ProtectedFlash
source · [−]pub struct ProtectedFlash {
pub customer: CustomerSettingsArea,
pub factory_settings: FactorySettings,
pub keystore: Keystore,
}
Expand description
For a graphical overview: https://whimsical.com/lpc55-flash-memory-map-4eU3ei4wsqiAD7D2cAiv5s
- customer page: one flash page (512B) of configuration data that may be updated during the device’s lifecycle via a scratch/ping/pong process
- factory page: one flash page (512B) of configuration data, to be set during manufacturing process
- keystore: three flash pages, technically considered part of the factory configuration data, containing activation and key codes for the PUF keys.
Fields
customer: CustomerSettingsArea
factory_settings: FactorySettings
keystore: Keystore
Trait Implementations
sourceimpl Clone for ProtectedFlash
impl Clone for ProtectedFlash
sourcefn clone(&self) -> ProtectedFlash
fn clone(&self) -> ProtectedFlash
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProtectedFlash
impl Debug for ProtectedFlash
sourceimpl<'de> Deserialize<'de> for ProtectedFlash
impl<'de> Deserialize<'de> for ProtectedFlash
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for ProtectedFlash
impl Hash for ProtectedFlash
sourceimpl Ord for ProtectedFlash
impl Ord for ProtectedFlash
sourcefn cmp(&self, other: &ProtectedFlash) -> Ordering
fn cmp(&self, other: &ProtectedFlash) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ProtectedFlash> for ProtectedFlash
impl PartialEq<ProtectedFlash> for ProtectedFlash
sourcefn eq(&self, other: &ProtectedFlash) -> bool
fn eq(&self, other: &ProtectedFlash) -> bool
sourceimpl PartialOrd<ProtectedFlash> for ProtectedFlash
impl PartialOrd<ProtectedFlash> for ProtectedFlash
sourcefn partial_cmp(&self, other: &ProtectedFlash) -> Option<Ordering>
fn partial_cmp(&self, other: &ProtectedFlash) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for ProtectedFlash
impl Serialize for ProtectedFlash
sourceimpl TryFrom<&[u8]> for ProtectedFlash
impl TryFrom<&[u8]> for ProtectedFlash
impl Copy for ProtectedFlash
impl Eq for ProtectedFlash
impl StructuralEq for ProtectedFlash
impl StructuralPartialEq for ProtectedFlash
Auto Trait Implementations
impl RefUnwindSafe for ProtectedFlash
impl Send for ProtectedFlash
impl Sync for ProtectedFlash
impl Unpin for ProtectedFlash
impl UnwindSafe for ProtectedFlash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.