#[repr(C)]
pub struct RegisterBlock { pub ctrla: CTRLA, pub nmictrl: NMICTRL, pub nmiflag: NMIFLAG, pub syncbusy: SYNCBUSY, pub evctrl: EVCTRL, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub asynch: ASYNCH, pub config: [CONFIG; 2], }
Expand description

Register block

Fields§

§ctrla: CTRLA

0x00 - Control

§nmictrl: NMICTRL

0x01 - NMI Control

§nmiflag: NMIFLAG

0x02 - NMI Interrupt Flag

§syncbusy: SYNCBUSY

0x04 - Syncbusy register

§evctrl: EVCTRL

0x08 - Event Control

§intenclr: INTENCLR

0x0c - Interrupt Enable Clear

§intenset: INTENSET

0x10 - Interrupt Enable Set

§intflag: INTFLAG

0x14 - Interrupt Flag Status and Clear

§asynch: ASYNCH

0x18 - EIC Asynchronous edge Detection Enable

§config: [CONFIG; 2]

0x1c..0x24 - Configuration n

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.