[−][src]Struct stm32g0::stm32g0x0::flash::optr::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn rdp(&mut self) -> _RDPW
[src]
Bits 0:7 - Read protection level
pub fn boren(&mut self) -> _BORENW
[src]
Bit 8 - BOR reset Level
pub fn borf_lev(&mut self) -> _BORF_LEVW
[src]
Bits 9:10 - These bits contain the VDD supply level threshold that activates the reset
pub fn borr_lev(&mut self) -> _BORR_LEVW
[src]
Bits 11:12 - These bits contain the VDD supply level threshold that releases the reset.
pub fn n_rst_stop(&mut self) -> _NRST_STOPW
[src]
Bit 13 - nRST_STOP
pub fn n_rst_stdby(&mut self) -> _NRST_STDBYW
[src]
Bit 14 - nRST_STDBY
pub fn n_rsts_hdw(&mut self) -> _NRSTS_HDWW
[src]
Bit 15 - nRSTS_HDW
pub fn idwg_sw(&mut self) -> _IDWG_SWW
[src]
Bit 16 - Independent watchdog selection
pub fn iwdg_stop(&mut self) -> _IWDG_STOPW
[src]
Bit 17 - Independent watchdog counter freeze in Stop mode
pub fn iwdg_stdby(&mut self) -> _IWDG_STDBYW
[src]
Bit 18 - Independent watchdog counter freeze in Standby mode
pub fn wwdg_sw(&mut self) -> _WWDG_SWW
[src]
Bit 19 - Window watchdog selection
pub fn ram_parity_check(&mut self) -> _RAM_PARITY_CHECKW
[src]
Bit 22 - SRAM parity check control
pub fn n_boot_sel(&mut self) -> _NBOOT_SELW
[src]
Bit 24 - nBOOT_SEL
pub fn n_boot1(&mut self) -> _NBOOT1W
[src]
Bit 25 - Boot configuration
pub fn n_boot0(&mut self) -> _NBOOT0W
[src]
Bit 26 - nBOOT0 option bit
pub fn nrst_mode(&mut self) -> _NRST_MODEW
[src]
Bits 27:28 - NRST_MODE
pub fn irhen(&mut self) -> _IRHENW
[src]
Bit 29 - Internal reset holder enable bit
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self