#[repr(C)]pub struct MODE0 {Show 16 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 count: Reg<COUNT_SPEC>,
pub comp: [Reg<COMP_SPEC>; 2],
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 - MODE0 Control A
ctrlb: Reg<CTRLB_SPEC>
0x02 - MODE0 Control B
evctrl: Reg<EVCTRL_SPEC>
0x04 - MODE0 Event Control
intenclr: Reg<INTENCLR_SPEC>
0x08 - MODE0 Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x0a - MODE0 Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x0c - MODE0 Interrupt Flag Status and Clear
dbgctrl: Reg<DBGCTRL_SPEC>
0x0e - Debug Control
syncbusy: Reg<SYNCBUSY_SPEC>
0x10 - MODE0 Synchronization Busy Status
freqcorr: Reg<FREQCORR_SPEC>
0x14 - Frequency Correction
count: Reg<COUNT_SPEC>
0x18 - MODE0 Counter Value
comp: [Reg<COMP_SPEC>; 2]
0x20..0x28 - MODE0 Compare n Value
gp: [Reg<GP_SPEC>; 4]
0x40..0x50 - General Purpose
tampctrl: Reg<TAMPCTRL_SPEC>
0x60 - Tamper Control
timestamp: Reg<TIMESTAMP_SPEC>
0x64 - MODE0 Timestamp
tampid: Reg<TAMPID_SPEC>
0x68 - Tamper ID
bkup: [Reg<BKUP_SPEC>; 8]
0x80..0xa0 - Backup
Auto Trait Implementations
impl !RefUnwindSafe for MODE0
impl Send for MODE0
impl !Sync for MODE0
impl Unpin for MODE0
impl UnwindSafe for MODE0
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more