Struct nrf52832_hal::uicr::Uicr[][src]

pub struct Uicr(_);
Expand description

Interface to a UICR instance.

This is a very basic interface that comes with the following limitations:

  • Only customer registers are usable for storing and loading of data
  • Erase must be performed in order to write bits with value 1 over 0

Implementations

Construct a new Uicr from pac::UICR.

Release the pac::UICR instance back.

Erase the UICR registers.

UICR registers can only be set to 0 bits, additional overrides back to 1 can only be performed by erasing the UICR registers.

  • Sets all registers to 0xFFFF_FFFFu32

Store a slice of &[u32] values to the customer registers with given offset.

  • offset + slice length must be less than 32
  • initial value after erase is 0xFFFF_FFFFu32
  • UICR registers can only be set to 0 bits, additional overrides back to 1 can only be performed by erasing the UICR registers

Load a slice of &[u32] values to the customer registers from given offset.

  • offset + slice length must be less than 32
  • returns the loaded slice

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.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

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.

Casts the value.