RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 20 fields pub hbn_ctl: HBN_CTL, pub hbn_time_l: HBN_TIME_L, pub hbn_time_h: HBN_TIME_H, pub rtc_time_l: RTC_TIME_L, pub rtc_time_h: RTC_TIME_H, pub hbn_irq_mode: HBN_IRQ_MODE, pub hbn_irq_stat: HBN_IRQ_STAT, pub hbn_irq_clr: HBN_IRQ_CLR, pub hbn_pir_cfg: HBN_PIR_CFG, pub hbn_pir_vth: HBN_PIR_VTH, pub hbn_pir_interval: HBN_PIR_INTERVAL, pub hbn_bor_cfg: HBN_BOR_CFG, pub hbn_glb: HBN_GLB, pub hbn_sram: HBN_SRAM, pub hbn_rsv0: HBN_RSV0, pub hbn_rsv1: HBN_RSV1, pub hbn_rsv2: HBN_RSV2, pub hbn_rsv3: HBN_RSV3, pub rc32k_ctrl0: RC32K_CTRL0, pub xtal32k: XTAL32K, /* private fields */
}
Expand description

Register block

Fields§

§hbn_ctl: HBN_CTL

0x00 - HBN_CTL.

§hbn_time_l: HBN_TIME_L

0x04 - HBN_TIME_L.

§hbn_time_h: HBN_TIME_H

0x08 - HBN_TIME_H.

§rtc_time_l: RTC_TIME_L

0x0c - RTC_TIME_L.

§rtc_time_h: RTC_TIME_H

0x10 - RTC_TIME_H.

§hbn_irq_mode: HBN_IRQ_MODE

0x14 - HBN_IRQ_MODE.

§hbn_irq_stat: HBN_IRQ_STAT

0x18 - HBN_IRQ_STAT.

§hbn_irq_clr: HBN_IRQ_CLR

0x1c - HBN_IRQ_CLR.

§hbn_pir_cfg: HBN_PIR_CFG

0x20 - HBN_PIR_CFG.

§hbn_pir_vth: HBN_PIR_VTH

0x24 - HBN_PIR_VTH.

§hbn_pir_interval: HBN_PIR_INTERVAL

0x28 - HBN_PIR_INTERVAL.

§hbn_bor_cfg: HBN_BOR_CFG

0x2c - HBN_BOR_CFG.

§hbn_glb: HBN_GLB

0x30 - HBN_GLB.

§hbn_sram: HBN_SRAM

0x34 - HBN_SRAM.

§hbn_rsv0: HBN_RSV0

0x100 - HBN_RSV0.

§hbn_rsv1: HBN_RSV1

0x104 - HBN_RSV1.

§hbn_rsv2: HBN_RSV2

0x108 - HBN_RSV2.

§hbn_rsv3: HBN_RSV3

0x10c - HBN_RSV3.

§rc32k_ctrl0: RC32K_CTRL0

0x200 - rc32k_ctrl0.

§xtal32k: XTAL32K

0x204 - xtal32k.

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.