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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Power control register 1"] pub cr1: CR1, #[doc = "0x04 - Power control register 2"] pub cr2: CR2, #[doc = "0x08 - Power control register 3"] pub cr3: CR3, #[doc = "0x0c - Power control register 4"] pub cr4: CR4, #[doc = "0x10 - Power status register 1"] pub sr1: SR1, #[doc = "0x14 - Power status register 2"] pub sr2: SR2, #[doc = "0x18 - Power status clear register"] pub scr: SCR, _reserved0: [u8; 4usize], #[doc = "0x20 - Power Port A pull-up control register"] pub pucra: PUCRA, #[doc = "0x24 - Power Port A pull-down control register"] pub pdcra: PDCRA, #[doc = "0x28 - Power Port B pull-up control register"] pub pucrb: PUCRB, #[doc = "0x2c - Power Port B pull-down control register"] pub pdcrb: PDCRB, #[doc = "0x30 - Power Port C pull-up control register"] pub pucrc: PUCRC, #[doc = "0x34 - Power Port C pull-down control register"] pub pdcrc: PDCRC, #[doc = "0x38 - Power Port D pull-up control register"] pub pucrd: PUCRD, #[doc = "0x3c - Power Port D pull-down control register"] pub pdcrd: PDCRD, _reserved1: [u8; 8usize], #[doc = "0x48 - Power Port F pull-up control register"] pub pucrf: PUCRF, #[doc = "0x4c - Power Port F pull-down control register"] pub pdcrf: PDCRF, } #[doc = "Power control register 1"] pub struct CR1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Power control register 1"] pub mod cr1; #[doc = "Power control register 2"] pub struct CR2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Power control register 2"] pub mod cr2; #[doc = "Power control register 3"] pub struct CR3 { register: ::vcell::VolatileCell<u32>, } #[doc = "Power control register 3"] pub mod cr3; #[doc = "Power control register 4"] pub struct CR4 { register: ::vcell::VolatileCell<u32>, } #[doc = "Power control register 4"] pub mod cr4; #[doc = "Power status register 1"] pub struct SR1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Power status register 1"] pub mod sr1; #[doc = "Power status register 2"] pub struct SR2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Power status register 2"] pub mod sr2; #[doc = "Power status clear register"] pub struct SCR { register: ::vcell::VolatileCell<u32>, } #[doc = "Power status clear register"] pub mod scr; #[doc = "Power Port A pull-up control register"] pub struct PUCRA { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port A pull-up control register"] pub mod pucra; #[doc = "Power Port A pull-down control register"] pub struct PDCRA { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port A pull-down control register"] pub mod pdcra; #[doc = "Power Port B pull-up control register"] pub struct PUCRB { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port B pull-up control register"] pub mod pucrb; #[doc = "Power Port B pull-down control register"] pub struct PDCRB { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port B pull-down control register"] pub mod pdcrb; #[doc = "Power Port C pull-up control register"] pub struct PUCRC { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port C pull-up control register"] pub mod pucrc; #[doc = "Power Port C pull-down control register"] pub struct PDCRC { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port C pull-down control register"] pub mod pdcrc; #[doc = "Power Port D pull-up control register"] pub struct PUCRD { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port D pull-up control register"] pub mod pucrd; #[doc = "Power Port D pull-down control register"] pub struct PDCRD { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port D pull-down control register"] pub mod pdcrd; #[doc = "Power Port F pull-up control register"] pub struct PUCRF { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port F pull-up control register"] pub mod pucrf; #[doc = "Power Port F pull-down control register"] pub struct PDCRF { register: ::vcell::VolatileCell<u32>, } #[doc = "Power Port F pull-down control register"] pub mod pdcrf;