#[repr(C)]
pub struct RegisterBlock { pub kr: Reg<KR_SPEC>, pub pr: Reg<PR_SPEC>, pub rlr: Reg<RLR_SPEC>, pub sr: Reg<SR_SPEC>, pub winr: Reg<WINR_SPEC>, }
Expand description

Register block

Fields

kr: Reg<KR_SPEC>

0x00 - Key register

pr: Reg<PR_SPEC>

0x04 - Prescaler register

rlr: Reg<RLR_SPEC>

0x08 - Reload register

sr: Reg<SR_SPEC>

0x0c - Status register

winr: Reg<WINR_SPEC>

0x10 - Window 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.