W

Type Alias W 

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

Writer for register CR

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn pg(&mut self) -> PG_W<'_>

Bit 0 - Programming

Source

pub fn per(&mut self) -> PER_W<'_>

Bit 1 - Page erase

Source

pub fn mer1(&mut self) -> MER1_W<'_>

Bit 2 - Bank 1 Mass erase

Source

pub fn pnb(&mut self) -> PNB_W<'_>

Bits 3:10 - Page number

Source

pub fn bker(&mut self) -> BKER_W<'_>

Bit 11 - Bank erase

Source

pub fn mer2(&mut self) -> MER2_W<'_>

Bit 15 - Bank 2 Mass erase

Source

pub fn start(&mut self) -> START_W<'_>

Bit 16 - Start

Source

pub fn optstrt(&mut self) -> OPTSTRT_W<'_>

Bit 17 - Options modification start

Source

pub fn fstpg(&mut self) -> FSTPG_W<'_>

Bit 18 - Fast programming

Source

pub fn eopie(&mut self) -> EOPIE_W<'_>

Bit 24 - End of operation interrupt enable

Source

pub fn errie(&mut self) -> ERRIE_W<'_>

Bit 25 - Error interrupt enable

Source

pub fn rderrie(&mut self) -> RDERRIE_W<'_>

Bit 26 - PCROP read error interrupt enable

Source

pub fn obl_launch(&mut self) -> OBL_LAUNCH_W<'_>

Bit 27 - Force the option byte loading

Source

pub fn optlock(&mut self) -> OPTLOCK_W<'_>

Bit 30 - Options Lock

Source

pub fn lock(&mut self) -> LOCK_W<'_>

Bit 31 - FLASH_CR Lock