Struct stm32_hal2::pac::flash::optsr_prg_::R
source · pub struct R(/* private fields */);
Expand description
Register OPTSR_PRG_
reader
Implementations§
source§impl R
impl R
sourcepub fn bor_lev(&self) -> FieldReaderRaw<u8, u8>
pub fn bor_lev(&self) -> FieldReaderRaw<u8, u8>
Bits 2:3 - BOR reset level option configuration bits
sourcepub fn n_rst_stop_d1(&self) -> BitReaderRaw<bool>
pub fn n_rst_stop_d1(&self) -> BitReaderRaw<bool>
Bit 6 - Option byte erase after D1 DStop option configuration bit
sourcepub fn n_rst_stby_d1(&self) -> BitReaderRaw<bool>
pub fn n_rst_stby_d1(&self) -> BitReaderRaw<bool>
Bit 7 - Option byte erase after D1 DStandby option configuration bit
sourcepub fn rdp(&self) -> FieldReaderRaw<u8, u8>
pub fn rdp(&self) -> FieldReaderRaw<u8, u8>
Bits 8:15 - Readout protection level option configuration byte
sourcepub fn fz_iwdg_stop(&self) -> BitReaderRaw<bool>
pub fn fz_iwdg_stop(&self) -> BitReaderRaw<bool>
Bit 17 - IWDG Stop mode freeze option configuration bit
sourcepub fn fz_iwdg_sdby(&self) -> BitReaderRaw<bool>
pub fn fz_iwdg_sdby(&self) -> BitReaderRaw<bool>
Bit 18 - IWDG Standby mode freeze option configuration bit
sourcepub fn st_ram_size(&self) -> FieldReaderRaw<u8, u8>
pub fn st_ram_size(&self) -> FieldReaderRaw<u8, u8>
Bits 19:20 - DTCM size select option configuration bits
sourcepub fn io_hslv(&self) -> BitReaderRaw<bool>
pub fn io_hslv(&self) -> BitReaderRaw<bool>
Bit 29 - I/O high-speed at low-voltage (PRODUCT_BELOW_25V)
sourcepub fn swap_bank_opt(&self) -> BitReaderRaw<bool>
pub fn swap_bank_opt(&self) -> BitReaderRaw<bool>
Bit 31 - Bank swapping option configuration bit
Methods from Deref<Target = R<OPTSR_PRG__SPEC>>§
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more