1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - LOAD register"]
5 pub load: LOAD,
6 #[doc = "0x04 - VALUE register"]
7 pub value: VALUE,
8 #[doc = "0x08 - CR register"]
9 pub cr: CR,
10 _reserved3: [u8; 0x04],
11 #[doc = "0x10 - IE register"]
12 pub ie: IE,
13 #[doc = "0x14 - IF register"]
14 pub if_: IF,
15 #[doc = "0x18 - HALT register"]
16 pub halt: HALT,
17 #[doc = "0x1c - OCCR register"]
18 pub occr: OCCR,
19 #[doc = "0x20 - OCMAT register"]
20 pub ocmat: OCMAT,
21 #[doc = "0x24 - RESERVED2 register"]
22 pub reserved2: RESERVED2,
23 #[doc = "0x28 - ICLOW register"]
24 pub iclow: ICLOW,
25 #[doc = "0x2c - ICHIGH register"]
26 pub ichigh: ICHIGH,
27 #[doc = "0x30 - PREDIV register"]
28 pub prediv: PREDIV,
29}
30#[doc = "LOAD (rw) register accessor: an alias for `Reg<LOAD_SPEC>`"]
31pub type LOAD = crate::Reg<load::LOAD_SPEC>;
32#[doc = "LOAD register"]
33pub mod load;
34#[doc = "VALUE (r) register accessor: an alias for `Reg<VALUE_SPEC>`"]
35pub type VALUE = crate::Reg<value::VALUE_SPEC>;
36#[doc = "VALUE register"]
37pub mod value;
38#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
39pub type CR = crate::Reg<cr::CR_SPEC>;
40#[doc = "CR register"]
41pub mod cr;
42#[doc = "IE (rw) register accessor: an alias for `Reg<IE_SPEC>`"]
43pub type IE = crate::Reg<ie::IE_SPEC>;
44#[doc = "IE register"]
45pub mod ie;
46#[doc = "IF (rw) register accessor: an alias for `Reg<IF_SPEC>`"]
47pub type IF = crate::Reg<if_::IF_SPEC>;
48#[doc = "IF register"]
49pub mod if_;
50#[doc = "HALT (rw) register accessor: an alias for `Reg<HALT_SPEC>`"]
51pub type HALT = crate::Reg<halt::HALT_SPEC>;
52#[doc = "HALT register"]
53pub mod halt;
54#[doc = "OCCR (rw) register accessor: an alias for `Reg<OCCR_SPEC>`"]
55pub type OCCR = crate::Reg<occr::OCCR_SPEC>;
56#[doc = "OCCR register"]
57pub mod occr;
58#[doc = "OCMAT (rw) register accessor: an alias for `Reg<OCMAT_SPEC>`"]
59pub type OCMAT = crate::Reg<ocmat::OCMAT_SPEC>;
60#[doc = "OCMAT register"]
61pub mod ocmat;
62#[doc = "RESERVED2 (rw) register accessor: an alias for `Reg<RESERVED2_SPEC>`"]
63pub type RESERVED2 = crate::Reg<reserved2::RESERVED2_SPEC>;
64#[doc = "RESERVED2 register"]
65pub mod reserved2;
66#[doc = "ICLOW (rw) register accessor: an alias for `Reg<ICLOW_SPEC>`"]
67pub type ICLOW = crate::Reg<iclow::ICLOW_SPEC>;
68#[doc = "ICLOW register"]
69pub mod iclow;
70#[doc = "ICHIGH (rw) register accessor: an alias for `Reg<ICHIGH_SPEC>`"]
71pub type ICHIGH = crate::Reg<ichigh::ICHIGH_SPEC>;
72#[doc = "ICHIGH register"]
73pub mod ichigh;
74#[doc = "PREDIV (rw) register accessor: an alias for `Reg<PREDIV_SPEC>`"]
75pub type PREDIV = crate::Reg<prediv::PREDIV_SPEC>;
76#[doc = "PREDIV register"]
77pub mod prediv;