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
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - the load value into the counter"] pub frc1_load: FRC1_LOAD, #[doc = "0x04 - the current value of the counter. It is a decreasingcounter."] pub frc1_count: FRC1_COUNT, #[doc = "0x08 - FRC1_CTRL"] pub frc1_ctrl: FRC1_CTRL, #[doc = "0x0c - FRC1_INT"] pub frc1_int: FRC1_INT, _reserved4: [u8; 16usize], #[doc = "0x20 - the load value into the counter"] pub frc2_load: FRC2_LOAD, #[doc = "0x24 - the current value of the counter. It is a increasingcounter."] pub frc2_count: FRC2_COUNT, #[doc = "0x28 - FRC2_CTRL"] pub frc2_ctrl: FRC2_CTRL, #[doc = "0x2c - FRC2_INT"] pub frc2_int: FRC2_INT, } #[doc = "the load value into the counter\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 [frc1_load](frc1_load) module"] pub type FRC1_LOAD = crate::Reg<u32, _FRC1_LOAD>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC1_LOAD; #[doc = "`read()` method returns [frc1_load::R](frc1_load::R) reader structure"] impl crate::Readable for FRC1_LOAD {} #[doc = "`write(|w| ..)` method takes [frc1_load::W](frc1_load::W) writer structure"] impl crate::Writable for FRC1_LOAD {} #[doc = "the load value into the counter"] pub mod frc1_load; #[doc = "the current value of the counter. It is a decreasingcounter.\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 [frc1_count](frc1_count) module"] pub type FRC1_COUNT = crate::Reg<u32, _FRC1_COUNT>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC1_COUNT; #[doc = "`read()` method returns [frc1_count::R](frc1_count::R) reader structure"] impl crate::Readable for FRC1_COUNT {} #[doc = "`write(|w| ..)` method takes [frc1_count::W](frc1_count::W) writer structure"] impl crate::Writable for FRC1_COUNT {} #[doc = "the current value of the counter. It is a decreasingcounter."] pub mod frc1_count; #[doc = "FRC1_CTRL\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 [frc1_ctrl](frc1_ctrl) module"] pub type FRC1_CTRL = crate::Reg<u32, _FRC1_CTRL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC1_CTRL; #[doc = "`read()` method returns [frc1_ctrl::R](frc1_ctrl::R) reader structure"] impl crate::Readable for FRC1_CTRL {} #[doc = "`write(|w| ..)` method takes [frc1_ctrl::W](frc1_ctrl::W) writer structure"] impl crate::Writable for FRC1_CTRL {} #[doc = "FRC1_CTRL"] pub mod frc1_ctrl; #[doc = "FRC1_INT\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 [frc1_int](frc1_int) module"] pub type FRC1_INT = crate::Reg<u32, _FRC1_INT>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC1_INT; #[doc = "`read()` method returns [frc1_int::R](frc1_int::R) reader structure"] impl crate::Readable for FRC1_INT {} #[doc = "`write(|w| ..)` method takes [frc1_int::W](frc1_int::W) writer structure"] impl crate::Writable for FRC1_INT {} #[doc = "FRC1_INT"] pub mod frc1_int; #[doc = "the load value into the counter\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 [frc2_load](frc2_load) module"] pub type FRC2_LOAD = crate::Reg<u32, _FRC2_LOAD>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC2_LOAD; #[doc = "`read()` method returns [frc2_load::R](frc2_load::R) reader structure"] impl crate::Readable for FRC2_LOAD {} #[doc = "`write(|w| ..)` method takes [frc2_load::W](frc2_load::W) writer structure"] impl crate::Writable for FRC2_LOAD {} #[doc = "the load value into the counter"] pub mod frc2_load; #[doc = "the current value of the counter. It is a increasingcounter.\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 [frc2_count](frc2_count) module"] pub type FRC2_COUNT = crate::Reg<u32, _FRC2_COUNT>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC2_COUNT; #[doc = "`read()` method returns [frc2_count::R](frc2_count::R) reader structure"] impl crate::Readable for FRC2_COUNT {} #[doc = "`write(|w| ..)` method takes [frc2_count::W](frc2_count::W) writer structure"] impl crate::Writable for FRC2_COUNT {} #[doc = "the current value of the counter. It is a increasingcounter."] pub mod frc2_count; #[doc = "FRC2_CTRL\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 [frc2_ctrl](frc2_ctrl) module"] pub type FRC2_CTRL = crate::Reg<u32, _FRC2_CTRL>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC2_CTRL; #[doc = "`read()` method returns [frc2_ctrl::R](frc2_ctrl::R) reader structure"] impl crate::Readable for FRC2_CTRL {} #[doc = "`write(|w| ..)` method takes [frc2_ctrl::W](frc2_ctrl::W) writer structure"] impl crate::Writable for FRC2_CTRL {} #[doc = "FRC2_CTRL"] pub mod frc2_ctrl; #[doc = "FRC2_INT\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 [frc2_int](frc2_int) module"] pub type FRC2_INT = crate::Reg<u32, _FRC2_INT>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FRC2_INT; #[doc = "`read()` method returns [frc2_int::R](frc2_int::R) reader structure"] impl crate::Readable for FRC2_INT {} #[doc = "`write(|w| ..)` method takes [frc2_int::W](frc2_int::W) writer structure"] impl crate::Writable for FRC2_INT {} #[doc = "FRC2_INT"] pub mod frc2_int;