#[repr(C)]pub struct MODE2 {
pub ctrl: Reg<CTRL_SPEC>,
pub readreq: Reg<READREQ_SPEC>,
pub evctrl: Reg<EVCTRL_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
pub freqcorr: Reg<FREQCORR_SPEC>,
pub clock: Reg<CLOCK_SPEC>,
pub alarm0: Reg<ALARM_SPEC>,
pub mask0: Reg<MASK_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
ctrl: Reg<CTRL_SPEC>
0x00 - MODE2 Control
readreq: Reg<READREQ_SPEC>
0x02 - Read Request
evctrl: Reg<EVCTRL_SPEC>
0x04 - MODE2 Event Control
intenclr: Reg<INTENCLR_SPEC>
0x06 - MODE2 Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x07 - MODE2 Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x08 - MODE2 Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>
0x0a - Status
dbgctrl: Reg<DBGCTRL_SPEC>
0x0b - Debug Control
freqcorr: Reg<FREQCORR_SPEC>
0x0c - Frequency Correction
clock: Reg<CLOCK_SPEC>
0x10 - MODE2 Clock Value
alarm0: Reg<ALARM_SPEC>
0x18 - MODE2 Alarm n Value
mask0: Reg<MASK_SPEC>
0x1c - MODE2 Alarm n Mask
Auto Trait Implementations
impl !RefUnwindSafe for MODE2
impl Send for MODE2
impl !Sync for MODE2
impl Unpin for MODE2
impl UnwindSafe for MODE2
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