py32f0/py32f002a/pwr/
sr.rs

1///Register `SR` reader
2pub struct R(crate::R<SR_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<SR_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<SR_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<SR_SPEC>) -> Self {
13        R(reader)
14    }
15}
16/**Power status register
17
18This register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
19
20For information about available fields see [sr](index.html) module*/
21pub struct SR_SPEC;
22impl crate::RegisterSpec for SR_SPEC {
23    type Ux = u32;
24}
25///`read()` method returns [sr::R](R) reader structure
26impl crate::Readable for SR_SPEC {
27    type Reader = R;
28}
29///`reset()` method sets SR to value 0
30impl crate::Resettable for SR_SPEC {
31    const RESET_VALUE: Self::Ux = 0;
32}