#[repr(C)]
pub struct RegisterBlock { pub ctrl: Reg<CTRL_SPEC>, pub channel: Reg<CHANNEL_SPEC>, pub user: Reg<USER_SPEC>, pub chstatus: Reg<CHSTATUS_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, /* private fields */ }
Expand description

Register block

Fields

ctrl: Reg<CTRL_SPEC>

0x00 - Control

channel: Reg<CHANNEL_SPEC>

0x04 - Channel

user: Reg<USER_SPEC>

0x08 - User Multiplexer

chstatus: Reg<CHSTATUS_SPEC>

0x0c - Channel Status

intenclr: Reg<INTENCLR_SPEC>

0x10 - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x14 - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x18 - Interrupt Flag Status and Clear

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.