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 output type on PC13
pub fn set_rtc_alarm_type(&mut self, val: bool)
pub fn set_rtc_alarm_type(&mut self, val: bool)
RTC_ALARM output type on PC13
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 StructuralEq for Or
impl StructuralPartialEq for Or
Auto Trait Implementations§
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