Struct stm32l0x1_hal::flash::PECR

source ·
pub struct PECR(_);
Expand description

Program and erase control register

Implementations§

Is is FLASH_PECR register locked?

Is program memory locked?

Lock the PECR

Enable flash to be erased (requires that PECR is unlocked)

Disable writes to flash (requires that PECR is unlocked)

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.

Should always be Self
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.