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_CTL0x00 - HBN_CTL.
hbn_time_l: HBN_TIME_L0x04 - HBN_TIME_L.
hbn_time_h: HBN_TIME_H0x08 - HBN_TIME_H.
rtc_time_l: RTC_TIME_L0x0c - RTC_TIME_L.
rtc_time_h: RTC_TIME_H0x10 - RTC_TIME_H.
hbn_irq_mode: HBN_IRQ_MODE0x14 - HBN_IRQ_MODE.
hbn_irq_stat: HBN_IRQ_STAT0x18 - HBN_IRQ_STAT.
hbn_irq_clr: HBN_IRQ_CLR0x1c - HBN_IRQ_CLR.
hbn_pir_cfg: HBN_PIR_CFG0x20 - HBN_PIR_CFG.
hbn_pir_vth: HBN_PIR_VTH0x24 - HBN_PIR_VTH.
hbn_pir_interval: HBN_PIR_INTERVAL0x28 - HBN_PIR_INTERVAL.
hbn_bor_cfg: HBN_BOR_CFG0x2c - HBN_BOR_CFG.
hbn_glb: HBN_GLB0x30 - HBN_GLB.
hbn_sram: HBN_SRAM0x34 - HBN_SRAM.
hbn_rsv0: HBN_RSV00x100 - HBN_RSV0.
hbn_rsv1: HBN_RSV10x104 - HBN_RSV1.
hbn_rsv2: HBN_RSV20x108 - HBN_RSV2.
hbn_rsv3: HBN_RSV30x10c - HBN_RSV3.
rc32k_ctrl0: RC32K_CTRL00x200 - rc32k_ctrl0.
xtal32k: XTAL32K0x204 - xtal32k.
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more