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 174 175 176 177 178 179 180 181 182 183 184 185
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - AES Start"] pub start: START, #[doc = "0x04 - AES Idle"] pub idle: IDLE, #[doc = "0x08 - AES Mode"] pub mode: MODE, _reserved3: [u8; 4usize], #[doc = "0x10 - AES Key material 0"] pub key_0: KEY_0, #[doc = "0x14 - AES Key material 1"] pub key_1: KEY_1, #[doc = "0x18 - AES Key material 2"] pub key_2: KEY_2, #[doc = "0x1c - AES Key material 3"] pub key_3: KEY_3, #[doc = "0x20 - AES Key material 4"] pub key_4: KEY_4, #[doc = "0x24 - AES Key material 5"] pub key_5: KEY_5, #[doc = "0x28 - AES Key material 6"] pub key_6: KEY_6, #[doc = "0x2c - AES Key material 7"] pub key_7: KEY_7, #[doc = "0x30 - Plaintext and ciphertext register 0"] pub text_0: TEXT_0, #[doc = "0x34 - Plaintext and ciphertext register 1"] pub text_1: TEXT_1, #[doc = "0x38 - Plaintext and ciphertext register 2"] pub text_2: TEXT_2, #[doc = "0x3c - Plaintext and ciphertext register 3"] pub text_3: TEXT_3, #[doc = "0x40 - AES Endian selection"] pub endian: ENDIAN, } #[doc = "AES Start\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 available fields see [start](start) module"] pub type START = crate::Reg<u32, _START>; #[allow(missing_docs)] #[doc(hidden)] pub struct _START; #[doc = "`write(|w| ..)` method takes [start::W](start::W) writer structure"] impl crate::Writable for START {} #[doc = "AES Start"] pub mod start; #[doc = "AES Idle\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 [idle](idle) module"] pub type IDLE = crate::Reg<u32, _IDLE>; #[allow(missing_docs)] #[doc(hidden)] pub struct _IDLE; #[doc = "`read()` method returns [idle::R](idle::R) reader structure"] impl crate::Readable for IDLE {} #[doc = "AES Idle"] pub mod idle; #[doc = "AES Mode\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 [mode](mode) module"] pub type MODE = crate::Reg<u32, _MODE>; #[allow(missing_docs)] #[doc(hidden)] pub struct _MODE; #[doc = "`read()` method returns [mode::R](mode::R) reader structure"] impl crate::Readable for MODE {} #[doc = "`write(|w| ..)` method takes [mode::W](mode::W) writer structure"] impl crate::Writable for MODE {} #[doc = "AES Mode"] pub mod mode; #[doc = "AES Key material 0\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 [key_0](key_0) module"] pub type KEY_0 = crate::Reg<u32, _KEY_0>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_0; #[doc = "`read()` method returns [key_0::R](key_0::R) reader structure"] impl crate::Readable for KEY_0 {} #[doc = "AES Key material 0"] pub mod key_0; #[doc = "AES Key material 1\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 [key_1](key_1) module"] pub type KEY_1 = crate::Reg<u32, _KEY_1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_1; #[doc = "`read()` method returns [key_1::R](key_1::R) reader structure"] impl crate::Readable for KEY_1 {} #[doc = "AES Key material 1"] pub mod key_1; #[doc = "AES Key material 2\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 [key_2](key_2) module"] pub type KEY_2 = crate::Reg<u32, _KEY_2>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_2; #[doc = "`read()` method returns [key_2::R](key_2::R) reader structure"] impl crate::Readable for KEY_2 {} #[doc = "AES Key material 2"] pub mod key_2; #[doc = "AES Key material 3\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 [key_3](key_3) module"] pub type KEY_3 = crate::Reg<u32, _KEY_3>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_3; #[doc = "`read()` method returns [key_3::R](key_3::R) reader structure"] impl crate::Readable for KEY_3 {} #[doc = "AES Key material 3"] pub mod key_3; #[doc = "AES Key material 4\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 [key_4](key_4) module"] pub type KEY_4 = crate::Reg<u32, _KEY_4>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_4; #[doc = "`read()` method returns [key_4::R](key_4::R) reader structure"] impl crate::Readable for KEY_4 {} #[doc = "AES Key material 4"] pub mod key_4; #[doc = "AES Key material 5\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 [key_5](key_5) module"] pub type KEY_5 = crate::Reg<u32, _KEY_5>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_5; #[doc = "`read()` method returns [key_5::R](key_5::R) reader structure"] impl crate::Readable for KEY_5 {} #[doc = "AES Key material 5"] pub mod key_5; #[doc = "AES Key material 6\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 [key_6](key_6) module"] pub type KEY_6 = crate::Reg<u32, _KEY_6>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_6; #[doc = "`read()` method returns [key_6::R](key_6::R) reader structure"] impl crate::Readable for KEY_6 {} #[doc = "AES Key material 6"] pub mod key_6; #[doc = "AES Key material 7\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 [key_7](key_7) module"] pub type KEY_7 = crate::Reg<u32, _KEY_7>; #[allow(missing_docs)] #[doc(hidden)] pub struct _KEY_7; #[doc = "`read()` method returns [key_7::R](key_7::R) reader structure"] impl crate::Readable for KEY_7 {} #[doc = "AES Key material 7"] pub mod key_7; #[doc = "Plaintext and ciphertext register 0\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 [text_0](text_0) module"] pub type TEXT_0 = crate::Reg<u32, _TEXT_0>; #[allow(missing_docs)] #[doc(hidden)] pub struct _TEXT_0; #[doc = "`read()` method returns [text_0::R](text_0::R) reader structure"] impl crate::Readable for TEXT_0 {} #[doc = "Plaintext and ciphertext register 0"] pub mod text_0; #[doc = "Plaintext and ciphertext register 1\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 [text_1](text_1) module"] pub type TEXT_1 = crate::Reg<u32, _TEXT_1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _TEXT_1; #[doc = "`read()` method returns [text_1::R](text_1::R) reader structure"] impl crate::Readable for TEXT_1 {} #[doc = "Plaintext and ciphertext register 1"] pub mod text_1; #[doc = "Plaintext and ciphertext register 2\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 [text_2](text_2) module"] pub type TEXT_2 = crate::Reg<u32, _TEXT_2>; #[allow(missing_docs)] #[doc(hidden)] pub struct _TEXT_2; #[doc = "`read()` method returns [text_2::R](text_2::R) reader structure"] impl crate::Readable for TEXT_2 {} #[doc = "Plaintext and ciphertext register 2"] pub mod text_2; #[doc = "Plaintext and ciphertext register 3\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 [text_3](text_3) module"] pub type TEXT_3 = crate::Reg<u32, _TEXT_3>; #[allow(missing_docs)] #[doc(hidden)] pub struct _TEXT_3; #[doc = "`read()` method returns [text_3::R](text_3::R) reader structure"] impl crate::Readable for TEXT_3 {} #[doc = "Plaintext and ciphertext register 3"] pub mod text_3; #[doc = "AES Endian selection\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 [endian](endian) module"] pub type ENDIAN = crate::Reg<u32, _ENDIAN>; #[allow(missing_docs)] #[doc(hidden)] pub struct _ENDIAN; #[doc = "`read()` method returns [endian::R](endian::R) reader structure"] impl crate::Readable for ENDIAN {} #[doc = "`write(|w| ..)` method takes [endian::W](endian::W) writer structure"] impl crate::Writable for ENDIAN {} #[doc = "AES Endian selection"] pub mod endian;