Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 24 fields pub rtccon: Reg<RTCCON_SPEC>, pub rtcconclr: Reg<RTCCONCLR_SPEC>, pub rtcconset: Reg<RTCCONSET_SPEC>, pub rtcconinv: Reg<RTCCONINV_SPEC>, pub rtcalrm: Reg<RTCALRM_SPEC>, pub rtcalrmclr: Reg<RTCALRMCLR_SPEC>, pub rtcalrmset: Reg<RTCALRMSET_SPEC>, pub rtcalrminv: Reg<RTCALRMINV_SPEC>, pub rtctime: Reg<RTCTIME_SPEC>, pub rtctimeclr: Reg<RTCTIMECLR_SPEC>, pub rtctimeset: Reg<RTCTIMESET_SPEC>, pub rtctimeinv: Reg<RTCTIMEINV_SPEC>, pub rtcdate: Reg<RTCDATE_SPEC>, pub rtcdateclr: Reg<RTCDATECLR_SPEC>, pub rtcdateset: Reg<RTCDATESET_SPEC>, pub rtcdateinv: Reg<RTCDATEINV_SPEC>, pub alrmtime: Reg<ALRMTIME_SPEC>, pub alrmtimeclr: Reg<ALRMTIMECLR_SPEC>, pub alrmtimeset: Reg<ALRMTIMESET_SPEC>, pub alrmtimeinv: Reg<ALRMTIMEINV_SPEC>, pub alrmdate: Reg<ALRMDATE_SPEC>, pub alrmdateclr: Reg<ALRMDATECLR_SPEC>, pub alrmdateset: Reg<ALRMDATESET_SPEC>, pub alrmdateinv: Reg<ALRMDATEINV_SPEC>,
}
Expand description

Register block

Fields§

§rtccon: Reg<RTCCON_SPEC>

0x00 - RTCCON register

§rtcconclr: Reg<RTCCONCLR_SPEC>

0x04 - RTCCONCLR register

§rtcconset: Reg<RTCCONSET_SPEC>

0x08 - RTCCONSET register

§rtcconinv: Reg<RTCCONINV_SPEC>

0x0c - RTCCONINV register

§rtcalrm: Reg<RTCALRM_SPEC>

0x10 - RTCALRM register

§rtcalrmclr: Reg<RTCALRMCLR_SPEC>

0x14 - RTCALRMCLR register

§rtcalrmset: Reg<RTCALRMSET_SPEC>

0x18 - RTCALRMSET register

§rtcalrminv: Reg<RTCALRMINV_SPEC>

0x1c - RTCALRMINV register

§rtctime: Reg<RTCTIME_SPEC>

0x20 - RTCTIME register

§rtctimeclr: Reg<RTCTIMECLR_SPEC>

0x24 - RTCTIMECLR register

§rtctimeset: Reg<RTCTIMESET_SPEC>

0x28 - RTCTIMESET register

§rtctimeinv: Reg<RTCTIMEINV_SPEC>

0x2c - RTCTIMEINV register

§rtcdate: Reg<RTCDATE_SPEC>

0x30 - RTCDATE register

§rtcdateclr: Reg<RTCDATECLR_SPEC>

0x34 - RTCDATECLR register

§rtcdateset: Reg<RTCDATESET_SPEC>

0x38 - RTCDATESET register

§rtcdateinv: Reg<RTCDATEINV_SPEC>

0x3c - RTCDATEINV register

§alrmtime: Reg<ALRMTIME_SPEC>

0x40 - ALRMTIME register

§alrmtimeclr: Reg<ALRMTIMECLR_SPEC>

0x44 - ALRMTIMECLR register

§alrmtimeset: Reg<ALRMTIMESET_SPEC>

0x48 - ALRMTIMESET register

§alrmtimeinv: Reg<ALRMTIMEINV_SPEC>

0x4c - ALRMTIMEINV register

§alrmdate: Reg<ALRMDATE_SPEC>

0x50 - ALRMDATE register

§alrmdateclr: Reg<ALRMDATECLR_SPEC>

0x54 - ALRMDATECLR register

§alrmdateset: Reg<ALRMDATESET_SPEC>

0x58 - ALRMDATESET register

§alrmdateinv: Reg<ALRMDATEINV_SPEC>

0x5c - ALRMDATEINV register

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.