1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control A"]
5 pub ctrla: CTRLA,
6 _reserved1: [u8; 2usize],
7 #[doc = "0x04 - Control B"]
8 pub ctrlb: CTRLB,
9 _reserved2: [u8; 2usize],
10 #[doc = "0x08 - NVM Parameter"]
11 pub param: PARAM,
12 #[doc = "0x0c - Interrupt Enable Clear"]
13 pub intenclr: INTENCLR,
14 #[doc = "0x0e - Interrupt Enable Set"]
15 pub intenset: INTENSET,
16 #[doc = "0x10 - Interrupt Flag Status and Clear"]
17 pub intflag: INTFLAG,
18 #[doc = "0x12 - Status"]
19 pub status: STATUS,
20 #[doc = "0x14 - Address"]
21 pub addr: ADDR,
22 #[doc = "0x18 - Lock Section"]
23 pub runlock: RUNLOCK,
24 #[doc = "0x1c - Page Buffer Load Data x"]
25 pub pbldata: [PBLDATA; 2],
26 #[doc = "0x24 - ECC Error Status Register"]
27 pub eccerr: ECCERR,
28 #[doc = "0x28 - Debug Control"]
29 pub dbgctrl: DBGCTRL,
30 _reserved12: [u8; 1usize],
31 #[doc = "0x2a - SmartEEPROM Configuration Register"]
32 pub seecfg: SEECFG,
33 _reserved13: [u8; 1usize],
34 #[doc = "0x2c - SmartEEPROM Status Register"]
35 pub seestat: SEESTAT,
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<u16, _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 [`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 [ctrlb](ctrlb) module"]
49pub type CTRLB = crate::Reg<u16, _CTRLB>;
50#[allow(missing_docs)]
51#[doc(hidden)]
52pub struct _CTRLB;
53#[doc = "`write(|w| ..)` method takes [ctrlb::W](ctrlb::W) writer structure"]
54impl crate::Writable for CTRLB {}
55#[doc = "Control B"]
56pub mod ctrlb;
57#[doc = "NVM Parameter\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [param](param) module"]
58pub type PARAM = crate::Reg<u32, _PARAM>;
59#[allow(missing_docs)]
60#[doc(hidden)]
61pub struct _PARAM;
62#[doc = "`read()` method returns [param::R](param::R) reader structure"]
63impl crate::Readable for PARAM {}
64#[doc = "NVM Parameter"]
65pub mod param;
66#[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"]
67pub type INTENCLR = crate::Reg<u16, _INTENCLR>;
68#[allow(missing_docs)]
69#[doc(hidden)]
70pub struct _INTENCLR;
71#[doc = "`read()` method returns [intenclr::R](intenclr::R) reader structure"]
72impl crate::Readable for INTENCLR {}
73#[doc = "`write(|w| ..)` method takes [intenclr::W](intenclr::W) writer structure"]
74impl crate::Writable for INTENCLR {}
75#[doc = "Interrupt Enable Clear"]
76pub mod intenclr;
77#[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"]
78pub type INTENSET = crate::Reg<u16, _INTENSET>;
79#[allow(missing_docs)]
80#[doc(hidden)]
81pub struct _INTENSET;
82#[doc = "`read()` method returns [intenset::R](intenset::R) reader structure"]
83impl crate::Readable for INTENSET {}
84#[doc = "`write(|w| ..)` method takes [intenset::W](intenset::W) writer structure"]
85impl crate::Writable for INTENSET {}
86#[doc = "Interrupt Enable Set"]
87pub mod intenset;
88#[doc = "Interrupt Flag Status and 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 [intflag](intflag) module"]
89pub type INTFLAG = crate::Reg<u16, _INTFLAG>;
90#[allow(missing_docs)]
91#[doc(hidden)]
92pub struct _INTFLAG;
93#[doc = "`read()` method returns [intflag::R](intflag::R) reader structure"]
94impl crate::Readable for INTFLAG {}
95#[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"]
96impl crate::Writable for INTFLAG {}
97#[doc = "Interrupt Flag Status and Clear"]
98pub mod intflag;
99#[doc = "Status\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [status](status) module"]
100pub type STATUS = crate::Reg<u16, _STATUS>;
101#[allow(missing_docs)]
102#[doc(hidden)]
103pub struct _STATUS;
104#[doc = "`read()` method returns [status::R](status::R) reader structure"]
105impl crate::Readable for STATUS {}
106#[doc = "Status"]
107pub mod status;
108#[doc = "Address\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 [addr](addr) module"]
109pub type ADDR = crate::Reg<u32, _ADDR>;
110#[allow(missing_docs)]
111#[doc(hidden)]
112pub struct _ADDR;
113#[doc = "`read()` method returns [addr::R](addr::R) reader structure"]
114impl crate::Readable for ADDR {}
115#[doc = "`write(|w| ..)` method takes [addr::W](addr::W) writer structure"]
116impl crate::Writable for ADDR {}
117#[doc = "Address"]
118pub mod addr;
119#[doc = "Lock Section\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [runlock](runlock) module"]
120pub type RUNLOCK = crate::Reg<u32, _RUNLOCK>;
121#[allow(missing_docs)]
122#[doc(hidden)]
123pub struct _RUNLOCK;
124#[doc = "`read()` method returns [runlock::R](runlock::R) reader structure"]
125impl crate::Readable for RUNLOCK {}
126#[doc = "Lock Section"]
127pub mod runlock;
128#[doc = "Page Buffer Load Data x\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pbldata](pbldata) module"]
129pub type PBLDATA = crate::Reg<u32, _PBLDATA>;
130#[allow(missing_docs)]
131#[doc(hidden)]
132pub struct _PBLDATA;
133#[doc = "`read()` method returns [pbldata::R](pbldata::R) reader structure"]
134impl crate::Readable for PBLDATA {}
135#[doc = "Page Buffer Load Data x"]
136pub mod pbldata;
137#[doc = "ECC Error Status Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [eccerr](eccerr) module"]
138pub type ECCERR = crate::Reg<u32, _ECCERR>;
139#[allow(missing_docs)]
140#[doc(hidden)]
141pub struct _ECCERR;
142#[doc = "`read()` method returns [eccerr::R](eccerr::R) reader structure"]
143impl crate::Readable for ECCERR {}
144#[doc = "ECC Error Status Register"]
145pub mod eccerr;
146#[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"]
147pub type DBGCTRL = crate::Reg<u8, _DBGCTRL>;
148#[allow(missing_docs)]
149#[doc(hidden)]
150pub struct _DBGCTRL;
151#[doc = "`read()` method returns [dbgctrl::R](dbgctrl::R) reader structure"]
152impl crate::Readable for DBGCTRL {}
153#[doc = "`write(|w| ..)` method takes [dbgctrl::W](dbgctrl::W) writer structure"]
154impl crate::Writable for DBGCTRL {}
155#[doc = "Debug Control"]
156pub mod dbgctrl;
157#[doc = "SmartEEPROM Configuration Register\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 [seecfg](seecfg) module"]
158pub type SEECFG = crate::Reg<u8, _SEECFG>;
159#[allow(missing_docs)]
160#[doc(hidden)]
161pub struct _SEECFG;
162#[doc = "`read()` method returns [seecfg::R](seecfg::R) reader structure"]
163impl crate::Readable for SEECFG {}
164#[doc = "`write(|w| ..)` method takes [seecfg::W](seecfg::W) writer structure"]
165impl crate::Writable for SEECFG {}
166#[doc = "SmartEEPROM Configuration Register"]
167pub mod seecfg;
168#[doc = "SmartEEPROM Status Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [seestat](seestat) module"]
169pub type SEESTAT = crate::Reg<u32, _SEESTAT>;
170#[allow(missing_docs)]
171#[doc(hidden)]
172pub struct _SEESTAT;
173#[doc = "`read()` method returns [seestat::R](seestat::R) reader structure"]
174impl crate::Readable for SEESTAT {}
175#[doc = "SmartEEPROM Status Register"]
176pub mod seestat;