#[repr(C)]
pub struct RegisterBlock { pub control_register: Reg<CONTROL_REGISTER_SPEC>, pub timer0: Reg<TIMER0_SPEC>, pub rtc_register_0: Reg<RTC_REGISTER_0_SPEC>, pub rtc_register_1: Reg<RTC_REGISTER_1_SPEC>, pub interrupt_source: Reg<INTERRUPT_SOURCE_SPEC>, /* private fields */ }
Expand description

Register block

Fields

control_register: Reg<CONTROL_REGISTER_SPEC>

0x00 - PMU control register

timer0: Reg<TIMER0_SPEC>

0x04 - Timer0 register

rtc_register_0: Reg<RTC_REGISTER_0_SPEC>

0x0c - RTC register 0

rtc_register_1: Reg<RTC_REGISTER_1_SPEC>

0x10 - RTC register 1

interrupt_source: Reg<INTERRUPT_SOURCE_SPEC>

0x14 - PMU interrupt source register

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.