Struct rp2040_pac2::rtc::Rtc [−][src]
Register block to control RTC
Implementations
impl Rtc[src]
pub fn clkdiv_m1(self) -> Reg<ClkdivM1, RW>[src]
Divider minus 1 for the 1 second counter. Safe to change the value when RTC is not enabled.
pub fn setup_0(self) -> Reg<Setup0, RW>[src]
RTC setup register 0
pub fn setup_1(self) -> Reg<Setup1, RW>[src]
RTC setup register 1
pub fn ctrl(self) -> Reg<Ctrl, RW>[src]
RTC Control and status
pub fn irq_setup_0(self) -> Reg<IrqSetup0, RW>[src]
Interrupt setup register 0
pub fn irq_setup_1(self) -> Reg<IrqSetup1, RW>[src]
Interrupt setup register 1
pub fn rtc_1(self) -> Reg<Rtc1, RW>[src]
RTC register 1.
pub fn rtc_0(self) -> Reg<Rtc0, RW>[src]
RTC register 0 Read this before RTC 1!
pub fn intr(self) -> Reg<Int, RW>[src]
Raw Interrupts
pub fn inte(self) -> Reg<Int, RW>[src]
Interrupt Enable
pub fn intf(self) -> Reg<Int, RW>[src]
Interrupt Force
pub fn ints(self) -> Reg<Int, RW>[src]
Interrupt status after masking & forcing
Trait Implementations
impl Clone for Rtc[src]
fn clone(&self) -> Rtc[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for Rtc[src]
impl Send for Rtc[src]
impl Sync for Rtc[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,