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.