#[repr(C)]
pub struct RegisterBlock {
Show 17 fields pub ctrla: CTRLA, pub ctrlbclr: CTRLBCLR, pub ctrlbset: CTRLBSET, pub syncbusy: SYNCBUSY, pub fctrla: FCTRLA, pub fctrlb: FCTRLB, pub wexctrl: WEXCTRL, pub drvctrl: DRVCTRL, pub dbgctrl: DBGCTRL, pub evctrl: EVCTRL, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub status: STATUS, pub patt: PATT, pub wave: WAVE, pub pattbuf: PATTBUF, /* private fields */
}
Expand description

Register block

Fields§

§ctrla: CTRLA

0x00 - Control A

§ctrlbclr: CTRLBCLR

0x04 - Control B Clear

§ctrlbset: CTRLBSET

0x05 - Control B Set

§syncbusy: SYNCBUSY

0x08 - Synchronization Busy

§fctrla: FCTRLA

0x0c - Recoverable Fault A Configuration

§fctrlb: FCTRLB

0x10 - Recoverable Fault B Configuration

§wexctrl: WEXCTRL

0x14 - Waveform Extension Configuration

§drvctrl: DRVCTRL

0x18 - Driver Control

§dbgctrl: DBGCTRL

0x1e - Debug Control

§evctrl: EVCTRL

0x20 - Event Control

§intenclr: INTENCLR

0x24 - Interrupt Enable Clear

§intenset: INTENSET

0x28 - Interrupt Enable Set

§intflag: INTFLAG

0x2c - Interrupt Flag Status and Clear

§status: STATUS

0x30 - Status

§patt: PATT

0x38 - Pattern

§wave: WAVE

0x3c - Waveform Control

§pattbuf: PATTBUF

0x64 - Pattern Buffer

Implementations§

0x34 - Count

0x34 - Count

0x34 - Count

0x34 - Count

0x40 - Period

0x40 - Period

0x40 - Period

0x40 - Period

0x44..0x54 - Compare and Capture

0x44..0x54 - Compare and Capture

0x44..0x54 - Compare and Capture

0x44..0x54 - Compare and Capture

0x6c - Period Buffer

0x6c - Period Buffer

0x6c - Period Buffer

0x6c - Period Buffer

0x70..0x80 - Compare and Capture Buffer

0x70..0x80 - Compare and Capture Buffer

0x70..0x80 - Compare and Capture Buffer

0x70..0x80 - 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.