#[repr(C)]
pub struct COUNT16 {
Show 15 fields pub ctrla: Reg<CTRLA_SPEC>, pub ctrlbclr: Reg<CTRLBCLR_SPEC>, pub ctrlbset: Reg<CTRLBSET_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 wave: Reg<WAVE_SPEC>, pub drvctrl: Reg<DRVCTRL_SPEC>, pub dbgctrl: Reg<DBGCTRL_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub count: Reg<COUNT_SPEC>, pub cc: [Reg<CC_SPEC>; 2], pub ccbuf: [Reg<CCBUF_SPEC>; 2], /* private fields */
}
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A

ctrlbclr: Reg<CTRLBCLR_SPEC>

0x04 - Control B Clear

ctrlbset: Reg<CTRLBSET_SPEC>

0x05 - Control B Set

evctrl: Reg<EVCTRL_SPEC>

0x06 - Event Control

intenclr: Reg<INTENCLR_SPEC>

0x08 - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x09 - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x0a - Interrupt Flag Status and Clear

status: Reg<STATUS_SPEC>

0x0b - Status

wave: Reg<WAVE_SPEC>

0x0c - Waveform Generation Control

drvctrl: Reg<DRVCTRL_SPEC>

0x0d - Control C

dbgctrl: Reg<DBGCTRL_SPEC>

0x0f - Debug Control

syncbusy: Reg<SYNCBUSY_SPEC>

0x10 - Synchronization Status

count: Reg<COUNT_SPEC>

0x14 - COUNT16 Count

cc: [Reg<CC_SPEC>; 2]

0x1c - COUNT16 Compare and Capture

ccbuf: [Reg<CCBUF_SPEC>; 2]

0x30 - COUNT16 Compare and Capture Buffer

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.