pub struct SWPR2_SPEC;
Expand description

SRAM2 write protection register 2

This register you can write_with_zero, reset, write. See API.

For information about available fields see swpr2 module

Trait Implementations

Raw register type (u8, u16, u32, …).

reset() method sets SWPR2 to value 0

Reset value of the register.

write(|w| ..) method takes swpr2::W writer structure

Writer type argument to write, et al.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.