[][src]Type Definition stm32l0::stm32l0x1::flash::pecr::W

type W = W<u32, PECR>;

Writer for register PECR

Methods

impl W[src]

pub fn pelock(&mut self) -> PELOCK_W[src]

Bit 0 - FLASH_PECR and data EEPROM lock

pub fn prglock(&mut self) -> PRGLOCK_W[src]

Bit 1 - Program memory lock

pub fn optlock(&mut self) -> OPTLOCK_W[src]

Bit 2 - Option bytes block lock

pub fn prog(&mut self) -> PROG_W[src]

Bit 3 - Program memory selection

pub fn data(&mut self) -> DATA_W[src]

Bit 4 - Data EEPROM selection

pub fn fix(&mut self) -> FIX_W[src]

Bit 8 - Fixed time data write for Byte, Half Word and Word programming

pub fn erase(&mut self) -> ERASE_W[src]

Bit 9 - Page or Double Word erase mode

pub fn fprg(&mut self) -> FPRG_W[src]

Bit 10 - Half Page/Double Word programming mode

pub fn parallelbank(&mut self) -> PARALLELBANK_W[src]

Bit 15 - Parallel bank mode

pub fn eopie(&mut self) -> EOPIE_W[src]

Bit 16 - End of programming interrupt enable

pub fn errie(&mut self) -> ERRIE_W[src]

Bit 17 - Error interrupt enable

pub fn obl_launch(&mut self) -> OBL_LAUNCH_W[src]

Bit 18 - Launch the option byte loading