pub struct SmartEeprom<'a, T> where
    T: SmartEepromState
{ /* fields omitted */ }
Expand description

Struct representing a SmartEEPROM instance.

It is generic over:

Implementations

Returns an immutable slice to SmartEEPROM mapped address space.

Underlying pointed type can be either u8, u16 or u32.

Unsafety: NVMCTRL.SEESTAT.BUSY register must be 0 before memory access can be performed.

Retrieves data stored in SmartEEPROM at offset location and copies it to buffer.

Note: offset_in_bytes == sizeof::<TP>() * offset

Returns an iterator over SmartEEPROM address space.

Returns a mutable slice to SmartEEPROM mapped address space.

Underlying pointed type can be either u8, u16 or u32.

Unsafety: NVMCTRL.SEESTAT.BUSY register must be 0 before memory access can be performed.

Copies data in a buffer to SmartEEPROM at offset location

Note: offset_in_bytes == sizeof::<TP>() * offset

Returns a mutable iterator over SmartEEPROM address space.

Locks SmartEEPROM, allowing only to perform read operations

Unlocks SmartEEPROM, allowing to perform both read and write operations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.