Struct atsaml21e16b::rtc::mode2::MODE2

source ·
#[repr(C)]
pub struct MODE2 { pub ctrla: CTRLA, pub evctrl: EVCTRL, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub dbgctrl: DBGCTRL, pub syncbusy: SYNCBUSY, pub freqcorr: FREQCORR, pub clock: CLOCK, pub alarm: [ALARM; 1], pub mask: [MASK; 1], pub gp: [GP; 4], /* private fields */ }
Expand description

Register block

Fields§

§ctrla: CTRLA

0x00 - MODE2 Control A

§evctrl: EVCTRL

0x04 - MODE2 Event Control

§intenclr: INTENCLR

0x08 - MODE2 Interrupt Enable Clear

§intenset: INTENSET

0x0a - MODE2 Interrupt Enable Set

§intflag: INTFLAG

0x0c - MODE2 Interrupt Flag Status and Clear

§dbgctrl: DBGCTRL

0x0e - Debug Control

§syncbusy: SYNCBUSY

0x10 - MODE2 Synchronization Busy Status

§freqcorr: FREQCORR

0x14 - Frequency Correction

§clock: CLOCK

0x18 - MODE2 Clock Value

§alarm: [ALARM; 1]

0x20 - MODE2 Alarm n Value

§mask: [MASK; 1]

0x24 - MODE2 Alarm n Mask

§gp: [GP; 4]

0x40..0x50 - General Purpose

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.