#[repr(C)]
pub struct MODE2 {
Show 19 fields pub ctrla: Reg<CTRLA_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub evctrl: Reg<EVCTRL_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub dbgctrl: Reg<DBGCTRL_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub freqcorr: Reg<FREQCORR_SPEC>, pub clock: Reg<CLOCK_SPEC>, pub alarm0: Reg<ALARM0_SPEC>, pub mask0: Reg<MASK0_SPEC>, pub alarm1: Reg<ALARM1_SPEC>, pub mask1: Reg<MASK1_SPEC>, pub gp: [Reg<GP_SPEC>; 4], pub tampctrl: Reg<TAMPCTRL_SPEC>, pub timestamp: Reg<TIMESTAMP_SPEC>, pub tampid: Reg<TAMPID_SPEC>, pub bkup: [Reg<BKUP_SPEC>; 8], /* private fields */
}
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - MODE2 Control A

ctrlb: Reg<CTRLB_SPEC>

0x02 - MODE2 Control B

evctrl: Reg<EVCTRL_SPEC>

0x04 - MODE2 Event Control

intenclr: Reg<INTENCLR_SPEC>

0x08 - MODE2 Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x0a - MODE2 Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x0c - MODE2 Interrupt Flag Status and Clear

dbgctrl: Reg<DBGCTRL_SPEC>

0x0e - Debug Control

syncbusy: Reg<SYNCBUSY_SPEC>

0x10 - MODE2 Synchronization Busy Status

freqcorr: Reg<FREQCORR_SPEC>

0x14 - Frequency Correction

clock: Reg<CLOCK_SPEC>

0x18 - MODE2 Clock Value

alarm0: Reg<ALARM0_SPEC>

0x20 - MODE2_ALARM Alarm n Value

mask0: Reg<MASK0_SPEC>

0x24 - MODE2_ALARM Alarm n Mask

alarm1: Reg<ALARM1_SPEC>

0x28 - MODE2_ALARM Alarm n Value

mask1: Reg<MASK1_SPEC>

0x2c - MODE2_ALARM Alarm n Mask

gp: [Reg<GP_SPEC>; 4]

0x40..0x50 - General Purpose

tampctrl: Reg<TAMPCTRL_SPEC>

0x60 - Tamper Control

timestamp: Reg<TIMESTAMP_SPEC>

0x64 - MODE2 Timestamp

tampid: Reg<TAMPID_SPEC>

0x68 - Tamper ID

bkup: [Reg<BKUP_SPEC>; 8]

0x80..0xa0 - Backup

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.