Struct atsame54n19a_pac::RTC[][src]

pub struct RTC { /* fields omitted */ }

Real-Time Counter

Implementations

impl RTC[src]

pub const fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn mode2(&self) -> &MODE2[src]

0x00 - Clock/Calendar with Alarm

pub fn mode2_mut(&self) -> &mut MODE2[src]

0x00 - Clock/Calendar with Alarm

pub fn mode1(&self) -> &MODE1[src]

0x00 - 16-bit Counter with Two 16-bit Compares

pub fn mode1_mut(&self) -> &mut MODE1[src]

0x00 - 16-bit Counter with Two 16-bit Compares

pub fn mode0(&self) -> &MODE0[src]

0x00 - 32-bit Counter with Single 32-bit Compare

pub fn mode0_mut(&self) -> &mut MODE0[src]

0x00 - 32-bit Counter with Single 32-bit Compare

Trait Implementations

impl Deref for RTC[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for RTC[src]

Auto Trait Implementations

impl !Sync for RTC

impl Unpin for RTC

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.