Skip to main content

WrprotR

Type Alias WrprotR 

Source
pub type WrprotR = FieldReader<Wrprot>;
Expand description

Field WRPROT reader - Write protect

Aliased Type§

pub struct WrprotR { /* private fields */ }

Implementations§

Source§

impl WrprotR

Source

pub const fn variant(&self) -> Wrprot

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Write protection off (default).

Source

pub fn is_enabled(&self) -> bool

Write protection on.

Source

pub fn is_disabled_locked(&self) -> bool

Write protection off and locked until chip reset.

Source

pub fn is_enabled_locked(&self) -> bool

Write protection on and locked until chip reset.