#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub ctrl: Reg<CTRL_SPEC>, pub sleep: Reg<SLEEP_SPEC>, pub cpusel: Reg<CPUSEL_SPEC>, pub apbasel: Reg<APBASEL_SPEC>, pub apbbsel: Reg<APBBSEL_SPEC>, pub apbcsel: Reg<APBCSEL_SPEC>, pub ahbmask: Reg<AHBMASK_SPEC>, pub apbamask: Reg<APBAMASK_SPEC>, pub apbbmask: Reg<APBBMASK_SPEC>, pub apbcmask: Reg<APBCMASK_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub rcause: Reg<RCAUSE_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ctrl: Reg<CTRL_SPEC>

0x00 - Control

sleep: Reg<SLEEP_SPEC>

0x01 - Sleep Mode

cpusel: Reg<CPUSEL_SPEC>

0x08 - CPU Clock Select

apbasel: Reg<APBASEL_SPEC>

0x09 - APBA Clock Select

apbbsel: Reg<APBBSEL_SPEC>

0x0a - APBB Clock Select

apbcsel: Reg<APBCSEL_SPEC>

0x0b - APBC Clock Select

ahbmask: Reg<AHBMASK_SPEC>

0x14 - AHB Mask

apbamask: Reg<APBAMASK_SPEC>

0x18 - APBA Mask

apbbmask: Reg<APBBMASK_SPEC>

0x1c - APBB Mask

apbcmask: Reg<APBCMASK_SPEC>

0x20 - APBC Mask

intenclr: Reg<INTENCLR_SPEC>

0x34 - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x35 - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x36 - Interrupt Flag Status and Clear

rcause: Reg<RCAUSE_SPEC>

0x38 - Reset Cause

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.