Struct stm32f40x::flash::optcr::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
fn bits(&self) -> u32
[src]
Value of the register as raw bits
fn optlock(&self) -> OPTLOCKR
[src]
Bit 0 - Option lock
fn optstrt(&self) -> OPTSTRTR
[src]
Bit 1 - Option start
fn bor_lev(&self) -> BOR_LEVR
[src]
Bits 2:3 - BOR reset Level
fn wdg_sw(&self) -> WDG_SWR
[src]
Bit 5 - WDG_SW User option bytes
fn n_rst_stop(&self) -> NRST_STOPR
[src]
Bit 6 - nRST_STOP User option bytes
fn n_rst_stdby(&self) -> NRST_STDBYR
[src]
Bit 7 - nRST_STDBY User option bytes
fn rdp(&self) -> RDPR
[src]
Bits 8:15 - Read protect
fn n_wrp(&self) -> NWRPR
[src]
Bits 16:27 - Not write protect