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 186 187 188 189 190 191 192 193 194 195
#[doc = r"Value read from the register"] pub struct R { bits: u32, } impl super::PMC_PCSR0 { #[doc = r"Reads the contents of the register"] #[inline(always)] pub fn read(&self) -> R { R { bits: self.register.get(), } } } #[doc = r"Reader of the field"] pub type PID7_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID8_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID9_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID10_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID11_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID12_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID13_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID14_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID15_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID16_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID17_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID18_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID19_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID20_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID21_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID22_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID23_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID24_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID25_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID26_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID27_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID28_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID29_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID30_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PID31_R = crate::FR<bool, bool>; impl R { #[doc = r"Value of the register as raw bits"] #[inline(always)] pub fn bits(&self) -> u32 { self.bits } #[doc = "Bit 7 - Peripheral Clock 7 Status"] #[inline(always)] pub fn pid7(&self) -> PID7_R { PID7_R::new(((self.bits() >> 7) & 0x01) != 0) } #[doc = "Bit 8 - Peripheral Clock 8 Status"] #[inline(always)] pub fn pid8(&self) -> PID8_R { PID8_R::new(((self.bits() >> 8) & 0x01) != 0) } #[doc = "Bit 9 - Peripheral Clock 9 Status"] #[inline(always)] pub fn pid9(&self) -> PID9_R { PID9_R::new(((self.bits() >> 9) & 0x01) != 0) } #[doc = "Bit 10 - Peripheral Clock 10 Status"] #[inline(always)] pub fn pid10(&self) -> PID10_R { PID10_R::new(((self.bits() >> 10) & 0x01) != 0) } #[doc = "Bit 11 - Peripheral Clock 11 Status"] #[inline(always)] pub fn pid11(&self) -> PID11_R { PID11_R::new(((self.bits() >> 11) & 0x01) != 0) } #[doc = "Bit 12 - Peripheral Clock 12 Status"] #[inline(always)] pub fn pid12(&self) -> PID12_R { PID12_R::new(((self.bits() >> 12) & 0x01) != 0) } #[doc = "Bit 13 - Peripheral Clock 13 Status"] #[inline(always)] pub fn pid13(&self) -> PID13_R { PID13_R::new(((self.bits() >> 13) & 0x01) != 0) } #[doc = "Bit 14 - Peripheral Clock 14 Status"] #[inline(always)] pub fn pid14(&self) -> PID14_R { PID14_R::new(((self.bits() >> 14) & 0x01) != 0) } #[doc = "Bit 15 - Peripheral Clock 15 Status"] #[inline(always)] pub fn pid15(&self) -> PID15_R { PID15_R::new(((self.bits() >> 15) & 0x01) != 0) } #[doc = "Bit 16 - Peripheral Clock 16 Status"] #[inline(always)] pub fn pid16(&self) -> PID16_R { PID16_R::new(((self.bits() >> 16) & 0x01) != 0) } #[doc = "Bit 17 - Peripheral Clock 17 Status"] #[inline(always)] pub fn pid17(&self) -> PID17_R { PID17_R::new(((self.bits() >> 17) & 0x01) != 0) } #[doc = "Bit 18 - Peripheral Clock 18 Status"] #[inline(always)] pub fn pid18(&self) -> PID18_R { PID18_R::new(((self.bits() >> 18) & 0x01) != 0) } #[doc = "Bit 19 - Peripheral Clock 19 Status"] #[inline(always)] pub fn pid19(&self) -> PID19_R { PID19_R::new(((self.bits() >> 19) & 0x01) != 0) } #[doc = "Bit 20 - Peripheral Clock 20 Status"] #[inline(always)] pub fn pid20(&self) -> PID20_R { PID20_R::new(((self.bits() >> 20) & 0x01) != 0) } #[doc = "Bit 21 - Peripheral Clock 21 Status"] #[inline(always)] pub fn pid21(&self) -> PID21_R { PID21_R::new(((self.bits() >> 21) & 0x01) != 0) } #[doc = "Bit 22 - Peripheral Clock 22 Status"] #[inline(always)] pub fn pid22(&self) -> PID22_R { PID22_R::new(((self.bits() >> 22) & 0x01) != 0) } #[doc = "Bit 23 - Peripheral Clock 23 Status"] #[inline(always)] pub fn pid23(&self) -> PID23_R { PID23_R::new(((self.bits() >> 23) & 0x01) != 0) } #[doc = "Bit 24 - Peripheral Clock 24 Status"] #[inline(always)] pub fn pid24(&self) -> PID24_R { PID24_R::new(((self.bits() >> 24) & 0x01) != 0) } #[doc = "Bit 25 - Peripheral Clock 25 Status"] #[inline(always)] pub fn pid25(&self) -> PID25_R { PID25_R::new(((self.bits() >> 25) & 0x01) != 0) } #[doc = "Bit 26 - Peripheral Clock 26 Status"] #[inline(always)] pub fn pid26(&self) -> PID26_R { PID26_R::new(((self.bits() >> 26) & 0x01) != 0) } #[doc = "Bit 27 - Peripheral Clock 27 Status"] #[inline(always)] pub fn pid27(&self) -> PID27_R { PID27_R::new(((self.bits() >> 27) & 0x01) != 0) } #[doc = "Bit 28 - Peripheral Clock 28 Status"] #[inline(always)] pub fn pid28(&self) -> PID28_R { PID28_R::new(((self.bits() >> 28) & 0x01) != 0) } #[doc = "Bit 29 - Peripheral Clock 29 Status"] #[inline(always)] pub fn pid29(&self) -> PID29_R { PID29_R::new(((self.bits() >> 29) & 0x01) != 0) } #[doc = "Bit 30 - Peripheral Clock 30 Status"] #[inline(always)] pub fn pid30(&self) -> PID30_R { PID30_R::new(((self.bits() >> 30) & 0x01) != 0) } #[doc = "Bit 31 - Peripheral Clock 31 Status"] #[inline(always)] pub fn pid31(&self) -> PID31_R { PID31_R::new(((self.bits() >> 31) & 0x01) != 0) } }