Struct stm32_metapac::flash::regs::Obw1srp
#[repr(transparent)]pub struct Obw1srp(pub u32);
Expand description
FLASH option byte word 1 status register programming.
Tuple Fields§
§0: u32
Implementations§
§impl Obw1srp
impl Obw1srp
pub const fn bor_lev(&self) -> u8
pub const fn bor_lev(&self) -> u8
Brownout level Write to change corresponding bits in FLASH_OBW1SR register.
pub fn set_bor_lev(&mut self, val: u8)
pub fn set_bor_lev(&mut self, val: u8)
Brownout level Write to change corresponding bits in FLASH_OBW1SR register.
pub const fn iwdg_hw(&self) -> bool
pub const fn iwdg_hw(&self) -> bool
Independent watchdog HW Control Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_iwdg_hw(&mut self, val: bool)
pub fn set_iwdg_hw(&mut self, val: bool)
Independent watchdog HW Control Write to change corresponding bit in FLASH_OBW1SR register.
pub const fn nrst_stop(&self) -> bool
pub const fn nrst_stop(&self) -> bool
Reset on stop mode programming Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_nrst_stop(&mut self, val: bool)
pub fn set_nrst_stop(&mut self, val: bool)
Reset on stop mode programming Write to change corresponding bit in FLASH_OBW1SR register.
pub const fn nrst_stby(&self) -> bool
pub const fn nrst_stby(&self) -> bool
Reset on standby mode programming Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_nrst_stby(&mut self, val: bool)
pub fn set_nrst_stby(&mut self, val: bool)
Reset on standby mode programming Write to change corresponding bit in FLASH_OBW1SR register.
pub const fn octo1_hslv(&self) -> bool
pub const fn octo1_hslv(&self) -> bool
XSPIM_P1 High-Speed at Low-Voltage Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_octo1_hslv(&mut self, val: bool)
pub fn set_octo1_hslv(&mut self, val: bool)
XSPIM_P1 High-Speed at Low-Voltage Write to change corresponding bit in FLASH_OBW1SR register.
pub const fn octo2_hslv(&self) -> bool
pub const fn octo2_hslv(&self) -> bool
XSPIM_P2 High-Speed at Low-Voltage programming Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_octo2_hslv(&mut self, val: bool)
pub fn set_octo2_hslv(&mut self, val: bool)
XSPIM_P2 High-Speed at Low-Voltage programming Write to change corresponding bit in FLASH_OBW1SR register.
pub const fn iwdg_fz_stop(&self) -> bool
pub const fn iwdg_fz_stop(&self) -> bool
IWDG stop mode freeze Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_iwdg_fz_stop(&mut self, val: bool)
pub fn set_iwdg_fz_stop(&mut self, val: bool)
IWDG stop mode freeze Write to change corresponding bit in FLASH_OBW1SR register.
pub const fn iwdg_fz_sdby(&self) -> bool
pub const fn iwdg_fz_sdby(&self) -> bool
IWDG standby mode freeze programming Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_iwdg_fz_sdby(&mut self, val: bool)
pub fn set_iwdg_fz_sdby(&mut self, val: bool)
IWDG standby mode freeze programming Write to change corresponding bit in FLASH_OBW1SR register.
pub const fn vddio_hslv(&self) -> bool
pub const fn vddio_hslv(&self) -> bool
I/O High-Speed at Low-Voltage programming Write to change corresponding bit in FLASH_OBW1SR register.
pub fn set_vddio_hslv(&mut self, val: bool)
pub fn set_vddio_hslv(&mut self, val: bool)
I/O High-Speed at Low-Voltage programming Write to change corresponding bit in FLASH_OBW1SR register.
Trait Implementations§
impl Copy for Obw1srp
impl Eq for Obw1srp
impl StructuralPartialEq for Obw1srp
Auto Trait Implementations§
impl Freeze for Obw1srp
impl RefUnwindSafe for Obw1srp
impl Send for Obw1srp
impl Sync for Obw1srp
impl Unpin for Obw1srp
impl UnwindSafe for Obw1srp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)