EraseCodeR

Type Alias EraseCodeR 

Source
pub type EraseCodeR = FieldReader<EraseCode>;
Expand description

Field ERASE_CODE reader - Erase Code. The ERASE_CODE must be set up property before erase operation can be initiated. These bits are automatically cleared after the operation is complete.

Aliased Type§

pub struct EraseCodeR { /* private fields */ }

Implementations§

Source§

impl EraseCodeR

Source

pub const fn variant(&self) -> Option<EraseCode>

Get enumerated values variant

Source

pub fn is_nop(&self) -> bool

No operation.

Source

pub fn is_erase_page(&self) -> bool

Enable Page Erase.

Source

pub fn is_erase_all(&self) -> bool

Enable Mass Erase. The debug port must be enabled.