1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - MCG Control 1 Register"] pub c1: C1, #[doc = "0x01 - MCG Control 2 Register"] pub c2: C2, #[doc = "0x02 - MCG Control 3 Register"] pub c3: C3, #[doc = "0x03 - MCG Control 4 Register"] pub c4: C4, #[doc = "0x04 - MCG Control 5 Register"] pub c5: C5, #[doc = "0x05 - MCG Control 6 Register"] pub c6: C6, #[doc = "0x06 - MCG Status Register"] pub s: S, _reserved7: [u8; 1usize], #[doc = "0x08 - MCG Status and Control Register"] pub sc: SC, _reserved8: [u8; 1usize], #[doc = "0x0a - MCG Auto Trim Compare Value High Register"] pub atcvh: ATCVH, #[doc = "0x0b - MCG Auto Trim Compare Value Low Register"] pub atcvl: ATCVL, #[doc = "0x0c - MCG Control 7 Register"] pub c7: C7, #[doc = "0x0d - MCG Control 8 Register"] pub c8: C8, } #[doc = "MCG Control 1 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 [c1](c1) module"] pub type C1 = crate::Reg<u8, _C1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C1; #[doc = "`read()` method returns [c1::R](c1::R) reader structure"] impl crate::Readable for C1 {} #[doc = "`write(|w| ..)` method takes [c1::W](c1::W) writer structure"] impl crate::Writable for C1 {} #[doc = "MCG Control 1 Register"] pub mod c1; #[doc = "MCG Control 2 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 [c2](c2) module"] pub type C2 = crate::Reg<u8, _C2>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C2; #[doc = "`read()` method returns [c2::R](c2::R) reader structure"] impl crate::Readable for C2 {} #[doc = "`write(|w| ..)` method takes [c2::W](c2::W) writer structure"] impl crate::Writable for C2 {} #[doc = "MCG Control 2 Register"] pub mod c2; #[doc = "MCG Control 3 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 [c3](c3) module"] pub type C3 = crate::Reg<u8, _C3>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C3; #[doc = "`read()` method returns [c3::R](c3::R) reader structure"] impl crate::Readable for C3 {} #[doc = "`write(|w| ..)` method takes [c3::W](c3::W) writer structure"] impl crate::Writable for C3 {} #[doc = "MCG Control 3 Register"] pub mod c3; #[doc = "MCG Control 4 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 [c4](c4) module"] pub type C4 = crate::Reg<u8, _C4>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C4; #[doc = "`read()` method returns [c4::R](c4::R) reader structure"] impl crate::Readable for C4 {} #[doc = "`write(|w| ..)` method takes [c4::W](c4::W) writer structure"] impl crate::Writable for C4 {} #[doc = "MCG Control 4 Register"] pub mod c4; #[doc = "MCG Control 5 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 [c5](c5) module"] pub type C5 = crate::Reg<u8, _C5>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C5; #[doc = "`read()` method returns [c5::R](c5::R) reader structure"] impl crate::Readable for C5 {} #[doc = "`write(|w| ..)` method takes [c5::W](c5::W) writer structure"] impl crate::Writable for C5 {} #[doc = "MCG Control 5 Register"] pub mod c5; #[doc = "MCG Control 6 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 [c6](c6) module"] pub type C6 = crate::Reg<u8, _C6>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C6; #[doc = "`read()` method returns [c6::R](c6::R) reader structure"] impl crate::Readable for C6 {} #[doc = "`write(|w| ..)` method takes [c6::W](c6::W) writer structure"] impl crate::Writable for C6 {} #[doc = "MCG Control 6 Register"] pub mod c6; #[doc = "MCG Status 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 [s](s) module"] pub type S = crate::Reg<u8, _S>; #[allow(missing_docs)] #[doc(hidden)] pub struct _S; #[doc = "`read()` method returns [s::R](s::R) reader structure"] impl crate::Readable for S {} #[doc = "`write(|w| ..)` method takes [s::W](s::W) writer structure"] impl crate::Writable for S {} #[doc = "MCG Status Register"] pub mod s; #[doc = "MCG Status and Control 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 [sc](sc) module"] pub type SC = crate::Reg<u8, _SC>; #[allow(missing_docs)] #[doc(hidden)] pub struct _SC; #[doc = "`read()` method returns [sc::R](sc::R) reader structure"] impl crate::Readable for SC {} #[doc = "`write(|w| ..)` method takes [sc::W](sc::W) writer structure"] impl crate::Writable for SC {} #[doc = "MCG Status and Control Register"] pub mod sc; #[doc = "MCG Auto Trim Compare Value High 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 [atcvh](atcvh) module"] pub type ATCVH = crate::Reg<u8, _ATCVH>; #[allow(missing_docs)] #[doc(hidden)] pub struct _ATCVH; #[doc = "`read()` method returns [atcvh::R](atcvh::R) reader structure"] impl crate::Readable for ATCVH {} #[doc = "`write(|w| ..)` method takes [atcvh::W](atcvh::W) writer structure"] impl crate::Writable for ATCVH {} #[doc = "MCG Auto Trim Compare Value High Register"] pub mod atcvh; #[doc = "MCG Auto Trim Compare Value Low 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 [atcvl](atcvl) module"] pub type ATCVL = crate::Reg<u8, _ATCVL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _ATCVL; #[doc = "`read()` method returns [atcvl::R](atcvl::R) reader structure"] impl crate::Readable for ATCVL {} #[doc = "`write(|w| ..)` method takes [atcvl::W](atcvl::W) writer structure"] impl crate::Writable for ATCVL {} #[doc = "MCG Auto Trim Compare Value Low Register"] pub mod atcvl; #[doc = "MCG Control 7 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 [c7](c7) module"] pub type C7 = crate::Reg<u8, _C7>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C7; #[doc = "`read()` method returns [c7::R](c7::R) reader structure"] impl crate::Readable for C7 {} #[doc = "`write(|w| ..)` method takes [c7::W](c7::W) writer structure"] impl crate::Writable for C7 {} #[doc = "MCG Control 7 Register"] pub mod c7; #[doc = "MCG Control 8 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 [c8](c8) module"] pub type C8 = crate::Reg<u8, _C8>; #[allow(missing_docs)] #[doc(hidden)] pub struct _C8; #[doc = "`read()` method returns [c8::R](c8::R) reader structure"] impl crate::Readable for C8 {} #[doc = "`write(|w| ..)` method takes [c8::W](c8::W) writer structure"] impl crate::Writable for C8 {} #[doc = "MCG Control 8 Register"] pub mod c8;