1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Base address register for output region"]
5 pub outbase: crate::Reg<outbase::OUTBASE_SPEC>,
6 #[doc = "0x04 - Output format"]
7 pub outformat: crate::Reg<outformat::OUTFORMAT_SPEC>,
8 #[doc = "0x08 - Base address register for temp region"]
9 pub tmpbase: crate::Reg<tmpbase::TMPBASE_SPEC>,
10 #[doc = "0x0c - Temp format"]
11 pub tmpformat: crate::Reg<tmpformat::TMPFORMAT_SPEC>,
12 #[doc = "0x10 - Base address register for input A region"]
13 pub inabase: crate::Reg<inabase::INABASE_SPEC>,
14 #[doc = "0x14 - Input A format"]
15 pub inaformat: crate::Reg<inaformat::INAFORMAT_SPEC>,
16 #[doc = "0x18 - Base address register for input B region"]
17 pub inbbase: crate::Reg<inbbase::INBBASE_SPEC>,
18 #[doc = "0x1c - Input B format"]
19 pub inbformat: crate::Reg<inbformat::INBFORMAT_SPEC>,
20 _reserved8: [u8; 0xe0],
21 #[doc = "0x100 - PowerQuad Control register"]
22 pub control: crate::Reg<control::CONTROL_SPEC>,
23 #[doc = "0x104 - Length register"]
24 pub length: crate::Reg<length::LENGTH_SPEC>,
25 #[doc = "0x108 - Pre-scale register"]
26 pub cppre: crate::Reg<cppre::CPPRE_SPEC>,
27 #[doc = "0x10c - Misc register"]
28 pub misc: crate::Reg<misc::MISC_SPEC>,
29 #[doc = "0x110 - Cursory register"]
30 pub cursory: crate::Reg<cursory::CURSORY_SPEC>,
31 _reserved13: [u8; 0x6c],
32 #[doc = "0x180 - Cordic input X register"]
33 pub cordic_x: crate::Reg<cordic_x::CORDIC_X_SPEC>,
34 #[doc = "0x184 - Cordic input Y register"]
35 pub cordic_y: crate::Reg<cordic_y::CORDIC_Y_SPEC>,
36 #[doc = "0x188 - Cordic input Z register"]
37 pub cordic_z: crate::Reg<cordic_z::CORDIC_Z_SPEC>,
38 #[doc = "0x18c - Read/Write register where error statuses are captured (sticky)"]
39 pub errstat: crate::Reg<errstat::ERRSTAT_SPEC>,
40 #[doc = "0x190 - INTERRUPT enable register"]
41 pub intren: crate::Reg<intren::INTREN_SPEC>,
42 #[doc = "0x194 - Event Enable register"]
43 pub eventen: crate::Reg<eventen::EVENTEN_SPEC>,
44 #[doc = "0x198 - INTERRUPT STATUS register"]
45 pub intrstat: crate::Reg<intrstat::INTRSTAT_SPEC>,
46 _reserved20: [u8; 0x64],
47 #[doc = "0x200..0x240 - General purpose register bank N."]
48 pub gpreg: [crate::Reg<gpreg::GPREG_SPEC>; 16],
49 #[doc = "0x240..0x260 - Compute register bank"]
50 pub compreg: [crate::Reg<compreg::COMPREG_SPEC>; 8],
51}
52#[doc = "OUTBASE register accessor: an alias for `Reg<OUTBASE_SPEC>`"]
53pub type OUTBASE = crate::Reg<outbase::OUTBASE_SPEC>;
54#[doc = "Base address register for output region"]
55pub mod outbase;
56#[doc = "OUTFORMAT register accessor: an alias for `Reg<OUTFORMAT_SPEC>`"]
57pub type OUTFORMAT = crate::Reg<outformat::OUTFORMAT_SPEC>;
58#[doc = "Output format"]
59pub mod outformat;
60#[doc = "TMPBASE register accessor: an alias for `Reg<TMPBASE_SPEC>`"]
61pub type TMPBASE = crate::Reg<tmpbase::TMPBASE_SPEC>;
62#[doc = "Base address register for temp region"]
63pub mod tmpbase;
64#[doc = "TMPFORMAT register accessor: an alias for `Reg<TMPFORMAT_SPEC>`"]
65pub type TMPFORMAT = crate::Reg<tmpformat::TMPFORMAT_SPEC>;
66#[doc = "Temp format"]
67pub mod tmpformat;
68#[doc = "INABASE register accessor: an alias for `Reg<INABASE_SPEC>`"]
69pub type INABASE = crate::Reg<inabase::INABASE_SPEC>;
70#[doc = "Base address register for input A region"]
71pub mod inabase;
72#[doc = "INAFORMAT register accessor: an alias for `Reg<INAFORMAT_SPEC>`"]
73pub type INAFORMAT = crate::Reg<inaformat::INAFORMAT_SPEC>;
74#[doc = "Input A format"]
75pub mod inaformat;
76#[doc = "INBBASE register accessor: an alias for `Reg<INBBASE_SPEC>`"]
77pub type INBBASE = crate::Reg<inbbase::INBBASE_SPEC>;
78#[doc = "Base address register for input B region"]
79pub mod inbbase;
80#[doc = "INBFORMAT register accessor: an alias for `Reg<INBFORMAT_SPEC>`"]
81pub type INBFORMAT = crate::Reg<inbformat::INBFORMAT_SPEC>;
82#[doc = "Input B format"]
83pub mod inbformat;
84#[doc = "CONTROL register accessor: an alias for `Reg<CONTROL_SPEC>`"]
85pub type CONTROL = crate::Reg<control::CONTROL_SPEC>;
86#[doc = "PowerQuad Control register"]
87pub mod control;
88#[doc = "LENGTH register accessor: an alias for `Reg<LENGTH_SPEC>`"]
89pub type LENGTH = crate::Reg<length::LENGTH_SPEC>;
90#[doc = "Length register"]
91pub mod length;
92#[doc = "CPPRE register accessor: an alias for `Reg<CPPRE_SPEC>`"]
93pub type CPPRE = crate::Reg<cppre::CPPRE_SPEC>;
94#[doc = "Pre-scale register"]
95pub mod cppre;
96#[doc = "MISC register accessor: an alias for `Reg<MISC_SPEC>`"]
97pub type MISC = crate::Reg<misc::MISC_SPEC>;
98#[doc = "Misc register"]
99pub mod misc;
100#[doc = "CURSORY register accessor: an alias for `Reg<CURSORY_SPEC>`"]
101pub type CURSORY = crate::Reg<cursory::CURSORY_SPEC>;
102#[doc = "Cursory register"]
103pub mod cursory;
104#[doc = "CORDIC_X register accessor: an alias for `Reg<CORDIC_X_SPEC>`"]
105pub type CORDIC_X = crate::Reg<cordic_x::CORDIC_X_SPEC>;
106#[doc = "Cordic input X register"]
107pub mod cordic_x;
108#[doc = "CORDIC_Y register accessor: an alias for `Reg<CORDIC_Y_SPEC>`"]
109pub type CORDIC_Y = crate::Reg<cordic_y::CORDIC_Y_SPEC>;
110#[doc = "Cordic input Y register"]
111pub mod cordic_y;
112#[doc = "CORDIC_Z register accessor: an alias for `Reg<CORDIC_Z_SPEC>`"]
113pub type CORDIC_Z = crate::Reg<cordic_z::CORDIC_Z_SPEC>;
114#[doc = "Cordic input Z register"]
115pub mod cordic_z;
116#[doc = "ERRSTAT register accessor: an alias for `Reg<ERRSTAT_SPEC>`"]
117pub type ERRSTAT = crate::Reg<errstat::ERRSTAT_SPEC>;
118#[doc = "Read/Write register where error statuses are captured (sticky)"]
119pub mod errstat;
120#[doc = "INTREN register accessor: an alias for `Reg<INTREN_SPEC>`"]
121pub type INTREN = crate::Reg<intren::INTREN_SPEC>;
122#[doc = "INTERRUPT enable register"]
123pub mod intren;
124#[doc = "EVENTEN register accessor: an alias for `Reg<EVENTEN_SPEC>`"]
125pub type EVENTEN = crate::Reg<eventen::EVENTEN_SPEC>;
126#[doc = "Event Enable register"]
127pub mod eventen;
128#[doc = "INTRSTAT register accessor: an alias for `Reg<INTRSTAT_SPEC>`"]
129pub type INTRSTAT = crate::Reg<intrstat::INTRSTAT_SPEC>;
130#[doc = "INTERRUPT STATUS register"]
131pub mod intrstat;
132#[doc = "gpreg register accessor: an alias for `Reg<GPREG_SPEC>`"]
133pub type GPREG = crate::Reg<gpreg::GPREG_SPEC>;
134#[doc = "General purpose register bank N."]
135pub mod gpreg;
136#[doc = "compreg register accessor: an alias for `Reg<COMPREG_SPEC>`"]
137pub type COMPREG = crate::Reg<compreg::COMPREG_SPEC>;
138#[doc = "Compute register bank"]
139pub mod compreg;