Struct gd32f1x0_hal::pac::rtc::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show fields pub time: Reg<TIME_SPEC>, pub date: Reg<DATE_SPEC>, pub ctl: Reg<CTL_SPEC>, pub stat: Reg<STAT_SPEC>, pub psc: Reg<PSC_SPEC>, pub alrm0td: Reg<ALRM0TD_SPEC>, pub wpk: Reg<WPK_SPEC>, pub ss: Reg<SS_SPEC>, pub shiftctl: Reg<SHIFTCTL_SPEC>, pub tts: Reg<TTS_SPEC>, pub dts: Reg<DTS_SPEC>, pub ssts: Reg<SSTS_SPEC>, pub hrfc: Reg<HRFC_SPEC>, pub tamp: Reg<TAMP_SPEC>, pub alrm0ss: Reg<ALRM0SS_SPEC>, pub bkp0: Reg<BKP0_SPEC>, pub bkp1: Reg<BKP1_SPEC>, pub bkp2: Reg<BKP2_SPEC>, pub bkp3: Reg<BKP3_SPEC>, pub bkp4: Reg<BKP4_SPEC>, // some fields omitted
}
Expand description

Register block

Fields

time: Reg<TIME_SPEC>
Expand description

0x00 - Time of day register

date: Reg<DATE_SPEC>
Expand description

0x04 - date register

ctl: Reg<CTL_SPEC>
Expand description

0x08 - control register

stat: Reg<STAT_SPEC>
Expand description

0x0c - Status register

psc: Reg<PSC_SPEC>
Expand description

0x10 - Time prescaler register

alrm0td: Reg<ALRM0TD_SPEC>
Expand description

0x1c - Alarm 0 Time and date register

wpk: Reg<WPK_SPEC>
Expand description

0x24 - Write protection key register

ss: Reg<SS_SPEC>
Expand description

0x28 - sub second register

shiftctl: Reg<SHIFTCTL_SPEC>
Expand description

0x2c - Shift function control register

tts: Reg<TTS_SPEC>
Expand description

0x30 - Time of time stamp register

dts: Reg<DTS_SPEC>
Expand description

0x34 - Date of time stamp register

ssts: Reg<SSTS_SPEC>
Expand description

0x38 - Sub second of time stamp register

hrfc: Reg<HRFC_SPEC>
Expand description

0x3c - High resolution frequency compensation register

tamp: Reg<TAMP_SPEC>
Expand description

0x40 - Tamper register

alrm0ss: Reg<ALRM0SS_SPEC>
Expand description

0x44 - Alarm 0 sub second register

bkp0: Reg<BKP0_SPEC>
Expand description

0x50 - backup register

bkp1: Reg<BKP1_SPEC>
Expand description

0x54 - backup register

bkp2: Reg<BKP2_SPEC>
Expand description

0x58 - backup register

bkp3: Reg<BKP3_SPEC>
Expand description

0x5c - backup register

bkp4: Reg<BKP4_SPEC>
Expand description

0x60 - backup register

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.