#[repr(C)]
pub struct COUNT16 {
Show 15 fields pub ctrla: CTRLA, pub ctrlbclr: CTRLBCLR, pub ctrlbset: CTRLBSET, pub evctrl: EVCTRL, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub status: STATUS, pub wave: WAVE, pub drvctrl: DRVCTRL, pub dbgctrl: DBGCTRL, pub syncbusy: SYNCBUSY, pub count: COUNT, pub cc: [CC; 2], pub ccbuf: [CCBUF; 2], /* private fields */
}
Expand description

Register block

Fields§

§ctrla: CTRLA

0x00 - Control A

§ctrlbclr: CTRLBCLR

0x04 - Control B Clear

§ctrlbset: CTRLBSET

0x05 - Control B Set

§evctrl: EVCTRL

0x06 - Event Control

§intenclr: INTENCLR

0x08 - Interrupt Enable Clear

§intenset: INTENSET

0x09 - Interrupt Enable Set

§intflag: INTFLAG

0x0a - Interrupt Flag Status and Clear

§status: STATUS

0x0b - Status

§wave: WAVE

0x0c - Waveform Generation Control

§drvctrl: DRVCTRL

0x0d - Control C

§dbgctrl: DBGCTRL

0x0f - Debug Control

§syncbusy: SYNCBUSY

0x10 - Synchronization Status

§count: COUNT

0x14 - COUNT16 Count

§cc: [CC; 2]

0x1c - COUNT16 Compare and Capture

§ccbuf: [CCBUF; 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.