Ran with svd2rust 0.12.0
This commit is contained in:
@ -45,8 +45,10 @@ impl super::FLTCTRL {
|
||||
#[doc = "Possible values of the field `FAULT0EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FAULT0ENR {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT0ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -90,8 +92,10 @@ impl FAULT0ENR {
|
||||
#[doc = "Possible values of the field `FAULT1EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FAULT1ENR {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT1ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -135,8 +139,10 @@ impl FAULT1ENR {
|
||||
#[doc = "Possible values of the field `FAULT2EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FAULT2ENR {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT2ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -180,8 +186,10 @@ impl FAULT2ENR {
|
||||
#[doc = "Possible values of the field `FAULT3EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FAULT3ENR {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT3ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -225,8 +233,10 @@ impl FAULT3ENR {
|
||||
#[doc = "Possible values of the field `FFLTR0EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FFLTR0ENR {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR0ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -270,8 +280,10 @@ impl FFLTR0ENR {
|
||||
#[doc = "Possible values of the field `FFLTR1EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FFLTR1ENR {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR1ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -315,8 +327,10 @@ impl FFLTR1ENR {
|
||||
#[doc = "Possible values of the field `FFLTR2EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FFLTR2ENR {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR2ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -360,8 +374,10 @@ impl FFLTR2ENR {
|
||||
#[doc = "Possible values of the field `FFLTR3EN`"]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum FFLTR3ENR {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR3ENR {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -418,7 +434,8 @@ impl FFVALR {
|
||||
pub enum FSTATER {
|
||||
#[doc = "FTM outputs will be placed into safe values when fault events in ongoing (defined by POL bits)."]
|
||||
_0,
|
||||
#[doc = "FTM outputs will be tri-stated when fault event is ongoing"] _1,
|
||||
#[doc = "FTM outputs will be tri-stated when fault event is ongoing"]
|
||||
_1,
|
||||
}
|
||||
impl FSTATER {
|
||||
#[doc = r" Returns `true` if the bit is clear (0)"]
|
||||
@ -461,8 +478,10 @@ impl FSTATER {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FAULT0EN`"]
|
||||
pub enum FAULT0ENW {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT0ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -517,8 +536,10 @@ impl<'a> _FAULT0ENW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FAULT1EN`"]
|
||||
pub enum FAULT1ENW {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT1ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -573,8 +594,10 @@ impl<'a> _FAULT1ENW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FAULT2EN`"]
|
||||
pub enum FAULT2ENW {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT2ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -629,8 +652,10 @@ impl<'a> _FAULT2ENW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FAULT3EN`"]
|
||||
pub enum FAULT3ENW {
|
||||
#[doc = "Fault input is disabled."] _0,
|
||||
#[doc = "Fault input is enabled."] _1,
|
||||
#[doc = "Fault input is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FAULT3ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -685,8 +710,10 @@ impl<'a> _FAULT3ENW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FFLTR0EN`"]
|
||||
pub enum FFLTR0ENW {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR0ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -741,8 +768,10 @@ impl<'a> _FFLTR0ENW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FFLTR1EN`"]
|
||||
pub enum FFLTR1ENW {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR1ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -797,8 +826,10 @@ impl<'a> _FFLTR1ENW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FFLTR2EN`"]
|
||||
pub enum FFLTR2ENW {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR2ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -853,8 +884,10 @@ impl<'a> _FFLTR2ENW<'a> {
|
||||
}
|
||||
#[doc = "Values that can be written to the field `FFLTR3EN`"]
|
||||
pub enum FFLTR3ENW {
|
||||
#[doc = "Fault input filter is disabled."] _0,
|
||||
#[doc = "Fault input filter is enabled."] _1,
|
||||
#[doc = "Fault input filter is disabled."]
|
||||
_0,
|
||||
#[doc = "Fault input filter is enabled."]
|
||||
_1,
|
||||
}
|
||||
impl FFLTR3ENW {
|
||||
#[allow(missing_docs)]
|
||||
@ -926,7 +959,8 @@ impl<'a> _FFVALW<'a> {
|
||||
pub enum FSTATEW {
|
||||
#[doc = "FTM outputs will be placed into safe values when fault events in ongoing (defined by POL bits)."]
|
||||
_0,
|
||||
#[doc = "FTM outputs will be tri-stated when fault event is ongoing"] _1,
|
||||
#[doc = "FTM outputs will be tri-stated when fault event is ongoing"]
|
||||
_1,
|
||||
}
|
||||
impl FSTATEW {
|
||||
#[allow(missing_docs)]
|
||||
|
Reference in New Issue
Block a user