R

Type Alias R 

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

Reader of register OPTR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn rdp(&self) -> RDP_R

Bits 0:7 - Read protection level

Source

pub fn bor_lev(&self) -> BOR_LEV_R

Bits 8:10 - BOR reset Level

Source

pub fn n_rst_stop(&self) -> NRST_STOP_R

Bit 12 - nRST_STOP

Source

pub fn n_rst_stdby(&self) -> NRST_STDBY_R

Bit 13 - nRST_STDBY

Source

pub fn idwg_sw(&self) -> IDWG_SW_R

Bit 16 - Independent watchdog selection

Source

pub fn iwdg_stop(&self) -> IWDG_STOP_R

Bit 17 - Independent watchdog counter freeze in Stop mode

Source

pub fn iwdg_stdby(&self) -> IWDG_STDBY_R

Bit 18 - Independent watchdog counter freeze in Standby mode

Source

pub fn wwdg_sw(&self) -> WWDG_SW_R

Bit 19 - Window watchdog selection

Source

pub fn bfb2(&self) -> BFB2_R

Bit 20 - Dual-bank boot

Source

pub fn dualbank(&self) -> DUALBANK_R

Bit 21 - Dual-Bank on 512 KB or 256 KB Flash memory devices

Source

pub fn n_boot1(&self) -> NBOOT1_R

Bit 23 - Boot configuration

Source

pub fn sram2_pe(&self) -> SRAM2_PE_R

Bit 24 - SRAM2 parity check enable

Source

pub fn sram2_rst(&self) -> SRAM2_RST_R

Bit 25 - SRAM2 Erase when system reset

Source

pub fn n_swboot0(&self) -> NSWBOOT0_R

Bit 26 - Software BOOT0

Source

pub fn n_boot0(&self) -> NBOOT0_R

Bit 27 - nBOOT0 option bit