#[repr(C)]
pub struct RegisterBlock { pub ctrla: CTRLA, pub chstatus: CHSTATUS, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub swevt: SWEVT, pub channel: [CHANNEL; 12], pub user: [USER; 45], /* private fields */ }
Expand description

Register block

Fields§

§ctrla: CTRLA

0x00 - Control

§chstatus: CHSTATUS

0x0c - Channel Status

§intenclr: INTENCLR

0x10 - Interrupt Enable Clear

§intenset: INTENSET

0x14 - Interrupt Enable Set

§intflag: INTFLAG

0x18 - Interrupt Flag Status and Clear

§swevt: SWEVT

0x1c - Software Event

§channel: [CHANNEL; 12]

0x20..0x50 - Channel n

§user: [USER; 45]

0x80..0x134 - User Multiplexer 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.