[][src]Struct atsamd21g18a::RTC

pub struct RTC { /* fields omitted */ }

Real-Time Counter

Methods

impl RTC[src]

pub 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

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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