[]Struct sodaq_one::rtc::MODE2

#[repr(C)]
pub struct MODE2 {
    pub ctrl: CTRL,
    pub readreq: READREQ,
    pub evctrl: EVCTRL,
    pub intenclr: INTENCLR,
    pub intenset: INTENSET,
    pub intflag: INTFLAG,
    pub status: STATUS,
    pub dbgctrl: DBGCTRL,
    pub freqcorr: FREQCORR,
    pub clock: CLOCK,
    pub alarm0: ALARM,
    pub mask0: MASK,
    // some fields omitted
}

Register block

Fields

ctrl: CTRL

0x00 - MODE2 Control

readreq: READREQ

0x02 - Read Request

evctrl: EVCTRL

0x04 - MODE2 Event Control

intenclr: INTENCLR

0x06 - MODE2 Interrupt Enable Clear

intenset: INTENSET

0x07 - MODE2 Interrupt Enable Set

intflag: INTFLAG

0x08 - MODE2 Interrupt Flag Status and Clear

status: STATUS

0x0a - Status

dbgctrl: DBGCTRL

0x0b - Debug Control

freqcorr: FREQCORR

0x0c - Frequency Correction

clock: CLOCK

0x10 - MODE2 Clock Value

alarm0: ALARM

0x18 - MODE2 Alarm n Value

mask0: MASK

0x1c - MODE2 Alarm n Mask

Auto Trait Implementations

impl Unpin for MODE2

impl Send for MODE2

impl !Sync for MODE2

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self