#[repr(C)]pub struct MODE1 {Show 17 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 per: Reg<PER_SPEC>,
pub comp: [Reg<COMP_SPEC>; 4],
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 - MODE1 Control A
ctrlb: Reg<CTRLB_SPEC>
0x02 - MODE1 Control B
evctrl: Reg<EVCTRL_SPEC>
0x04 - MODE1 Event Control
intenclr: Reg<INTENCLR_SPEC>
0x08 - MODE1 Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x0a - MODE1 Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x0c - MODE1 Interrupt Flag Status and Clear
dbgctrl: Reg<DBGCTRL_SPEC>
0x0e - Debug Control
syncbusy: Reg<SYNCBUSY_SPEC>
0x10 - MODE1 Synchronization Busy Status
freqcorr: Reg<FREQCORR_SPEC>
0x14 - Frequency Correction
count: Reg<COUNT_SPEC>
0x18 - MODE1 Counter Value
per: Reg<PER_SPEC>
0x1c - MODE1 Counter Period
comp: [Reg<COMP_SPEC>; 4]
0x20..0x28 - MODE1 Compare n Value
gp: [Reg<GP_SPEC>; 4]
0x40..0x50 - General Purpose
tampctrl: Reg<TAMPCTRL_SPEC>
0x60 - Tamper Control
timestamp: Reg<TIMESTAMP_SPEC>
0x64 - MODE1 Timestamp
tampid: Reg<TAMPID_SPEC>
0x68 - Tamper ID
bkup: [Reg<BKUP_SPEC>; 8]
0x80..0xa0 - Backup
Auto Trait Implementations
impl !RefUnwindSafe for MODE1
impl Send for MODE1
impl !Sync for MODE1
impl Unpin for MODE1
impl UnwindSafe for MODE1
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