Rtc

Struct Rtc 

Source
pub struct Rtc { /* private fields */ }

Implementations§

Source§

impl Rtc

Source

pub const fn r64cnt(&self) -> &'static Reg<R64Cnt_SPEC, R>

64-Hz Counter

Source

pub const fn bcnt( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt_SPEC, RW>, 4, 0x2>

Binary Counter %s

Source

pub const fn bcnt0(&self) -> &'static Reg<Bcnt_SPEC, RW>

Source

pub const fn bcnt1(&self) -> &'static Reg<Bcnt_SPEC, RW>

Source

pub const fn bcnt2(&self) -> &'static Reg<Bcnt_SPEC, RW>

Source

pub const fn bcnt3(&self) -> &'static Reg<Bcnt_SPEC, RW>

Source

pub const fn rseccnt(&self) -> &'static Reg<Rseccnt_SPEC, RW>

Second Counter (in Calendar Count Mode)

Source

pub const fn rmincnt(&self) -> &'static Reg<Rmincnt_SPEC, RW>

Minute Counter (in Calendar Count Mode)

Source

pub const fn rhrcnt(&self) -> &'static Reg<Rhrcnt_SPEC, RW>

Hour Counter (in Calendar Count Mode)

Source

pub const fn rwkcnt(&self) -> &'static Reg<Rwkcnt_SPEC, RW>

Day-of-Week Counter (in Calendar Count Mode)

Source

pub const fn rdaycnt(&self) -> &'static Reg<Rdaycnt_SPEC, RW>

Day Counter

Source

pub const fn rmoncnt(&self) -> &'static Reg<Rmoncnt_SPEC, RW>

Month Counter

Source

pub const fn ryrcnt(&self) -> &'static Reg<Ryrcnt_SPEC, RW>

Year Counter

Source

pub const fn bcntar( &self, ) -> &'static ClusterRegisterArray<Reg<Bcntar_SPEC, RW>, 4, 0x2>

Binary Counter %s Alarm Register

Source

pub const fn bcnt0ar(&self) -> &'static Reg<Bcntar_SPEC, RW>

Source

pub const fn bcnt1ar(&self) -> &'static Reg<Bcntar_SPEC, RW>

Source

pub const fn bcnt2ar(&self) -> &'static Reg<Bcntar_SPEC, RW>

Source

pub const fn bcnt3ar(&self) -> &'static Reg<Bcntar_SPEC, RW>

Source

pub const fn rsecar(&self) -> &'static Reg<Rsecar_SPEC, RW>

Second Alarm Register (in Calendar Count Mode)

Source

pub const fn rminar(&self) -> &'static Reg<Rminar_SPEC, RW>

Minute Alarm Register (in Calendar Count Mode)

Source

pub const fn rhrar(&self) -> &'static Reg<Rhrar_SPEC, RW>

Hour Alarm Register (in Calendar Count Mode)

Source

pub const fn rwkar(&self) -> &'static Reg<Rwkar_SPEC, RW>

Day-of-Week Alarm Register (in Calendar Count Mode)

Source

pub const fn bcntaer( &self, ) -> &'static ClusterRegisterArray<Reg<Bcntaer_SPEC, RW>, 2, 0x2>

Binary Counter %s Alarm Enable Register

Source

pub const fn bcnt0aer(&self) -> &'static Reg<Bcntaer_SPEC, RW>

Source

pub const fn bcnt1aer(&self) -> &'static Reg<Bcntaer_SPEC, RW>

Source

pub const fn rdayar(&self) -> &'static Reg<Rdayar_SPEC, RW>

Date Alarm Register (in Calendar Count Mode)

Source

pub const fn rmonar(&self) -> &'static Reg<Rmonar_SPEC, RW>

Month Alarm Register (in Calendar Count Mode)

Source

pub const fn bcnt2aer(&self) -> &'static Reg<Bcnt2Aer_SPEC, RW>

Binary Counter 2 Alarm Enable Register

Source

pub const fn ryrar(&self) -> &'static Reg<Ryrar_SPEC, RW>

Year Alarm Register (in Calendar Count Mode)

Source

pub const fn bcnt3aer(&self) -> &'static Reg<Bcnt3Aer_SPEC, RW>

Binary Counter 3 Alarm Enable Register

Source

pub const fn ryraren(&self) -> &'static Reg<Ryraren_SPEC, RW>

Year Alarm Enable Register (in Calendar Count Mode)

Source

pub const fn rcr1(&self) -> &'static Reg<Rcr1_SPEC, RW>

RTC Control Register 1

Source

pub const fn rcr2(&self) -> &'static Reg<Rcr2_SPEC, RW>

RTC Control Register 2 (in Calendar Count Mode)

Source

pub const fn rcr2_bcnt(&self) -> &'static Reg<Rcr2Bcnt_SPEC, RW>

RTC Control Register 2 (in Binary Count Mode)

Source

pub const fn rcr4(&self) -> &'static Reg<Rcr4_SPEC, RW>

RTC Control Register 4

Source

pub const fn rfrh(&self) -> &'static Reg<Rfrh_SPEC, RW>

Frequency Register H

Source

pub const fn rfrl(&self) -> &'static Reg<Rfrl_SPEC, RW>

Frequency Register L

Source

pub const fn radj(&self) -> &'static Reg<Radj_SPEC, RW>

Time Error Adjustment Register

Source

pub const fn rtccr( &self, ) -> &'static ClusterRegisterArray<Reg<Rtccr_SPEC, RW>, 3, 0x2>

Time Capture Control Register %s

Source

pub const fn rtccr0(&self) -> &'static Reg<Rtccr_SPEC, RW>

Source

pub const fn rtccr1(&self) -> &'static Reg<Rtccr_SPEC, RW>

Source

pub const fn rtccr2(&self) -> &'static Reg<Rtccr_SPEC, RW>

Source

pub const fn bcnt0cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt0Cp_SPEC, R>, 3, 0x10>

BCNT0 Capture Register %s

Source

pub const fn bcnt0cp0(&self) -> &'static Reg<Bcnt0Cp_SPEC, R>

Source

pub const fn bcnt0cp1(&self) -> &'static Reg<Bcnt0Cp_SPEC, R>

Source

pub const fn bcnt0cp2(&self) -> &'static Reg<Bcnt0Cp_SPEC, R>

Source

pub const fn rseccp( &self, ) -> &'static ClusterRegisterArray<Reg<Rseccp_SPEC, R>, 3, 0x10>

Second Capture Register %s

Source

pub const fn rseccp0(&self) -> &'static Reg<Rseccp_SPEC, R>

Source

pub const fn rseccp1(&self) -> &'static Reg<Rseccp_SPEC, R>

Source

pub const fn rseccp2(&self) -> &'static Reg<Rseccp_SPEC, R>

Source

pub const fn bcnt1cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt1Cp_SPEC, R>, 3, 0x10>

BCNT1 Capture Register %s

Source

pub const fn bcnt1cp0(&self) -> &'static Reg<Bcnt1Cp_SPEC, R>

Source

pub const fn bcnt1cp1(&self) -> &'static Reg<Bcnt1Cp_SPEC, R>

Source

pub const fn bcnt1cp2(&self) -> &'static Reg<Bcnt1Cp_SPEC, R>

Source

pub const fn rmincp( &self, ) -> &'static ClusterRegisterArray<Reg<Rmincp_SPEC, R>, 3, 0x10>

Minute Capture Register %s

Source

pub const fn rmincp0(&self) -> &'static Reg<Rmincp_SPEC, R>

Source

pub const fn rmincp1(&self) -> &'static Reg<Rmincp_SPEC, R>

Source

pub const fn rmincp2(&self) -> &'static Reg<Rmincp_SPEC, R>

Source

pub const fn bcnt2cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt2Cp_SPEC, R>, 3, 0x10>

BCNT2 Capture Register %s

Source

pub const fn bcnt2cp0(&self) -> &'static Reg<Bcnt2Cp_SPEC, R>

Source

pub const fn bcnt2cp1(&self) -> &'static Reg<Bcnt2Cp_SPEC, R>

Source

pub const fn bcnt2cp2(&self) -> &'static Reg<Bcnt2Cp_SPEC, R>

Source

pub const fn rhrcp( &self, ) -> &'static ClusterRegisterArray<Reg<Rhrcp_SPEC, R>, 3, 0x10>

Hour Capture Register %s

Source

pub const fn rhrcp0(&self) -> &'static Reg<Rhrcp_SPEC, R>

Source

pub const fn rhrcp1(&self) -> &'static Reg<Rhrcp_SPEC, R>

Source

pub const fn rhrcp2(&self) -> &'static Reg<Rhrcp_SPEC, R>

Source

pub const fn bcnt3cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt3Cp_SPEC, R>, 3, 0x10>

BCNT3 Capture Register %s

Source

pub const fn bcnt3cp0(&self) -> &'static Reg<Bcnt3Cp_SPEC, R>

Source

pub const fn bcnt3cp1(&self) -> &'static Reg<Bcnt3Cp_SPEC, R>

Source

pub const fn bcnt3cp2(&self) -> &'static Reg<Bcnt3Cp_SPEC, R>

Source

pub const fn rdaycp( &self, ) -> &'static ClusterRegisterArray<Reg<Rdaycp_SPEC, R>, 3, 0x10>

Date Capture Register %s

Source

pub const fn rdaycp0(&self) -> &'static Reg<Rdaycp_SPEC, R>

Source

pub const fn rdaycp1(&self) -> &'static Reg<Rdaycp_SPEC, R>

Source

pub const fn rdaycp2(&self) -> &'static Reg<Rdaycp_SPEC, R>

Source

pub const fn rmoncp( &self, ) -> &'static ClusterRegisterArray<Reg<Rmoncp_SPEC, R>, 3, 0x10>

Month Capture Register %s

Source

pub const fn rmoncp0(&self) -> &'static Reg<Rmoncp_SPEC, R>

Source

pub const fn rmoncp1(&self) -> &'static Reg<Rmoncp_SPEC, R>

Source

pub const fn rmoncp2(&self) -> &'static Reg<Rmoncp_SPEC, R>

Trait Implementations§

Source§

impl Clone for Rtc

Source§

fn clone(&self) -> Rtc

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Rtc

Source§

fn eq(&self, other: &Rtc) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Rtc

Source§

impl Eq for Rtc

Source§

impl Send for Rtc

Realtime Clock

Source§

impl StructuralPartialEq for Rtc

Source§

impl Sync for Rtc

Auto Trait Implementations§

§

impl Freeze for Rtc

§

impl RefUnwindSafe for Rtc

§

impl Unpin for Rtc

§

impl UnwindSafe for Rtc

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.