Run with updated version of rustfmt
This commit is contained in:
@ -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)]
|
||||
|
Reference in New Issue
Block a user