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::TCD10_NBYTES_MLOFFNO {
#[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]
@ -54,10 +56,8 @@ impl NBYTESR {
#[doc = "Possible values of the field `DMLOE`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum DMLOER {
#[doc = "The minor loop offset is not applied to the DADDR"]
_0,
#[doc = "The minor loop offset is applied to the DADDR"]
_1,
#[doc = "The minor loop offset is not applied to the DADDR"] _0,
#[doc = "The minor loop offset is applied to the DADDR"] _1,
}
impl DMLOER {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -101,10 +101,8 @@ impl DMLOER {
#[doc = "Possible values of the field `SMLOE`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum SMLOER {
#[doc = "The minor loop offset is not applied to the SADDR"]
_0,
#[doc = "The minor loop offset is applied to the SADDR"]
_1,
#[doc = "The minor loop offset is not applied to the SADDR"] _0,
#[doc = "The minor loop offset is applied to the SADDR"] _1,
}
impl SMLOER {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -162,10 +160,8 @@ impl<'a> _NBYTESW<'a> {
}
#[doc = "Values that can be written to the field `DMLOE`"]
pub enum DMLOEW {
#[doc = "The minor loop offset is not applied to the DADDR"]
_0,
#[doc = "The minor loop offset is applied to the DADDR"]
_1,
#[doc = "The minor loop offset is not applied to the DADDR"] _0,
#[doc = "The minor loop offset is applied to the DADDR"] _1,
}
impl DMLOEW {
#[allow(missing_docs)]
@ -220,10 +216,8 @@ impl<'a> _DMLOEW<'a> {
}
#[doc = "Values that can be written to the field `SMLOE`"]
pub enum SMLOEW {
#[doc = "The minor loop offset is not applied to the SADDR"]
_0,
#[doc = "The minor loop offset is applied to the SADDR"]
_1,
#[doc = "The minor loop offset is not applied to the SADDR"] _0,
#[doc = "The minor loop offset is applied to the SADDR"] _1,
}
impl SMLOEW {
#[allow(missing_docs)]