1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control A"]
5    pub ctrla: CTRLA,
6    #[doc = "0x04 - Control B"]
7    pub ctrlb: CTRLB,
8    #[doc = "0x05 - Interrupt Enable Clear"]
9    pub intenclr: INTENCLR,
10    #[doc = "0x06 - Interrupt Enable Set"]
11    pub intenset: INTENSET,
12    #[doc = "0x07 - Interrupt Flag Status"]
13    pub intflag: INTFLAG,
14    #[doc = "0x08 - Data buffer pointer"]
15    pub databufptr: DATABUFPTR,
16    #[doc = "0x09 - Debug control"]
17    pub dbgctrl: DBGCTRL,
18    _reserved7: [u8; 2usize],
19    #[doc = "0x0c - Keyword n"]
20    pub keyword: [KEYWORD; 8],
21    _reserved8: [u8; 12usize],
22    #[doc = "0x38 - Indata"]
23    pub indata: INDATA,
24    #[doc = "0x3c - Initialisation Vector n"]
25    pub intvectv: [INTVECTV; 4],
26    _reserved10: [u8; 16usize],
27    #[doc = "0x5c - Hash key n"]
28    pub hashkey: [HASHKEY; 4],
29    #[doc = "0x6c - Galois Hash n"]
30    pub ghash: [GHASH; 4],
31    _reserved12: [u8; 4usize],
32    #[doc = "0x80 - Cipher Length"]
33    pub ciplen: CIPLEN,
34    #[doc = "0x84 - Random Seed"]
35    pub randseed: RANDSEED,
36}
37#[doc = "Control A\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ctrla](ctrla) module"]
38pub type CTRLA = crate::Reg<u32, _CTRLA>;
39#[allow(missing_docs)]
40#[doc(hidden)]
41pub struct _CTRLA;
42#[doc = "`read()` method returns [ctrla::R](ctrla::R) reader structure"]
43impl crate::Readable for CTRLA {}
44#[doc = "`write(|w| ..)` method takes [ctrla::W](ctrla::W) writer structure"]
45impl crate::Writable for CTRLA {}
46#[doc = "Control A"]
47pub mod ctrla;
48#[doc = "Control B\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ctrlb](ctrlb) module"]
49pub type CTRLB = crate::Reg<u8, _CTRLB>;
50#[allow(missing_docs)]
51#[doc(hidden)]
52pub struct _CTRLB;
53#[doc = "`read()` method returns [ctrlb::R](ctrlb::R) reader structure"]
54impl crate::Readable for CTRLB {}
55#[doc = "`write(|w| ..)` method takes [ctrlb::W](ctrlb::W) writer structure"]
56impl crate::Writable for CTRLB {}
57#[doc = "Control B"]
58pub mod ctrlb;
59#[doc = "Interrupt Enable Clear\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [intenclr](intenclr) module"]
60pub type INTENCLR = crate::Reg<u8, _INTENCLR>;
61#[allow(missing_docs)]
62#[doc(hidden)]
63pub struct _INTENCLR;
64#[doc = "`read()` method returns [intenclr::R](intenclr::R) reader structure"]
65impl crate::Readable for INTENCLR {}
66#[doc = "`write(|w| ..)` method takes [intenclr::W](intenclr::W) writer structure"]
67impl crate::Writable for INTENCLR {}
68#[doc = "Interrupt Enable Clear"]
69pub mod intenclr;
70#[doc = "Interrupt Enable Set\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [intenset](intenset) module"]
71pub type INTENSET = crate::Reg<u8, _INTENSET>;
72#[allow(missing_docs)]
73#[doc(hidden)]
74pub struct _INTENSET;
75#[doc = "`read()` method returns [intenset::R](intenset::R) reader structure"]
76impl crate::Readable for INTENSET {}
77#[doc = "`write(|w| ..)` method takes [intenset::W](intenset::W) writer structure"]
78impl crate::Writable for INTENSET {}
79#[doc = "Interrupt Enable Set"]
80pub mod intenset;
81#[doc = "Interrupt Flag Status\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [intflag](intflag) module"]
82pub type INTFLAG = crate::Reg<u8, _INTFLAG>;
83#[allow(missing_docs)]
84#[doc(hidden)]
85pub struct _INTFLAG;
86#[doc = "`read()` method returns [intflag::R](intflag::R) reader structure"]
87impl crate::Readable for INTFLAG {}
88#[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"]
89impl crate::Writable for INTFLAG {}
90#[doc = "Interrupt Flag Status"]
91pub mod intflag;
92#[doc = "Data buffer pointer\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [databufptr](databufptr) module"]
93pub type DATABUFPTR = crate::Reg<u8, _DATABUFPTR>;
94#[allow(missing_docs)]
95#[doc(hidden)]
96pub struct _DATABUFPTR;
97#[doc = "`read()` method returns [databufptr::R](databufptr::R) reader structure"]
98impl crate::Readable for DATABUFPTR {}
99#[doc = "`write(|w| ..)` method takes [databufptr::W](databufptr::W) writer structure"]
100impl crate::Writable for DATABUFPTR {}
101#[doc = "Data buffer pointer"]
102pub mod databufptr;
103#[doc = "Debug control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [dbgctrl](dbgctrl) module"]
104pub type DBGCTRL = crate::Reg<u8, _DBGCTRL>;
105#[allow(missing_docs)]
106#[doc(hidden)]
107pub struct _DBGCTRL;
108#[doc = "`read()` method returns [dbgctrl::R](dbgctrl::R) reader structure"]
109impl crate::Readable for DBGCTRL {}
110#[doc = "`write(|w| ..)` method takes [dbgctrl::W](dbgctrl::W) writer structure"]
111impl crate::Writable for DBGCTRL {}
112#[doc = "Debug control"]
113pub mod dbgctrl;
114#[doc = "Keyword n\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [keyword](keyword) module"]
115pub type KEYWORD = crate::Reg<u32, _KEYWORD>;
116#[allow(missing_docs)]
117#[doc(hidden)]
118pub struct _KEYWORD;
119#[doc = "`write(|w| ..)` method takes [keyword::W](keyword::W) writer structure"]
120impl crate::Writable for KEYWORD {}
121#[doc = "Keyword n"]
122pub mod keyword;
123#[doc = "Indata\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [indata](indata) module"]
124pub type INDATA = crate::Reg<u32, _INDATA>;
125#[allow(missing_docs)]
126#[doc(hidden)]
127pub struct _INDATA;
128#[doc = "`read()` method returns [indata::R](indata::R) reader structure"]
129impl crate::Readable for INDATA {}
130#[doc = "`write(|w| ..)` method takes [indata::W](indata::W) writer structure"]
131impl crate::Writable for INDATA {}
132#[doc = "Indata"]
133pub mod indata;
134#[doc = "Initialisation Vector n\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [intvectv](intvectv) module"]
135pub type INTVECTV = crate::Reg<u32, _INTVECTV>;
136#[allow(missing_docs)]
137#[doc(hidden)]
138pub struct _INTVECTV;
139#[doc = "`write(|w| ..)` method takes [intvectv::W](intvectv::W) writer structure"]
140impl crate::Writable for INTVECTV {}
141#[doc = "Initialisation Vector n"]
142pub mod intvectv;
143#[doc = "Hash key n\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [hashkey](hashkey) module"]
144pub type HASHKEY = crate::Reg<u32, _HASHKEY>;
145#[allow(missing_docs)]
146#[doc(hidden)]
147pub struct _HASHKEY;
148#[doc = "`read()` method returns [hashkey::R](hashkey::R) reader structure"]
149impl crate::Readable for HASHKEY {}
150#[doc = "`write(|w| ..)` method takes [hashkey::W](hashkey::W) writer structure"]
151impl crate::Writable for HASHKEY {}
152#[doc = "Hash key n"]
153pub mod hashkey;
154#[doc = "Galois Hash n\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ghash](ghash) module"]
155pub type GHASH = crate::Reg<u32, _GHASH>;
156#[allow(missing_docs)]
157#[doc(hidden)]
158pub struct _GHASH;
159#[doc = "`read()` method returns [ghash::R](ghash::R) reader structure"]
160impl crate::Readable for GHASH {}
161#[doc = "`write(|w| ..)` method takes [ghash::W](ghash::W) writer structure"]
162impl crate::Writable for GHASH {}
163#[doc = "Galois Hash n"]
164pub mod ghash;
165#[doc = "Cipher Length\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ciplen](ciplen) module"]
166pub type CIPLEN = crate::Reg<u32, _CIPLEN>;
167#[allow(missing_docs)]
168#[doc(hidden)]
169pub struct _CIPLEN;
170#[doc = "`read()` method returns [ciplen::R](ciplen::R) reader structure"]
171impl crate::Readable for CIPLEN {}
172#[doc = "`write(|w| ..)` method takes [ciplen::W](ciplen::W) writer structure"]
173impl crate::Writable for CIPLEN {}
174#[doc = "Cipher Length"]
175pub mod ciplen;
176#[doc = "Random Seed\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [randseed](randseed) module"]
177pub type RANDSEED = crate::Reg<u32, _RANDSEED>;
178#[allow(missing_docs)]
179#[doc(hidden)]
180pub struct _RANDSEED;
181#[doc = "`read()` method returns [randseed::R](randseed::R) reader structure"]
182impl crate::Readable for RANDSEED {}
183#[doc = "`write(|w| ..)` method takes [randseed::W](randseed::W) writer structure"]
184impl crate::Writable for RANDSEED {}
185#[doc = "Random Seed"]
186pub mod randseed;