R

Type Alias R 

Source
pub type R = R<u32, CR>;
Expand description

Reader of register CR

Aliased Type§

pub 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 - This bit triggers the mass erase (all user pages) when set

Source

pub fn pnb(&self) -> PNB_R

Bits 3:10 - Page number selection

Source

pub fn strt(&self) -> STRT_R

Bit 16 - Start

Source

pub fn optstrt(&self) -> OPTSTRT_R

Bit 17 - Options modification start

Source

pub fn fstpg(&self) -> FSTPG_R

Bit 18 - Fast programming

Source

pub fn eopie(&self) -> EOPIE_R

Bit 24 - End of operation interrupt enable

Source

pub fn errie(&self) -> ERRIE_R

Bit 25 - Error interrupt enable

Source

pub fn rderrie(&self) -> RDERRIE_R

Bit 26 - PCROP read error interrupt enable

Source

pub fn obl_launch(&self) -> OBL_LAUNCH_R

Bit 27 - Force the option byte loading

Source

pub fn optlock(&self) -> OPTLOCK_R

Bit 30 - Options Lock

Source

pub fn lock(&self) -> LOCK_R

Bit 31 - FLASH_CR Lock