Run with updated version of rustfmt
This commit is contained in:
@ -22,7 +22,9 @@ impl super::GLOBAL {
|
||||
#[doc = r" Reads the contents of the register"]
|
||||
#[inline]
|
||||
pub fn read(&self) -> R {
|
||||
R { bits: self.register.get() }
|
||||
R {
|
||||
bits: self.register.get(),
|
||||
}
|
||||
}
|
||||
#[doc = r" Writes to the register"]
|
||||
#[inline]
|
||||
@ -43,10 +45,8 @@ impl super::GLOBAL {
|
||||
#[doc = "Possible values of the field `RST`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum RSTR {
|
||||
#[doc = "Module is not reset."]
|
||||
_0,
|
||||
#[doc = "Module is reset."]
|
||||
_1,
|
||||
#[doc = "Module is not reset."] _0,
|
||||
#[doc = "Module is reset."] _1,
|
||||
}
|
||||
impl RSTR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -89,10 +89,8 @@ impl RSTR {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `RST`"]
|
||||
pub enum RSTW {
|
||||
#[doc = "Module is not reset."]
|
||||
_0,
|
||||
#[doc = "Module is reset."]
|
||||
_1,
|
||||
#[doc = "Module is not reset."] _0,
|
||||
#[doc = "Module is reset."] _1,
|
||||
}
|
||||
impl RSTW {
|
||||
#[allow(missing_docs)]
|
||||
|
Reference in New Issue
Block a user