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.
Trait Implementations§
impl Copy for Ioretr
impl Eq for Ioretr
impl StructuralPartialEq for Ioretr
Auto Trait Implementations§
impl Freeze for Ioretr
impl RefUnwindSafe for Ioretr
impl Send for Ioretr
impl Sync for Ioretr
impl Unpin for Ioretr
impl UnwindSafe for Ioretr
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
)