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