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::PINCFG {
#[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,12 +45,9 @@ impl super::PINCFG {
#[doc = "Possible values of the field `TRGSEL`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum TRGSELR {
#[doc = "Input trigger is disabled."]
_00,
#[doc = "Input trigger is used instead of RXD pin input."]
_01,
#[doc = "Input trigger is used instead of CTS_B pin input."]
_10,
#[doc = "Input trigger is disabled."] _00,
#[doc = "Input trigger is used instead of RXD pin input."] _01,
#[doc = "Input trigger is used instead of CTS_B pin input."] _10,
#[doc = "Input trigger is used to modulate the TXD pin output. The TXD pin output (after TXINV configuration) is ANDed with the input trigger."]
_11,
}
@ -98,12 +97,9 @@ impl TRGSELR {
}
#[doc = "Values that can be written to the field `TRGSEL`"]
pub enum TRGSELW {
#[doc = "Input trigger is disabled."]
_00,
#[doc = "Input trigger is used instead of RXD pin input."]
_01,
#[doc = "Input trigger is used instead of CTS_B pin input."]
_10,
#[doc = "Input trigger is disabled."] _00,
#[doc = "Input trigger is used instead of RXD pin input."] _01,
#[doc = "Input trigger is used instead of CTS_B pin input."] _10,
#[doc = "Input trigger is used to modulate the TXD pin output. The TXD pin output (after TXINV configuration) is ANDed with the input trigger."]
_11,
}