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 163 164 165 166 167 168 169 170 171 172 173
#![deny(warnings)] #![allow(non_camel_case_types)] #![allow(clippy::all)] #![no_std] mod generic; pub use generic::*; #[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control register for hardware triggers"] pub hc0: HC0, #[doc = "0x04 - Control register for hardware triggers"] pub hc1: HC, #[doc = "0x08 - Control register for hardware triggers"] pub hc2: HC, #[doc = "0x0c - Control register for hardware triggers"] pub hc3: HC, #[doc = "0x10 - Control register for hardware triggers"] pub hc4: HC, #[doc = "0x14 - Control register for hardware triggers"] pub hc5: HC, #[doc = "0x18 - Control register for hardware triggers"] pub hc6: HC, #[doc = "0x1c - Control register for hardware triggers"] pub hc7: HC, #[doc = "0x20 - Status register for HW triggers"] pub hs: HS, #[doc = "0x24 - Data result register for HW triggers"] pub result0: RESULT0, #[doc = "0x28 - Data result register for HW triggers"] pub result1: RESULT, #[doc = "0x2c - Data result register for HW triggers"] pub result2: RESULT, #[doc = "0x30 - Data result register for HW triggers"] pub result3: RESULT, #[doc = "0x34 - Data result register for HW triggers"] pub result4: RESULT, #[doc = "0x38 - Data result register for HW triggers"] pub result5: RESULT, #[doc = "0x3c - Data result register for HW triggers"] pub result6: RESULT, #[doc = "0x40 - Data result register for HW triggers"] pub result7: RESULT, #[doc = "0x44 - Configuration register"] pub cfg: CFG, #[doc = "0x48 - General control register"] pub gc: GC, #[doc = "0x4c - General status register"] pub gs: GS, #[doc = "0x50 - Compare value register"] pub cv: CV, #[doc = "0x54 - Offset correction value register"] pub ofs: OFS, #[doc = "0x58 - Calibration value register"] pub cal: CAL, } #[doc = "Control register for hardware triggers\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 [hc0](hc0) module"] pub type HC0 = crate::Reg<u32, _HC0>; #[allow(missing_docs)] #[doc(hidden)] pub struct _HC0; #[doc = "`read()` method returns [hc0::R](hc0::R) reader structure"] impl crate::Readable for HC0 {} #[doc = "`write(|w| ..)` method takes [hc0::W](hc0::W) writer structure"] impl crate::Writable for HC0 {} #[doc = "Control register for hardware triggers"] pub mod hc0; #[doc = "Control register for hardware triggers\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 [hc](hc) module"] pub type HC = crate::Reg<u32, _HC>; #[allow(missing_docs)] #[doc(hidden)] pub struct _HC; #[doc = "`read()` method returns [hc::R](hc::R) reader structure"] impl crate::Readable for HC {} #[doc = "`write(|w| ..)` method takes [hc::W](hc::W) writer structure"] impl crate::Writable for HC {} #[doc = "Control register for hardware triggers"] pub mod hc; #[doc = "Status register for HW triggers\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 [hs](hs) module"] pub type HS = crate::Reg<u32, _HS>; #[allow(missing_docs)] #[doc(hidden)] pub struct _HS; #[doc = "`read()` method returns [hs::R](hs::R) reader structure"] impl crate::Readable for HS {} #[doc = "Status register for HW triggers"] pub mod hs; #[doc = "Data result register for HW triggers\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 [result0](result0) module"] pub type RESULT0 = crate::Reg<u32, _RESULT0>; #[allow(missing_docs)] #[doc(hidden)] pub struct _RESULT0; #[doc = "`read()` method returns [result0::R](result0::R) reader structure"] impl crate::Readable for RESULT0 {} #[doc = "Data result register for HW triggers"] pub mod result0; #[doc = "Data result register for HW triggers\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 [result](result) module"] pub type RESULT = crate::Reg<u32, _RESULT>; #[allow(missing_docs)] #[doc(hidden)] pub struct _RESULT; #[doc = "`read()` method returns [result::R](result::R) reader structure"] impl crate::Readable for RESULT {} #[doc = "Data result register for HW triggers"] pub mod result; #[doc = "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)."] pub type CFG = crate::Reg<u32, _CFG>; #[allow(missing_docs)] #[doc(hidden)] pub struct _CFG; #[doc = "`read()` method returns [cfg::R](cfg::R) reader structure"] impl crate::Readable for CFG {} #[doc = "`write(|w| ..)` method takes [cfg::W](cfg::W) writer structure"] impl crate::Writable for CFG {} #[doc = "Configuration register"] pub mod cfg; #[doc = "General 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 [gc](gc) module"] pub type GC = crate::Reg<u32, _GC>; #[allow(missing_docs)] #[doc(hidden)] pub struct _GC; #[doc = "`read()` method returns [gc::R](gc::R) reader structure"] impl crate::Readable for GC {} #[doc = "`write(|w| ..)` method takes [gc::W](gc::W) writer structure"] impl crate::Writable for GC {} #[doc = "General control register"] pub mod gc; #[doc = "General 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 [gs](gs) module"] pub type GS = crate::Reg<u32, _GS>; #[allow(missing_docs)] #[doc(hidden)] pub struct _GS; #[doc = "`read()` method returns [gs::R](gs::R) reader structure"] impl crate::Readable for GS {} #[doc = "`write(|w| ..)` method takes [gs::W](gs::W) writer structure"] impl crate::Writable for GS {} #[doc = "General status register"] pub mod gs; #[doc = "Compare value 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 [cv](cv) module"] pub type CV = crate::Reg<u32, _CV>; #[allow(missing_docs)] #[doc(hidden)] pub struct _CV; #[doc = "`read()` method returns [cv::R](cv::R) reader structure"] impl crate::Readable for CV {} #[doc = "`write(|w| ..)` method takes [cv::W](cv::W) writer structure"] impl crate::Writable for CV {} #[doc = "Compare value register"] pub mod cv; #[doc = "Offset correction value 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 [ofs](ofs) module"] pub type OFS = crate::Reg<u32, _OFS>; #[allow(missing_docs)] #[doc(hidden)] pub struct _OFS; #[doc = "`read()` method returns [ofs::R](ofs::R) reader structure"] impl crate::Readable for OFS {} #[doc = "`write(|w| ..)` method takes [ofs::W](ofs::W) writer structure"] impl crate::Writable for OFS {} #[doc = "Offset correction value register"] pub mod ofs; #[doc = "Calibration value 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 [cal](cal) module"] pub type CAL = crate::Reg<u32, _CAL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _CAL; #[doc = "`read()` method returns [cal::R](cal::R) reader structure"] impl crate::Readable for CAL {} #[doc = "`write(|w| ..)` method takes [cal::W](cal::W) writer structure"] impl crate::Writable for CAL {} #[doc = "Calibration value register"] pub mod cal;