Run with updated version of rustfmt

This commit is contained in:
Kjetil Kjeka
2017-09-23 20:31:10 +02:00
parent 7facea48b2
commit 2fc3ce22de
1658 changed files with 25191 additions and 42351 deletions

View File

@ -22,7 +22,9 @@ impl super::FIRCCFG {
#[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,14 +45,10 @@ impl super::FIRCCFG {
#[doc = "Possible values of the field `RANGE`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RANGER {
#[doc = "Fast IRC is trimmed to 48 MHz"]
_00,
#[doc = "Fast IRC is trimmed to 52 MHz"]
_01,
#[doc = "Fast IRC is trimmed to 56 MHz"]
_10,
#[doc = "Fast IRC is trimmed to 60 MHz"]
_11,
#[doc = "Fast IRC is trimmed to 48 MHz"] _00,
#[doc = "Fast IRC is trimmed to 52 MHz"] _01,
#[doc = "Fast IRC is trimmed to 56 MHz"] _10,
#[doc = "Fast IRC is trimmed to 60 MHz"] _11,
}
impl RANGER {
#[doc = r" Value of the field as raw bits"]
@ -98,14 +96,10 @@ impl RANGER {
}
#[doc = "Values that can be written to the field `RANGE`"]
pub enum RANGEW {
#[doc = "Fast IRC is trimmed to 48 MHz"]
_00,
#[doc = "Fast IRC is trimmed to 52 MHz"]
_01,
#[doc = "Fast IRC is trimmed to 56 MHz"]
_10,
#[doc = "Fast IRC is trimmed to 60 MHz"]
_11,
#[doc = "Fast IRC is trimmed to 48 MHz"] _00,
#[doc = "Fast IRC is trimmed to 52 MHz"] _01,
#[doc = "Fast IRC is trimmed to 56 MHz"] _10,
#[doc = "Fast IRC is trimmed to 60 MHz"] _11,
}
impl RANGEW {
#[allow(missing_docs)]