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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Flash Status Register"] pub fstat: FSTAT, #[doc = "0x01 - Flash Configuration Register"] pub fcnfg: FCNFG, #[doc = "0x02 - Flash Security Register"] pub fsec: FSEC, #[doc = "0x03 - Flash Option Register"] pub fopt: FOPT, #[doc = "0x04 - Flash Common Command Object Registers"] pub fccob3: FCCOB, #[doc = "0x05 - Flash Common Command Object Registers"] pub fccob2: FCCOB, #[doc = "0x06 - Flash Common Command Object Registers"] pub fccob1: FCCOB, #[doc = "0x07 - Flash Common Command Object Registers"] pub fccob0: FCCOB, #[doc = "0x08 - Flash Common Command Object Registers"] pub fccob7: FCCOB, #[doc = "0x09 - Flash Common Command Object Registers"] pub fccob6: FCCOB, #[doc = "0x0a - Flash Common Command Object Registers"] pub fccob5: FCCOB, #[doc = "0x0b - Flash Common Command Object Registers"] pub fccob4: FCCOB, #[doc = "0x0c - Flash Common Command Object Registers"] pub fccobb: FCCOB, #[doc = "0x0d - Flash Common Command Object Registers"] pub fccoba: FCCOB, #[doc = "0x0e - Flash Common Command Object Registers"] pub fccob9: FCCOB, #[doc = "0x0f - Flash Common Command Object Registers"] pub fccob8: FCCOB, #[doc = "0x10 - Program Flash Protection Registers"] pub fprot3: FPROT, #[doc = "0x11 - Program Flash Protection Registers"] pub fprot2: FPROT, #[doc = "0x12 - Program Flash Protection Registers"] pub fprot1: FPROT, #[doc = "0x13 - Program Flash Protection Registers"] pub fprot0: FPROT, _reserved0: [u8; 2usize], #[doc = "0x16 - EEPROM Protection Register"] pub feprot: FEPROT, #[doc = "0x17 - Data Flash Protection Register"] pub fdprot: FDPROT, #[doc = "0x18 - Execute-only Access Registers"] pub xacch3: XACC, #[doc = "0x19 - Execute-only Access Registers"] pub xacch2: XACC, #[doc = "0x1a - Execute-only Access Registers"] pub xacch1: XACC, #[doc = "0x1b - Execute-only Access Registers"] pub xacch0: XACC, #[doc = "0x1c - Execute-only Access Registers"] pub xaccl3: XACC, #[doc = "0x1d - Execute-only Access Registers"] pub xaccl2: XACC, #[doc = "0x1e - Execute-only Access Registers"] pub xaccl1: XACC, #[doc = "0x1f - Execute-only Access Registers"] pub xaccl0: XACC, #[doc = "0x20 - Supervisor-only Access Registers"] pub sacch3: SACC, #[doc = "0x21 - Supervisor-only Access Registers"] pub sacch2: SACC, #[doc = "0x22 - Supervisor-only Access Registers"] pub sacch1: SACC, #[doc = "0x23 - Supervisor-only Access Registers"] pub sacch0: SACC, #[doc = "0x24 - Supervisor-only Access Registers"] pub saccl3: SACC, #[doc = "0x25 - Supervisor-only Access Registers"] pub saccl2: SACC, #[doc = "0x26 - Supervisor-only Access Registers"] pub saccl1: SACC, #[doc = "0x27 - Supervisor-only Access Registers"] pub saccl0: SACC, #[doc = "0x28 - Flash Access Segment Size Register"] pub facss: FACSS, _reserved1: [u8; 2usize], #[doc = "0x2b - Flash Access Segment Number Register"] pub facsn: FACSN, } #[doc = "Flash Status Register"] pub struct FSTAT { register: ::vcell::VolatileCell<u8>, } #[doc = "Flash Status Register"] pub mod fstat; #[doc = "Flash Configuration Register"] pub struct FCNFG { register: ::vcell::VolatileCell<u8>, } #[doc = "Flash Configuration Register"] pub mod fcnfg; #[doc = "Flash Security Register"] pub struct FSEC { register: ::vcell::VolatileCell<u8>, } #[doc = "Flash Security Register"] pub mod fsec; #[doc = "Flash Option Register"] pub struct FOPT { register: ::vcell::VolatileCell<u8>, } #[doc = "Flash Option Register"] pub mod fopt; #[doc = "Flash Common Command Object Registers"] pub struct FCCOB { register: ::vcell::VolatileCell<u8>, } #[doc = "Flash Common Command Object Registers"] pub mod fccob; #[doc = "Program Flash Protection Registers"] pub struct FPROT { register: ::vcell::VolatileCell<u8>, } #[doc = "Program Flash Protection Registers"] pub mod fprot; #[doc = "EEPROM Protection Register"] pub struct FEPROT { register: ::vcell::VolatileCell<u8>, } #[doc = "EEPROM Protection Register"] pub mod feprot; #[doc = "Data Flash Protection Register"] pub struct FDPROT { register: ::vcell::VolatileCell<u8>, } #[doc = "Data Flash Protection Register"] pub mod fdprot; #[doc = "Execute-only Access Registers"] pub struct XACC { register: ::vcell::VolatileCell<u8>, } #[doc = "Execute-only Access Registers"] pub mod xacc; #[doc = "Supervisor-only Access Registers"] pub struct SACC { register: ::vcell::VolatileCell<u8>, } #[doc = "Supervisor-only Access Registers"] pub mod sacc; #[doc = "Flash Access Segment Size Register"] pub struct FACSS { register: ::vcell::VolatileCell<u8>, } #[doc = "Flash Access Segment Size Register"] pub mod facss; #[doc = "Flash Access Segment Number Register"] pub struct FACSN { register: ::vcell::VolatileCell<u8>, } #[doc = "Flash Access Segment Number Register"] pub mod facsn;