1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control"]
5 pub ctrla: CTRLA,
6 #[doc = "0x01 - Configuration"]
7 pub config: CONFIG,
8 #[doc = "0x02 - Early Warning Interrupt Control"]
9 pub ewctrl: EWCTRL,
10 _reserved3: [u8; 1usize],
11 #[doc = "0x04 - Interrupt Enable Clear"]
12 pub intenclr: INTENCLR,
13 #[doc = "0x05 - Interrupt Enable Set"]
14 pub intenset: INTENSET,
15 #[doc = "0x06 - Interrupt Flag Status and Clear"]
16 pub intflag: INTFLAG,
17 _reserved6: [u8; 1usize],
18 #[doc = "0x08 - Synchronization Busy"]
19 pub syncbusy: SYNCBUSY,
20 #[doc = "0x0c - Clear"]
21 pub clear: CLEAR,
22}
23#[doc = "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 avaliable fields see [ctrla](ctrla) module"]
24pub type CTRLA = crate::Reg<u8, _CTRLA>;
25#[allow(missing_docs)]
26#[doc(hidden)]
27pub struct _CTRLA;
28#[doc = "`read()` method returns [ctrla::R](ctrla::R) reader structure"]
29impl crate::Readable for CTRLA {}
30#[doc = "`write(|w| ..)` method takes [ctrla::W](ctrla::W) writer structure"]
31impl crate::Writable for CTRLA {}
32#[doc = "Control"]
33pub mod ctrla;
34#[doc = "Configuration\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 avaliable fields see [config](config) module"]
35pub type CONFIG = crate::Reg<u8, _CONFIG>;
36#[allow(missing_docs)]
37#[doc(hidden)]
38pub struct _CONFIG;
39#[doc = "`read()` method returns [config::R](config::R) reader structure"]
40impl crate::Readable for CONFIG {}
41#[doc = "`write(|w| ..)` method takes [config::W](config::W) writer structure"]
42impl crate::Writable for CONFIG {}
43#[doc = "Configuration"]
44pub mod config;
45#[doc = "Early Warning Interrupt 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 avaliable fields see [ewctrl](ewctrl) module"]
46pub type EWCTRL = crate::Reg<u8, _EWCTRL>;
47#[allow(missing_docs)]
48#[doc(hidden)]
49pub struct _EWCTRL;
50#[doc = "`read()` method returns [ewctrl::R](ewctrl::R) reader structure"]
51impl crate::Readable for EWCTRL {}
52#[doc = "`write(|w| ..)` method takes [ewctrl::W](ewctrl::W) writer structure"]
53impl crate::Writable for EWCTRL {}
54#[doc = "Early Warning Interrupt Control"]
55pub mod ewctrl;
56#[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 avaliable fields see [intenclr](intenclr) module"]
57pub type INTENCLR = crate::Reg<u8, _INTENCLR>;
58#[allow(missing_docs)]
59#[doc(hidden)]
60pub struct _INTENCLR;
61#[doc = "`read()` method returns [intenclr::R](intenclr::R) reader structure"]
62impl crate::Readable for INTENCLR {}
63#[doc = "`write(|w| ..)` method takes [intenclr::W](intenclr::W) writer structure"]
64impl crate::Writable for INTENCLR {}
65#[doc = "Interrupt Enable Clear"]
66pub mod intenclr;
67#[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 avaliable fields see [intenset](intenset) module"]
68pub type INTENSET = crate::Reg<u8, _INTENSET>;
69#[allow(missing_docs)]
70#[doc(hidden)]
71pub struct _INTENSET;
72#[doc = "`read()` method returns [intenset::R](intenset::R) reader structure"]
73impl crate::Readable for INTENSET {}
74#[doc = "`write(|w| ..)` method takes [intenset::W](intenset::W) writer structure"]
75impl crate::Writable for INTENSET {}
76#[doc = "Interrupt Enable Set"]
77pub mod intenset;
78#[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 avaliable fields see [intflag](intflag) module"]
79pub type INTFLAG = crate::Reg<u8, _INTFLAG>;
80#[allow(missing_docs)]
81#[doc(hidden)]
82pub struct _INTFLAG;
83#[doc = "`read()` method returns [intflag::R](intflag::R) reader structure"]
84impl crate::Readable for INTFLAG {}
85#[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"]
86impl crate::Writable for INTFLAG {}
87#[doc = "Interrupt Flag Status and Clear"]
88pub mod intflag;
89#[doc = "Synchronization Busy\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [syncbusy](syncbusy) module"]
90pub type SYNCBUSY = crate::Reg<u32, _SYNCBUSY>;
91#[allow(missing_docs)]
92#[doc(hidden)]
93pub struct _SYNCBUSY;
94#[doc = "`read()` method returns [syncbusy::R](syncbusy::R) reader structure"]
95impl crate::Readable for SYNCBUSY {}
96#[doc = "Synchronization Busy"]
97pub mod syncbusy;
98#[doc = "Clear\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 avaliable fields see [clear](clear) module"]
99pub type CLEAR = crate::Reg<u8, _CLEAR>;
100#[allow(missing_docs)]
101#[doc(hidden)]
102pub struct _CLEAR;
103#[doc = "`write(|w| ..)` method takes [clear::W](clear::W) writer structure"]
104impl crate::Writable for CLEAR {}
105#[doc = "Clear"]
106pub mod clear;