pub struct Rtc { /* private fields */ }Implementations§
Source§impl Rtc
impl Rtc
Sourcepub const fn bcnt(
&self,
) -> &'static ClusterRegisterArray<Reg<Bcnt_SPEC, RW>, 4, 0x2>
pub const fn bcnt( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt_SPEC, RW>, 4, 0x2>
Binary Counter %s
pub const fn bcnt0(&self) -> &'static Reg<Bcnt_SPEC, RW>
pub const fn bcnt1(&self) -> &'static Reg<Bcnt_SPEC, RW>
pub const fn bcnt2(&self) -> &'static Reg<Bcnt_SPEC, RW>
pub const fn bcnt3(&self) -> &'static Reg<Bcnt_SPEC, RW>
Sourcepub const fn rseccnt(&self) -> &'static Reg<Rseccnt_SPEC, RW>
pub const fn rseccnt(&self) -> &'static Reg<Rseccnt_SPEC, RW>
Second Counter (in Calendar Count Mode)
Sourcepub const fn rmincnt(&self) -> &'static Reg<Rmincnt_SPEC, RW>
pub const fn rmincnt(&self) -> &'static Reg<Rmincnt_SPEC, RW>
Minute Counter (in Calendar Count Mode)
Sourcepub const fn rhrcnt(&self) -> &'static Reg<Rhrcnt_SPEC, RW>
pub const fn rhrcnt(&self) -> &'static Reg<Rhrcnt_SPEC, RW>
Hour Counter (in Calendar Count Mode)
Sourcepub const fn rwkcnt(&self) -> &'static Reg<Rwkcnt_SPEC, RW>
pub const fn rwkcnt(&self) -> &'static Reg<Rwkcnt_SPEC, RW>
Day-of-Week Counter (in Calendar Count Mode)
Sourcepub const fn bcntar(
&self,
) -> &'static ClusterRegisterArray<Reg<Bcntar_SPEC, RW>, 4, 0x2>
pub const fn bcntar( &self, ) -> &'static ClusterRegisterArray<Reg<Bcntar_SPEC, RW>, 4, 0x2>
Binary Counter %s Alarm Register
pub const fn bcnt0ar(&self) -> &'static Reg<Bcntar_SPEC, RW>
pub const fn bcnt1ar(&self) -> &'static Reg<Bcntar_SPEC, RW>
pub const fn bcnt2ar(&self) -> &'static Reg<Bcntar_SPEC, RW>
pub const fn bcnt3ar(&self) -> &'static Reg<Bcntar_SPEC, RW>
Sourcepub const fn rsecar(&self) -> &'static Reg<Rsecar_SPEC, RW>
pub const fn rsecar(&self) -> &'static Reg<Rsecar_SPEC, RW>
Second Alarm Register (in Calendar Count Mode)
Sourcepub const fn rminar(&self) -> &'static Reg<Rminar_SPEC, RW>
pub const fn rminar(&self) -> &'static Reg<Rminar_SPEC, RW>
Minute Alarm Register (in Calendar Count Mode)
Sourcepub const fn rhrar(&self) -> &'static Reg<Rhrar_SPEC, RW>
pub const fn rhrar(&self) -> &'static Reg<Rhrar_SPEC, RW>
Hour Alarm Register (in Calendar Count Mode)
Sourcepub const fn rwkar(&self) -> &'static Reg<Rwkar_SPEC, RW>
pub const fn rwkar(&self) -> &'static Reg<Rwkar_SPEC, RW>
Day-of-Week Alarm Register (in Calendar Count Mode)
Sourcepub const fn bcntaer(
&self,
) -> &'static ClusterRegisterArray<Reg<Bcntaer_SPEC, RW>, 2, 0x2>
pub const fn bcntaer( &self, ) -> &'static ClusterRegisterArray<Reg<Bcntaer_SPEC, RW>, 2, 0x2>
Binary Counter %s Alarm Enable Register
pub const fn bcnt0aer(&self) -> &'static Reg<Bcntaer_SPEC, RW>
pub const fn bcnt1aer(&self) -> &'static Reg<Bcntaer_SPEC, RW>
Sourcepub const fn rdayar(&self) -> &'static Reg<Rdayar_SPEC, RW>
pub const fn rdayar(&self) -> &'static Reg<Rdayar_SPEC, RW>
Date Alarm Register (in Calendar Count Mode)
Sourcepub const fn rmonar(&self) -> &'static Reg<Rmonar_SPEC, RW>
pub const fn rmonar(&self) -> &'static Reg<Rmonar_SPEC, RW>
Month Alarm Register (in Calendar Count Mode)
Sourcepub const fn bcnt2aer(&self) -> &'static Reg<Bcnt2Aer_SPEC, RW>
pub const fn bcnt2aer(&self) -> &'static Reg<Bcnt2Aer_SPEC, RW>
Binary Counter 2 Alarm Enable Register
Sourcepub const fn ryrar(&self) -> &'static Reg<Ryrar_SPEC, RW>
pub const fn ryrar(&self) -> &'static Reg<Ryrar_SPEC, RW>
Year Alarm Register (in Calendar Count Mode)
Sourcepub const fn bcnt3aer(&self) -> &'static Reg<Bcnt3Aer_SPEC, RW>
pub const fn bcnt3aer(&self) -> &'static Reg<Bcnt3Aer_SPEC, RW>
Binary Counter 3 Alarm Enable Register
Sourcepub const fn ryraren(&self) -> &'static Reg<Ryraren_SPEC, RW>
pub const fn ryraren(&self) -> &'static Reg<Ryraren_SPEC, RW>
Year Alarm Enable Register (in Calendar Count Mode)
Sourcepub const fn rcr2(&self) -> &'static Reg<Rcr2_SPEC, RW>
pub const fn rcr2(&self) -> &'static Reg<Rcr2_SPEC, RW>
RTC Control Register 2 (in Calendar Count Mode)
Sourcepub const fn rcr2_bcnt(&self) -> &'static Reg<Rcr2Bcnt_SPEC, RW>
pub const fn rcr2_bcnt(&self) -> &'static Reg<Rcr2Bcnt_SPEC, RW>
RTC Control Register 2 (in Binary Count Mode)
Sourcepub const fn rtccr(
&self,
) -> &'static ClusterRegisterArray<Reg<Rtccr_SPEC, RW>, 3, 0x2>
pub const fn rtccr( &self, ) -> &'static ClusterRegisterArray<Reg<Rtccr_SPEC, RW>, 3, 0x2>
Time Capture Control Register %s
pub const fn rtccr0(&self) -> &'static Reg<Rtccr_SPEC, RW>
pub const fn rtccr1(&self) -> &'static Reg<Rtccr_SPEC, RW>
pub const fn rtccr2(&self) -> &'static Reg<Rtccr_SPEC, RW>
Sourcepub const fn bcnt0cp(
&self,
) -> &'static ClusterRegisterArray<Reg<Bcnt0Cp_SPEC, R>, 3, 0x10>
pub const fn bcnt0cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt0Cp_SPEC, R>, 3, 0x10>
BCNT0 Capture Register %s
pub const fn bcnt0cp0(&self) -> &'static Reg<Bcnt0Cp_SPEC, R>
pub const fn bcnt0cp1(&self) -> &'static Reg<Bcnt0Cp_SPEC, R>
pub const fn bcnt0cp2(&self) -> &'static Reg<Bcnt0Cp_SPEC, R>
Sourcepub const fn rseccp(
&self,
) -> &'static ClusterRegisterArray<Reg<Rseccp_SPEC, R>, 3, 0x10>
pub const fn rseccp( &self, ) -> &'static ClusterRegisterArray<Reg<Rseccp_SPEC, R>, 3, 0x10>
Second Capture Register %s
pub const fn rseccp0(&self) -> &'static Reg<Rseccp_SPEC, R>
pub const fn rseccp1(&self) -> &'static Reg<Rseccp_SPEC, R>
pub const fn rseccp2(&self) -> &'static Reg<Rseccp_SPEC, R>
Sourcepub const fn bcnt1cp(
&self,
) -> &'static ClusterRegisterArray<Reg<Bcnt1Cp_SPEC, R>, 3, 0x10>
pub const fn bcnt1cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt1Cp_SPEC, R>, 3, 0x10>
BCNT1 Capture Register %s
pub const fn bcnt1cp0(&self) -> &'static Reg<Bcnt1Cp_SPEC, R>
pub const fn bcnt1cp1(&self) -> &'static Reg<Bcnt1Cp_SPEC, R>
pub const fn bcnt1cp2(&self) -> &'static Reg<Bcnt1Cp_SPEC, R>
Sourcepub const fn rmincp(
&self,
) -> &'static ClusterRegisterArray<Reg<Rmincp_SPEC, R>, 3, 0x10>
pub const fn rmincp( &self, ) -> &'static ClusterRegisterArray<Reg<Rmincp_SPEC, R>, 3, 0x10>
Minute Capture Register %s
pub const fn rmincp0(&self) -> &'static Reg<Rmincp_SPEC, R>
pub const fn rmincp1(&self) -> &'static Reg<Rmincp_SPEC, R>
pub const fn rmincp2(&self) -> &'static Reg<Rmincp_SPEC, R>
Sourcepub const fn bcnt2cp(
&self,
) -> &'static ClusterRegisterArray<Reg<Bcnt2Cp_SPEC, R>, 3, 0x10>
pub const fn bcnt2cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt2Cp_SPEC, R>, 3, 0x10>
BCNT2 Capture Register %s
pub const fn bcnt2cp0(&self) -> &'static Reg<Bcnt2Cp_SPEC, R>
pub const fn bcnt2cp1(&self) -> &'static Reg<Bcnt2Cp_SPEC, R>
pub const fn bcnt2cp2(&self) -> &'static Reg<Bcnt2Cp_SPEC, R>
Sourcepub const fn rhrcp(
&self,
) -> &'static ClusterRegisterArray<Reg<Rhrcp_SPEC, R>, 3, 0x10>
pub const fn rhrcp( &self, ) -> &'static ClusterRegisterArray<Reg<Rhrcp_SPEC, R>, 3, 0x10>
Hour Capture Register %s
pub const fn rhrcp0(&self) -> &'static Reg<Rhrcp_SPEC, R>
pub const fn rhrcp1(&self) -> &'static Reg<Rhrcp_SPEC, R>
pub const fn rhrcp2(&self) -> &'static Reg<Rhrcp_SPEC, R>
Sourcepub const fn bcnt3cp(
&self,
) -> &'static ClusterRegisterArray<Reg<Bcnt3Cp_SPEC, R>, 3, 0x10>
pub const fn bcnt3cp( &self, ) -> &'static ClusterRegisterArray<Reg<Bcnt3Cp_SPEC, R>, 3, 0x10>
BCNT3 Capture Register %s
pub const fn bcnt3cp0(&self) -> &'static Reg<Bcnt3Cp_SPEC, R>
pub const fn bcnt3cp1(&self) -> &'static Reg<Bcnt3Cp_SPEC, R>
pub const fn bcnt3cp2(&self) -> &'static Reg<Bcnt3Cp_SPEC, R>
Sourcepub const fn rdaycp(
&self,
) -> &'static ClusterRegisterArray<Reg<Rdaycp_SPEC, R>, 3, 0x10>
pub const fn rdaycp( &self, ) -> &'static ClusterRegisterArray<Reg<Rdaycp_SPEC, R>, 3, 0x10>
Date Capture Register %s
pub const fn rdaycp0(&self) -> &'static Reg<Rdaycp_SPEC, R>
pub const fn rdaycp1(&self) -> &'static Reg<Rdaycp_SPEC, R>
pub const fn rdaycp2(&self) -> &'static Reg<Rdaycp_SPEC, R>
Sourcepub const fn rmoncp(
&self,
) -> &'static ClusterRegisterArray<Reg<Rmoncp_SPEC, R>, 3, 0x10>
pub const fn rmoncp( &self, ) -> &'static ClusterRegisterArray<Reg<Rmoncp_SPEC, R>, 3, 0x10>
Month Capture Register %s
pub const fn rmoncp0(&self) -> &'static Reg<Rmoncp_SPEC, R>
pub const fn rmoncp1(&self) -> &'static Reg<Rmoncp_SPEC, R>
pub const fn rmoncp2(&self) -> &'static Reg<Rmoncp_SPEC, R>
Trait Implementations§
impl Copy for Rtc
impl Eq for Rtc
impl Send for Rtc
Realtime Clock