Struct stm32_metapac::rtc::regs::Or
#[repr(transparent)]pub struct Or(pub u32);
Expand description
Option register
Tuple Fields§
§0: u32
Implementations§
§impl Or
impl Or
pub const fn rtc_alarm_type(&self) -> bool
pub const fn rtc_alarm_type(&self) -> bool
RTC_ALARM on PC13 output type
pub fn set_rtc_alarm_type(&mut self, val: bool)
pub fn set_rtc_alarm_type(&mut self, val: bool)
RTC_ALARM on PC13 output type
pub const fn rtc_out_rmp(&self) -> bool
pub const fn rtc_out_rmp(&self) -> bool
RTC_OUT remap
pub fn set_rtc_out_rmp(&mut self, val: bool)
pub fn set_rtc_out_rmp(&mut self, val: bool)
RTC_OUT remap
Trait Implementations§
impl Copy for Or
impl Eq for Or
impl StructuralPartialEq for Or
Auto Trait Implementations§
impl Freeze for Or
impl RefUnwindSafe for Or
impl Send for Or
impl Sync for Or
impl Unpin for Or
impl UnwindSafe for Or
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)