Type Alias R

Source
pub type R = R<CRrs>;
Expand description

Register CR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn pg(&self) -> PG_R

Bit 0 - Programming

Source

pub fn per(&self) -> PER_R

Bit 1 - Page Erase

Source

pub fn mer(&self) -> MER_R

Bit 2 - Mass Erase

Source

pub fn optpg(&self) -> OPTPG_R

Bit 4 - Option byte programming

Source

pub fn opter(&self) -> OPTER_R

Bit 5 - Option byte erase

Source

pub fn strt(&self) -> STRT_R

Bit 6 - Start

Source

pub fn lock(&self) -> LOCK_R

Bit 7 - Lock

Source

pub fn optwre(&self) -> OPTWRE_R

Bit 9 - Option bytes write enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 10 - Error interrupt enable

Source

pub fn eopie(&self) -> EOPIE_R

Bit 12 - End of operation interrupt enable

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more