Ran with svd2rust 0.12.0
This commit is contained in:
@ -45,8 +45,10 @@ impl super::POL {
|
||||
#[doc = "Possible values of the field `POL0`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL0R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL0R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -90,8 +92,10 @@ impl POL0R {
|
||||
#[doc = "Possible values of the field `POL1`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL1R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL1R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -135,8 +139,10 @@ impl POL1R {
|
||||
#[doc = "Possible values of the field `POL2`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL2R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL2R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -180,8 +186,10 @@ impl POL2R {
|
||||
#[doc = "Possible values of the field `POL3`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL3R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL3R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -225,8 +233,10 @@ impl POL3R {
|
||||
#[doc = "Possible values of the field `POL4`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL4R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL4R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -270,8 +280,10 @@ impl POL4R {
|
||||
#[doc = "Possible values of the field `POL5`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL5R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL5R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -315,8 +327,10 @@ impl POL5R {
|
||||
#[doc = "Possible values of the field `POL6`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL6R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL6R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -360,8 +374,10 @@ impl POL6R {
|
||||
#[doc = "Possible values of the field `POL7`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum POL7R {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL7R {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -404,8 +420,10 @@ impl POL7R {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL0`"]
|
||||
pub enum POL0W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL0W {
|
||||
#[allow(missing_docs)]
|
||||
@ -460,8 +478,10 @@ impl<'a> _POL0W<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL1`"]
|
||||
pub enum POL1W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL1W {
|
||||
#[allow(missing_docs)]
|
||||
@ -516,8 +536,10 @@ impl<'a> _POL1W<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL2`"]
|
||||
pub enum POL2W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL2W {
|
||||
#[allow(missing_docs)]
|
||||
@ -572,8 +594,10 @@ impl<'a> _POL2W<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL3`"]
|
||||
pub enum POL3W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL3W {
|
||||
#[allow(missing_docs)]
|
||||
@ -628,8 +652,10 @@ impl<'a> _POL3W<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL4`"]
|
||||
pub enum POL4W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL4W {
|
||||
#[allow(missing_docs)]
|
||||
@ -684,8 +710,10 @@ impl<'a> _POL4W<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL5`"]
|
||||
pub enum POL5W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL5W {
|
||||
#[allow(missing_docs)]
|
||||
@ -740,8 +768,10 @@ impl<'a> _POL5W<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL6`"]
|
||||
pub enum POL6W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL6W {
|
||||
#[allow(missing_docs)]
|
||||
@ -796,8 +826,10 @@ impl<'a> _POL6W<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `POL7`"]
|
||||
pub enum POL7W {
|
||||
#[doc = "The channel polarity is active high."] _0,
|
||||
#[doc = "The channel polarity is active low."] _1,
|
||||
#[doc = "The channel polarity is active high."]
|
||||
_0,
|
||||
#[doc = "The channel polarity is active low."]
|
||||
_1,
|
||||
}
|
||||
impl POL7W {
|
||||
#[allow(missing_docs)]
|
||||
|
Reference in New Issue
Block a user