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
over0
Implementations
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 to1
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