#[repr(C)]
pub struct MODE1 { 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 count: Reg<COUNT_SPEC>, pub per: Reg<PER_SPEC>, pub comp: [Reg<COMP_SPEC>; 2], /* private fields */ }
Expand description

Register block

Fields

ctrl: Reg<CTRL_SPEC>

0x00 - MODE1 Control

readreq: Reg<READREQ_SPEC>

0x02 - Read Request

evctrl: Reg<EVCTRL_SPEC>

0x04 - MODE1 Event Control

intenclr: Reg<INTENCLR_SPEC>

0x06 - MODE1 Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x07 - MODE1 Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x08 - MODE1 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

count: Reg<COUNT_SPEC>

0x10 - MODE1 Counter Value

per: Reg<PER_SPEC>

0x14 - MODE1 Counter Period

comp: [Reg<COMP_SPEC>; 2]

0x18 - MODE1 Compare n Value

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.