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
use vcell::VolatileCell; #[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Version ID Register"] pub verid: VERID, #[doc = "0x04 - Parameter Register"] pub param: PARAM, #[doc = "0x08 - Module Control Register"] pub mcr: MCR, #[doc = "0x0c - Module Status Register"] pub msr: MSR, #[doc = "0x10 - Module Interrupt Enable Register"] pub mier: MIER, #[doc = "0x14 - Set Timer Enable Register"] pub setten: SETTEN, #[doc = "0x18 - Clear Timer Enable Register"] pub clrten: CLRTEN, _reserved0: [u8; 4usize], #[doc = "0x20 - Timer Value Register"] pub tval0: TVAL0, #[doc = "0x24 - Current Timer Value"] pub cval0: CVAL0, #[doc = "0x28 - Timer Control Register"] pub tctrl0: TCTRL0, _reserved1: [u8; 4usize], #[doc = "0x30 - Timer Value Register"] pub tval1: TVAL1, #[doc = "0x34 - Current Timer Value"] pub cval1: CVAL1, #[doc = "0x38 - Timer Control Register"] pub tctrl1: TCTRL1, _reserved2: [u8; 4usize], #[doc = "0x40 - Timer Value Register"] pub tval2: TVAL2, #[doc = "0x44 - Current Timer Value"] pub cval2: CVAL2, #[doc = "0x48 - Timer Control Register"] pub tctrl2: TCTRL2, _reserved3: [u8; 4usize], #[doc = "0x50 - Timer Value Register"] pub tval3: TVAL3, #[doc = "0x54 - Current Timer Value"] pub cval3: CVAL3, #[doc = "0x58 - Timer Control Register"] pub tctrl3: TCTRL3, } #[doc = "Version ID Register"] pub struct VERID { register: VolatileCell<u32>, } #[doc = "Version ID Register"] pub mod verid; #[doc = "Parameter Register"] pub struct PARAM { register: VolatileCell<u32>, } #[doc = "Parameter Register"] pub mod param; #[doc = "Module Control Register"] pub struct MCR { register: VolatileCell<u32>, } #[doc = "Module Control Register"] pub mod mcr; #[doc = "Module Status Register"] pub struct MSR { register: VolatileCell<u32>, } #[doc = "Module Status Register"] pub mod msr; #[doc = "Module Interrupt Enable Register"] pub struct MIER { register: VolatileCell<u32>, } #[doc = "Module Interrupt Enable Register"] pub mod mier; #[doc = "Set Timer Enable Register"] pub struct SETTEN { register: VolatileCell<u32>, } #[doc = "Set Timer Enable Register"] pub mod setten; #[doc = "Clear Timer Enable Register"] pub struct CLRTEN { register: VolatileCell<u32>, } #[doc = "Clear Timer Enable Register"] pub mod clrten; #[doc = "Timer Value Register"] pub struct TVAL0 { register: VolatileCell<u32>, } #[doc = "Timer Value Register"] pub mod tval0; #[doc = "Current Timer Value"] pub struct CVAL0 { register: VolatileCell<u32>, } #[doc = "Current Timer Value"] pub mod cval0; #[doc = "Timer Control Register"] pub struct TCTRL0 { register: VolatileCell<u32>, } #[doc = "Timer Control Register"] pub mod tctrl0; #[doc = "Timer Value Register"] pub struct TVAL1 { register: VolatileCell<u32>, } #[doc = "Timer Value Register"] pub mod tval1; #[doc = "Current Timer Value"] pub struct CVAL1 { register: VolatileCell<u32>, } #[doc = "Current Timer Value"] pub mod cval1; #[doc = "Timer Control Register"] pub struct TCTRL1 { register: VolatileCell<u32>, } #[doc = "Timer Control Register"] pub mod tctrl1; #[doc = "Timer Value Register"] pub struct TVAL2 { register: VolatileCell<u32>, } #[doc = "Timer Value Register"] pub mod tval2; #[doc = "Current Timer Value"] pub struct CVAL2 { register: VolatileCell<u32>, } #[doc = "Current Timer Value"] pub mod cval2; #[doc = "Timer Control Register"] pub struct TCTRL2 { register: VolatileCell<u32>, } #[doc = "Timer Control Register"] pub mod tctrl2; #[doc = "Timer Value Register"] pub struct TVAL3 { register: VolatileCell<u32>, } #[doc = "Timer Value Register"] pub mod tval3; #[doc = "Current Timer Value"] pub struct CVAL3 { register: VolatileCell<u32>, } #[doc = "Current Timer Value"] pub mod cval3; #[doc = "Timer Control Register"] pub struct TCTRL3 { register: VolatileCell<u32>, } #[doc = "Timer Control Register"] pub mod tctrl3;