pub struct Rtc { /* private fields */ }Expand description
This is the set of registers that are automatically counted by hardware every 1 second while the block is enabled.
Implementations§
Source§impl Rtc
impl Rtc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn day_of_mon(self) -> Reg<u8, RW>
pub const fn day_of_mon(self) -> Reg<u8, RW>
Day of Month Register
Sourcepub const fn wk_alarm(self) -> Reg<u32, RW>
pub const fn wk_alarm(self) -> Reg<u32, RW>
Week Alarm Register[7:0] - ALARM_DAY_OF_WEEK This register, if written to a value in the range 1- -7, will inhibit the Alarm interrupt unless this field matches the contents of the Day of Week Register also.
Sourcepub const fn daylt_savf(self) -> Reg<DayltSavf, RW>
pub const fn daylt_savf(self) -> Reg<DayltSavf, RW>
Daylight Savings Forward Register
Sourcepub const fn daylt_savb(self) -> Reg<DayltSavb, RW>
pub const fn daylt_savb(self) -> Reg<DayltSavb, RW>
Daylight Savings Backward Register
Trait Implementations§
impl Copy for Rtc
impl Eq for Rtc
impl Send for Rtc
impl StructuralPartialEq for Rtc
impl Sync for Rtc
Auto Trait Implementations§
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