Run with updated version of rustfmt
This commit is contained in:
@ -22,7 +22,9 @@ impl super::TCD11_ATTR {
|
||||
#[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]
|
||||
@ -65,14 +67,10 @@ impl DMODR {
|
||||
#[doc = "Possible values of the field `SSIZE`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum SSIZER {
|
||||
#[doc = "8-bit"]
|
||||
_0,
|
||||
#[doc = "16-bit"]
|
||||
_1,
|
||||
#[doc = "32-bit"]
|
||||
_10,
|
||||
#[doc = r" Reserved"]
|
||||
_Reserved(u8),
|
||||
#[doc = "8-bit"] _0,
|
||||
#[doc = "16-bit"] _1,
|
||||
#[doc = "32-bit"] _10,
|
||||
#[doc = r" Reserved"] _Reserved(u8),
|
||||
}
|
||||
impl SSIZER {
|
||||
#[doc = r" Value of the field as raw bits"]
|
||||
@ -115,10 +113,8 @@ impl SSIZER {
|
||||
#[doc = "Possible values of the field `SMOD`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum SMODR {
|
||||
#[doc = "Source address modulo feature is disabled"]
|
||||
_0,
|
||||
#[doc = r" Reserved"]
|
||||
_Reserved(u8),
|
||||
#[doc = "Source address modulo feature is disabled"] _0,
|
||||
#[doc = r" Reserved"] _Reserved(u8),
|
||||
}
|
||||
impl SMODR {
|
||||
#[doc = r" Value of the field as raw bits"]
|
||||
@ -176,12 +172,9 @@ impl<'a> _DMODW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `SSIZE`"]
|
||||
pub enum SSIZEW {
|
||||
#[doc = "8-bit"]
|
||||
_0,
|
||||
#[doc = "16-bit"]
|
||||
_1,
|
||||
#[doc = "32-bit"]
|
||||
_10,
|
||||
#[doc = "8-bit"] _0,
|
||||
#[doc = "16-bit"] _1,
|
||||
#[doc = "32-bit"] _10,
|
||||
}
|
||||
impl SSIZEW {
|
||||
#[allow(missing_docs)]
|
||||
@ -232,8 +225,7 @@ impl<'a> _SSIZEW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `SMOD`"]
|
||||
pub enum SMODW {
|
||||
#[doc = "Source address modulo feature is disabled"]
|
||||
_0,
|
||||
#[doc = "Source address modulo feature is disabled"] _0,
|
||||
}
|
||||
impl SMODW {
|
||||
#[allow(missing_docs)]
|
||||
|
Reference in New Issue
Block a user