Ran with svd2rust 0.12.0

This commit is contained in:
Kjetil Kjeka
2018-02-06 15:15:10 +01:00
parent 60604bcb5d
commit dd21201e79
801 changed files with 38573 additions and 19346 deletions

View File

@ -45,8 +45,10 @@ impl super::CR {
#[doc = "Possible values of the field `MEN`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum MENR {
#[doc = "Module is disabled."] _0,
#[doc = "Module is enabled."] _1,
#[doc = "Module is disabled."]
_0,
#[doc = "Module is enabled."]
_1,
}
impl MENR {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -90,8 +92,10 @@ impl MENR {
#[doc = "Possible values of the field `RST`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RSTR {
#[doc = "Master logic is not reset."] _0,
#[doc = "Master logic is reset."] _1,
#[doc = "Master logic is not reset."]
_0,
#[doc = "Master logic is reset."]
_1,
}
impl RSTR {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -135,8 +139,10 @@ impl RSTR {
#[doc = "Possible values of the field `DOZEN`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum DOZENR {
#[doc = "Module is enabled in Doze mode."] _0,
#[doc = "Module is disabled in Doze mode."] _1,
#[doc = "Module is enabled in Doze mode."]
_0,
#[doc = "Module is disabled in Doze mode."]
_1,
}
impl DOZENR {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -180,8 +186,10 @@ impl DOZENR {
#[doc = "Possible values of the field `DBGEN`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum DBGENR {
#[doc = "Module is disabled in debug mode."] _0,
#[doc = "Module is enabled in debug mode."] _1,
#[doc = "Module is disabled in debug mode."]
_0,
#[doc = "Module is enabled in debug mode."]
_1,
}
impl DBGENR {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -224,8 +232,10 @@ impl DBGENR {
}
#[doc = "Values that can be written to the field `MEN`"]
pub enum MENW {
#[doc = "Module is disabled."] _0,
#[doc = "Module is enabled."] _1,
#[doc = "Module is disabled."]
_0,
#[doc = "Module is enabled."]
_1,
}
impl MENW {
#[allow(missing_docs)]
@ -280,8 +290,10 @@ impl<'a> _MENW<'a> {
}
#[doc = "Values that can be written to the field `RST`"]
pub enum RSTW {
#[doc = "Master logic is not reset."] _0,
#[doc = "Master logic is reset."] _1,
#[doc = "Master logic is not reset."]
_0,
#[doc = "Master logic is reset."]
_1,
}
impl RSTW {
#[allow(missing_docs)]
@ -336,8 +348,10 @@ impl<'a> _RSTW<'a> {
}
#[doc = "Values that can be written to the field `DOZEN`"]
pub enum DOZENW {
#[doc = "Module is enabled in Doze mode."] _0,
#[doc = "Module is disabled in Doze mode."] _1,
#[doc = "Module is enabled in Doze mode."]
_0,
#[doc = "Module is disabled in Doze mode."]
_1,
}
impl DOZENW {
#[allow(missing_docs)]
@ -392,8 +406,10 @@ impl<'a> _DOZENW<'a> {
}
#[doc = "Values that can be written to the field `DBGEN`"]
pub enum DBGENW {
#[doc = "Module is disabled in debug mode."] _0,
#[doc = "Module is enabled in debug mode."] _1,
#[doc = "Module is disabled in debug mode."]
_0,
#[doc = "Module is enabled in debug mode."]
_1,
}
impl DBGENW {
#[allow(missing_docs)]
@ -448,8 +464,10 @@ impl<'a> _DBGENW<'a> {
}
#[doc = "Values that can be written to the field `RTF`"]
pub enum RTFW {
#[doc = "No effect."] _0,
#[doc = "Transmit FIFO is reset."] _1,
#[doc = "No effect."]
_0,
#[doc = "Transmit FIFO is reset."]
_1,
}
impl RTFW {
#[allow(missing_docs)]
@ -504,8 +522,10 @@ impl<'a> _RTFW<'a> {
}
#[doc = "Values that can be written to the field `RRF`"]
pub enum RRFW {
#[doc = "No effect."] _0,
#[doc = "Receive FIFO is reset."] _1,
#[doc = "No effect."]
_0,
#[doc = "Receive FIFO is reset."]
_1,
}
impl RRFW {
#[allow(missing_docs)]