Type Alias W

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

Register CR writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 0 - Programming

Source

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

Bit 1 - Page erase

Source

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

Bit 2 - Mass erase

Source

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

Bits 3:12 - Page number

Source

pub fn strt(&mut self) -> STRT_W<'_, CRrs>

Bit 16 - Start

Source

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

Bit 17 - Options modification start

Source

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

Bit 18 - Fast programming

Source

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

Bit 24 - End of operation interrupt enable

Source

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

Bit 25 - Error interrupt enable

Source

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

Bit 26 - PCROP read error interrupt enable

Source

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

Bit 27 - Force the option byte loading

Source

pub fn sec_prot(&mut self) -> SEC_PROT_W<'_, CRrs>

Bit 28 - Securable memory area protection enable

Source

pub fn sec_prot2(&mut self) -> SEC_PROT2_W<'_, CRrs>

Bit 29 - Securable memory area protection enable, Bank 2

Source

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

Bit 30 - Options Lock

Source

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

Bit 31 - FLASH_CR Lock