Run with updated version of rustfmt
This commit is contained in:
@ -22,7 +22,9 @@ impl super::TCD13_BITER_ELINKNO {
|
||||
#[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 BITERR {
|
||||
#[doc = "Possible values of the field `ELINK`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum ELINKR {
|
||||
#[doc = "The channel-to-channel linking is disabled"]
|
||||
_0,
|
||||
#[doc = "The channel-to-channel linking is enabled"]
|
||||
_1,
|
||||
#[doc = "The channel-to-channel linking is disabled"] _0,
|
||||
#[doc = "The channel-to-channel linking is enabled"] _1,
|
||||
}
|
||||
impl ELINKR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -115,10 +115,8 @@ impl<'a> _BITERW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `ELINK`"]
|
||||
pub enum ELINKW {
|
||||
#[doc = "The channel-to-channel linking is disabled"]
|
||||
_0,
|
||||
#[doc = "The channel-to-channel linking is enabled"]
|
||||
_1,
|
||||
#[doc = "The channel-to-channel linking is disabled"] _0,
|
||||
#[doc = "The channel-to-channel linking is enabled"] _1,
|
||||
}
|
||||
impl ELINKW {
|
||||
#[allow(missing_docs)]
|
||||
|
Reference in New Issue
Block a user