Struct stm32_metapac::pwr::regs::Ioretr
#[repr(transparent)]pub struct Ioretr(pub u32);
Expand description
PWR I/O retention register.
Tuple Fields§
§0: u32
Implementations§
§impl Ioretr
impl Ioretr
pub const fn ioreten(&self) -> bool
pub const fn ioreten(&self) -> bool
IO retention enable: When entering into standby mode, the output is sampled, and apply to the output IO during the standby power mode. Note: the IO state is not retained if the DBG_STANDBY bit is set in DBGMCU_CR register.
pub fn set_ioreten(&mut self, val: bool)
pub fn set_ioreten(&mut self, val: bool)
IO retention enable: When entering into standby mode, the output is sampled, and apply to the output IO during the standby power mode. Note: the IO state is not retained if the DBG_STANDBY bit is set in DBGMCU_CR register.
pub const fn jtagioreten(&self) -> bool
pub const fn jtagioreten(&self) -> bool
IO retention enable for JTAG IOs when entering into standby mode, the output is sampled, and apply to the output IO during the standby power mode.
pub fn set_jtagioreten(&mut self, val: bool)
pub fn set_jtagioreten(&mut self, val: bool)
IO retention enable for JTAG IOs when entering into standby mode, the output is sampled, and apply to the output IO during the standby power mode.