bl602_pac/
hbn.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - HBN_CTL."]
5    pub hbn_ctl: HBN_CTL,
6    #[doc = "0x04 - HBN_TIME_L."]
7    pub hbn_time_l: HBN_TIME_L,
8    #[doc = "0x08 - HBN_TIME_H."]
9    pub hbn_time_h: HBN_TIME_H,
10    #[doc = "0x0c - RTC_TIME_L."]
11    pub rtc_time_l: RTC_TIME_L,
12    #[doc = "0x10 - RTC_TIME_H."]
13    pub rtc_time_h: RTC_TIME_H,
14    #[doc = "0x14 - HBN_IRQ_MODE."]
15    pub hbn_irq_mode: HBN_IRQ_MODE,
16    #[doc = "0x18 - HBN_IRQ_STAT."]
17    pub hbn_irq_stat: HBN_IRQ_STAT,
18    #[doc = "0x1c - HBN_IRQ_CLR."]
19    pub hbn_irq_clr: HBN_IRQ_CLR,
20    #[doc = "0x20 - HBN_PIR_CFG."]
21    pub hbn_pir_cfg: HBN_PIR_CFG,
22    #[doc = "0x24 - HBN_PIR_VTH."]
23    pub hbn_pir_vth: HBN_PIR_VTH,
24    #[doc = "0x28 - HBN_PIR_INTERVAL."]
25    pub hbn_pir_interval: HBN_PIR_INTERVAL,
26    #[doc = "0x2c - HBN_BOR_CFG."]
27    pub hbn_bor_cfg: HBN_BOR_CFG,
28    #[doc = "0x30 - HBN_GLB."]
29    pub hbn_glb: HBN_GLB,
30    #[doc = "0x34 - HBN_SRAM."]
31    pub hbn_sram: HBN_SRAM,
32    _reserved14: [u8; 0xc8],
33    #[doc = "0x100 - HBN_RSV0."]
34    pub hbn_rsv0: HBN_RSV0,
35    #[doc = "0x104 - HBN_RSV1."]
36    pub hbn_rsv1: HBN_RSV1,
37    #[doc = "0x108 - HBN_RSV2."]
38    pub hbn_rsv2: HBN_RSV2,
39    #[doc = "0x10c - HBN_RSV3."]
40    pub hbn_rsv3: HBN_RSV3,
41    _reserved18: [u8; 0xf0],
42    #[doc = "0x200 - rc32k_ctrl0."]
43    pub rc32k_ctrl0: RC32K_CTRL0,
44    #[doc = "0x204 - xtal32k."]
45    pub xtal32k: XTAL32K,
46}
47#[doc = "HBN_CTL (rw) register accessor: an alias for `Reg<HBN_CTL_SPEC>`"]
48pub type HBN_CTL = crate::Reg<hbn_ctl::HBN_CTL_SPEC>;
49#[doc = "HBN_CTL."]
50pub mod hbn_ctl;
51#[doc = "HBN_TIME_L (rw) register accessor: an alias for `Reg<HBN_TIME_L_SPEC>`"]
52pub type HBN_TIME_L = crate::Reg<hbn_time_l::HBN_TIME_L_SPEC>;
53#[doc = "HBN_TIME_L."]
54pub mod hbn_time_l;
55#[doc = "HBN_TIME_H (rw) register accessor: an alias for `Reg<HBN_TIME_H_SPEC>`"]
56pub type HBN_TIME_H = crate::Reg<hbn_time_h::HBN_TIME_H_SPEC>;
57#[doc = "HBN_TIME_H."]
58pub mod hbn_time_h;
59#[doc = "RTC_TIME_L (r) register accessor: an alias for `Reg<RTC_TIME_L_SPEC>`"]
60pub type RTC_TIME_L = crate::Reg<rtc_time_l::RTC_TIME_L_SPEC>;
61#[doc = "RTC_TIME_L."]
62pub mod rtc_time_l;
63#[doc = "RTC_TIME_H (rw) register accessor: an alias for `Reg<RTC_TIME_H_SPEC>`"]
64pub type RTC_TIME_H = crate::Reg<rtc_time_h::RTC_TIME_H_SPEC>;
65#[doc = "RTC_TIME_H."]
66pub mod rtc_time_h;
67#[doc = "HBN_IRQ_MODE (rw) register accessor: an alias for `Reg<HBN_IRQ_MODE_SPEC>`"]
68pub type HBN_IRQ_MODE = crate::Reg<hbn_irq_mode::HBN_IRQ_MODE_SPEC>;
69#[doc = "HBN_IRQ_MODE."]
70pub mod hbn_irq_mode;
71#[doc = "HBN_IRQ_STAT (r) register accessor: an alias for `Reg<HBN_IRQ_STAT_SPEC>`"]
72pub type HBN_IRQ_STAT = crate::Reg<hbn_irq_stat::HBN_IRQ_STAT_SPEC>;
73#[doc = "HBN_IRQ_STAT."]
74pub mod hbn_irq_stat;
75#[doc = "HBN_IRQ_CLR (w) register accessor: an alias for `Reg<HBN_IRQ_CLR_SPEC>`"]
76pub type HBN_IRQ_CLR = crate::Reg<hbn_irq_clr::HBN_IRQ_CLR_SPEC>;
77#[doc = "HBN_IRQ_CLR."]
78pub mod hbn_irq_clr;
79#[doc = "HBN_PIR_CFG (rw) register accessor: an alias for `Reg<HBN_PIR_CFG_SPEC>`"]
80pub type HBN_PIR_CFG = crate::Reg<hbn_pir_cfg::HBN_PIR_CFG_SPEC>;
81#[doc = "HBN_PIR_CFG."]
82pub mod hbn_pir_cfg;
83#[doc = "HBN_PIR_VTH (rw) register accessor: an alias for `Reg<HBN_PIR_VTH_SPEC>`"]
84pub type HBN_PIR_VTH = crate::Reg<hbn_pir_vth::HBN_PIR_VTH_SPEC>;
85#[doc = "HBN_PIR_VTH."]
86pub mod hbn_pir_vth;
87#[doc = "HBN_PIR_INTERVAL (rw) register accessor: an alias for `Reg<HBN_PIR_INTERVAL_SPEC>`"]
88pub type HBN_PIR_INTERVAL = crate::Reg<hbn_pir_interval::HBN_PIR_INTERVAL_SPEC>;
89#[doc = "HBN_PIR_INTERVAL."]
90pub mod hbn_pir_interval;
91#[doc = "HBN_BOR_CFG (rw) register accessor: an alias for `Reg<HBN_BOR_CFG_SPEC>`"]
92pub type HBN_BOR_CFG = crate::Reg<hbn_bor_cfg::HBN_BOR_CFG_SPEC>;
93#[doc = "HBN_BOR_CFG."]
94pub mod hbn_bor_cfg;
95#[doc = "HBN_GLB (rw) register accessor: an alias for `Reg<HBN_GLB_SPEC>`"]
96pub type HBN_GLB = crate::Reg<hbn_glb::HBN_GLB_SPEC>;
97#[doc = "HBN_GLB."]
98pub mod hbn_glb;
99#[doc = "HBN_SRAM (rw) register accessor: an alias for `Reg<HBN_SRAM_SPEC>`"]
100pub type HBN_SRAM = crate::Reg<hbn_sram::HBN_SRAM_SPEC>;
101#[doc = "HBN_SRAM."]
102pub mod hbn_sram;
103#[doc = "HBN_RSV0 (rw) register accessor: an alias for `Reg<HBN_RSV0_SPEC>`"]
104pub type HBN_RSV0 = crate::Reg<hbn_rsv0::HBN_RSV0_SPEC>;
105#[doc = "HBN_RSV0."]
106pub mod hbn_rsv0;
107#[doc = "HBN_RSV1 (rw) register accessor: an alias for `Reg<HBN_RSV1_SPEC>`"]
108pub type HBN_RSV1 = crate::Reg<hbn_rsv1::HBN_RSV1_SPEC>;
109#[doc = "HBN_RSV1."]
110pub mod hbn_rsv1;
111#[doc = "HBN_RSV2 (rw) register accessor: an alias for `Reg<HBN_RSV2_SPEC>`"]
112pub type HBN_RSV2 = crate::Reg<hbn_rsv2::HBN_RSV2_SPEC>;
113#[doc = "HBN_RSV2."]
114pub mod hbn_rsv2;
115#[doc = "HBN_RSV3 (rw) register accessor: an alias for `Reg<HBN_RSV3_SPEC>`"]
116pub type HBN_RSV3 = crate::Reg<hbn_rsv3::HBN_RSV3_SPEC>;
117#[doc = "HBN_RSV3."]
118pub mod hbn_rsv3;
119#[doc = "rc32k_ctrl0 (rw) register accessor: an alias for `Reg<RC32K_CTRL0_SPEC>`"]
120pub type RC32K_CTRL0 = crate::Reg<rc32k_ctrl0::RC32K_CTRL0_SPEC>;
121#[doc = "rc32k_ctrl0."]
122pub mod rc32k_ctrl0;
123#[doc = "xtal32k (rw) register accessor: an alias for `Reg<XTAL32K_SPEC>`"]
124pub type XTAL32K = crate::Reg<xtal32k::XTAL32K_SPEC>;
125#[doc = "xtal32k."]
126pub mod xtal32k;